|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| cad_source/ | H | 03-May-2022 | - | 266,472 | 200,762 |
| docs/ | H | 03-May-2022 | - | 1,602 | 1,418 |
| environment/ | H | 03-May-2022 | - | 6,163,079 | 6,156,979 |
| errors/ | H | 08-Oct-2020 | - | 438,814 | 438,029 |
| README.md | H A D | 08-Oct-2020 | 1.4 KiB | 44 | 36 |
| zcad.bat | H A D | 08-Oct-2020 | 196 | 8 | 8 |
| zcad.sh | H A D | 08-Oct-2020 | 86 | 5 | 3 |
| zcadelectrotech.bat | H A D | 08-Oct-2020 | 207 | 8 | 8 |
| zcadelectrotech.sh | H A D | 08-Oct-2020 | 97 | 5 | 3 |
README.md
1# ZCAD
2[→ Download ←](https://github.com/zamtmn/zcad/releases)
3## Overview
4ZCAD is simple CAD program, written in Lazarus / FPC.
5
6License: mLGPLv2
7
8Features:
9* Fast OpenGL rendering
10* Fast GDI rendering
11* Crossplatform (Windows x86/x64, Linux x86/x64 - gtk/qt)
12* DXF fileformat
13* SHX, TTF font support
14* true DXF linetypes
15* POINT, LINE, CIRCLE, POLYLINE, LWPOLYLINE, ARC, ELLIPSE, INSERT, TEXT, MTEXT, 3DFACE, SOLID, SPLINE entities support
16* Polar tracking, Object snap
17
18ToDo:
19* ~~Dimensional entities~~ (partially done)
20* ~~Line type~~
21* More entities
22* ~~Separate graphics engine from the CAD implementation~~ (partially done)
23* ~~GDI and canvas render backends~~
24* DX render backend
25* ~~Printing~~
26
27## Build from source
28Requirements:
29
30* **Lazarus 2.0.10 (or trunk)**
31* **FPC 3.2 (or trunk)**
32
33Build ZCAD:
34
35* install zcad packages from '**cad_sources/components**' to lazarus
36* install third party packages from '**cad_sources/other**' to lazarus:
37 * cad_source\other\AGraphLaz\lazarus\ *.lpk
38 * cad_source\other\laz.virtualtreeview_package\laz.virtualtreeview_package.lpk
39 * cad_source\other\uniqueinstance\uniqueinstance_package.lpk
40* check whether the **PATH** variable includes path to lazbuild binary
41* if need set **PATH** variable: `$ export PATH="$PATH:/your/patch/to/lazarus/"`
42* run `$ ./zcad.sh` (or zcadelectrotech.sh) file
43* open zcad.lpi in lazarus and compile
44