• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

cad_source/H03-May-2022-266,472200,762

docs/H03-May-2022-1,6021,418

environment/H03-May-2022-6,163,0796,156,979

errors/H08-Oct-2020-438,814438,029

README.mdH A D08-Oct-20201.4 KiB4436

zcad.batH A D08-Oct-2020196 88

zcad.shH A D08-Oct-202086 53

zcadelectrotech.batH A D08-Oct-2020207 88

zcadelectrotech.shH A D08-Oct-202097 53

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