QCad 3.1 on Intel Mac OS X

QCad3.png

Still using QCad to view and edit Autocad DXF files. Finally upgraded from the Qt3 version, QCad 2, to the 2012 QCad 3.1 beta which makes use of Qt4.

For an overview of all new features, see the QCad blog. New functionality I am happy with, though I do miss the old plain icons, in order of importance:

  • SVG export and import;
  • reverse line direction;
  • isometric projection.

Compilation

Building QCad from the Github source is straightforward:


git clone git://github.com/qcad/qcad.git qcad
cd qcad
qmake
make
doxygen # optionally generate developer documentation

Qt4 was installed with Macports qt4-mac package:

# QMake version 2.01a
# Using Qt version 4.8.4 in /opt/local/lib

In addition, for the library browser to work, Macports package qt4-mac-sqlite3-plugin was installed.

Development

What I like best of the QCad makeover is the architecture, especially the ease with which (ECMA) scripts can be added.

An example testrun, e.g. to test your own scripts, with a dxf TestFile and the QCad scriptdebugger enabled:

export DYLD_LIBRARY_PATH="<yourPath>/qcad/release:$DYLD_LIBRARY_PATH";
cd qcad/release/QCad.app/Contents/MacOS
./QCAD
-always-load-scripts
-enable-script-debugger
<pathToYourTestFile>

Run QCAD -help for a list of all command-line options.

The adventurous developer can find more info in Ribbonsoft’s
QCad forum.