Command Line Tools under macOS

Tips and tricks you want to share with other users. Tutorials, user submitted documentation, etc.

Moderator: andrew

Post Reply
User avatar
andrew
Site Admin
Posts: 5335
Joined: Fri Mar 30, 2007 6:07 am

Command Line Tools under macOS

Post by andrew » Thu Apr 27, 2017 1:28 pm

Under Mac OS X, applications are bundled into so called Application Bundles. In the case of QCAD Professional, the application bundle is called "QCAD-Pro.app".

The command line tools of QCAD are located inside the application bundle under "Contents/Resources".

If you have installed QCAD Professional into your application folder, you can start the QCAD command line tools or start QCAD from the command line as follows:

- Open the Terminal application
- Change into the /Application folder

Code: Select all

cd /Applications
- Change into the QCAD-Pro application bundle:

Code: Select all

cd QCAD-Pro.app/Contents/Resources
- Launch the command line tool, for example:

Code: Select all

./dwg2maptiles -o ~/Desktop/flange ./examples/flange.dxf
- Or launch QCAD:

Code: Select all

./qcad
More information about the QCAD command line tools is available on our web site at:
http://www.qcad.org/en/qcad-documentati ... line-tools

Post Reply

Return to “QCAD Tips and Tutorials”