Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.36 KB

README.md

File metadata and controls

42 lines (35 loc) · 1.36 KB

ZCAD

→ Download ←

Overview

ZCAD is simple CAD program, written in Lazarus / FPC.

License: mLGPLv2

Features:

  • Fast OpenGL rendering
  • Fast GDI rendering
  • Crossplatform (Windows x86/x64, Linux x86/x64 - gtk/qt)
  • DXF fileformat
  • SHX, TTF font support
  • true DXF linetypes
  • POINT, LINE, CIRCLE, POLYLINE, LWPOLYLINE, ARC, ELLIPSE, INSERT, TEXT, MTEXT, 3DFACE, SOLID, SPLINE entities support
  • Polar tracking, Object snap

ToDo:

  • Dimensional entities (partially done)
  • Line type
  • More entities
  • Separate graphics engine from the CAD implementation (partially done)
  • GDI and canvas render backends
  • DX render backend
  • Printing

Build from source

Requirements:

  • Lazarus 2.0 RC1 (or trunk)
  • FPC 3.0.4 (or trunk)

Build ZCAD:

  • install cad_sources/other/rtl-generics_for_FPC304 package to lazarus if you use fpc 3.0.4
  • install cad_sources/other/rtl-generics_dummy package to lazarus if you use trunk fpc
  • install zcad packages from 'cad_sources/components' to lazarus
  • install third party packages from 'cad_sources/other' to lazarus
  • check whether the PATH variable includes path to lazbuild binary
  • if need set PATH variable: $ export PATH="$PATH:/your/patch/to/lazarus/"
  • run $ ./zcad.sh (or zcadelectrotech.sh) file
  • open zcad.lpi in lazarus and compile