You've already forked lazarus-ccr
Starts a fpvectorial reader
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
414
applications/fpvviewer/cube.dxf
Normal file
414
applications/fpvviewer/cube.dxf
Normal file
@ -0,0 +1,414 @@
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
HEADER
|
||||
999
|
||||
cube.dxf created by IVREAD.
|
||||
999
|
||||
Original data in cube.iv
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
TABLES
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
BLOCKS
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
ENTITIES
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
-0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
-0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
1.000
|
||||
11
|
||||
0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
0.0000E+00
|
||||
0
|
||||
LINE
|
||||
8
|
||||
0
|
||||
10
|
||||
-0.5000
|
||||
20
|
||||
0.5000
|
||||
30
|
||||
0.0000E+00
|
||||
11
|
||||
-0.5000
|
||||
21
|
||||
0.5000
|
||||
31
|
||||
1.000
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
EOF
|
8
applications/fpvviewer/fpvv_mainform.lfm
Normal file
8
applications/fpvviewer/fpvv_mainform.lfm
Normal file
@ -0,0 +1,8 @@
|
||||
object Form1: TForm1
|
||||
Left = 349
|
||||
Height = 240
|
||||
Top = 171
|
||||
Width = 320
|
||||
Caption = 'Form1'
|
||||
LCLVersion = '0.9.31'
|
||||
end
|
26
applications/fpvviewer/fpvv_mainform.pas
Normal file
26
applications/fpvviewer/fpvv_mainform.pas
Normal file
@ -0,0 +1,26 @@
|
||||
unit fpvv_mainform;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;
|
||||
|
||||
type
|
||||
TForm1 = class(TForm)
|
||||
private
|
||||
{ private declarations }
|
||||
public
|
||||
{ public declarations }
|
||||
end;
|
||||
|
||||
var
|
||||
Form1: TForm1;
|
||||
|
||||
implementation
|
||||
|
||||
{$R *.lfm}
|
||||
|
||||
end.
|
||||
|
95
applications/fpvviewer/fpvviewer.lpi
Normal file
95
applications/fpvviewer/fpvviewer.lpi
Normal file
@ -0,0 +1,95 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="9"/>
|
||||
<General>
|
||||
<MainUnit Value="0"/>
|
||||
<ResourceType Value="res"/>
|
||||
<UseXPManifest Value="True"/>
|
||||
<Icon Value="0"/>
|
||||
<ActiveWindowIndexAtStart Value="0"/>
|
||||
</General>
|
||||
<i18n>
|
||||
<EnableI18N LFM="False"/>
|
||||
</i18n>
|
||||
<VersionInfo>
|
||||
<StringTable ProductVersion=""/>
|
||||
</VersionInfo>
|
||||
<BuildModes Count="1" Active="Default">
|
||||
<Item1 Name="Default" Default="True"/>
|
||||
</BuildModes>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
|
||||
<ExcludeFileFilter Value="*.(bak|ppu|o|so);*~;backup"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<LaunchingApplication PathPlusParams="/usr/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="1">
|
||||
<Item1>
|
||||
<PackageName Value="LCL"/>
|
||||
</Item1>
|
||||
</RequiredPackages>
|
||||
<Units Count="2">
|
||||
<Unit0>
|
||||
<Filename Value="fpvviewer.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="fpvviewer"/>
|
||||
<UsageCount Value="20"/>
|
||||
</Unit0>
|
||||
<Unit1>
|
||||
<Filename Value="fpvv_mainform.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<ComponentName Value="Form1"/>
|
||||
<ResourceBaseClass Value="Form"/>
|
||||
<UnitName Value="fpvv_mainform"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<EditorIndex Value="0"/>
|
||||
<WindowIndex Value="0"/>
|
||||
<TopLine Value="1"/>
|
||||
<CursorPos X="1" Y="1"/>
|
||||
<UsageCount Value="20"/>
|
||||
<Loaded Value="True"/>
|
||||
<LoadedDesigner Value="True"/>
|
||||
</Unit1>
|
||||
</Units>
|
||||
<JumpHistory Count="0" HistoryIndex="-1"/>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="9"/>
|
||||
<Target>
|
||||
<Filename Value="fpvviewer"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Linking>
|
||||
<Options>
|
||||
<Win32>
|
||||
<GraphicApplication Value="True"/>
|
||||
</Win32>
|
||||
</Options>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions Count="3">
|
||||
<Item1>
|
||||
<Name Value="EAbort"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<Name Value="ECodetoolError"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<Name Value="EFOpenError"/>
|
||||
</Item3>
|
||||
</Exceptions>
|
||||
</Debugging>
|
||||
</CONFIG>
|
20
applications/fpvviewer/fpvviewer.lpr
Normal file
20
applications/fpvviewer/fpvviewer.lpr
Normal file
@ -0,0 +1,20 @@
|
||||
program fpvviewer;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
uses
|
||||
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
||||
cthreads,
|
||||
{$ENDIF}{$ENDIF}
|
||||
Interfaces, // this includes the LCL widgetset
|
||||
Forms, fpvv_mainform
|
||||
{ you can add units after this };
|
||||
|
||||
{$R *.res}
|
||||
|
||||
begin
|
||||
Application.Initialize;
|
||||
Application.CreateForm(TForm1, Form1);
|
||||
Application.Run;
|
||||
end.
|
||||
|
Reference in New Issue
Block a user