dwg2maptiles on OSX

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
nigeSeeable
Registered Member
Posts: 2
Joined: Fri Oct 16, 2015 2:03 pm

dwg2maptiles on OSX

Post by nigeSeeable » Fri Oct 16, 2015 2:19 pm

Hi all, I have just purchased QCad pro in order to use the 'dwg2maptiles' tool - however I am unable to figure out how to use this tool on my mac.
I have tried cd-ing to the installation on my mac's terminal and running

Code: Select all

./dwg2maptiles -h
for starters but (probably obviously to those in the know :oops:) this hasn't worked and despite much searching and looking both on this forum and through google I have hit a brick wall. :!:
I have searched the forum but everyone else seems to know what they are doing and so don't need to ask how to use these command line tools :wink:

I am using QCad Professional 3.11.3.0 on the latest OSX (el capitan).

Any help in this matter would be brilliant. Thanks in advance

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

Re: dwg2maptiles on OSX

Post by andrew » Fri Oct 16, 2015 2:36 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, proceed 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
This creates a folder called "flange" on your desktop with the rendered map data of the QCAD example file /Applications/QCAD-Pro/Contents/Resources/examples/flange.dxf

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

nigeSeeable
Registered Member
Posts: 2
Joined: Fri Oct 16, 2015 2:03 pm

Re: dwg2maptiles on OSX

Post by nigeSeeable » Fri Oct 16, 2015 3:21 pm

Thank you Andrew - perfect

Post Reply

Return to “QCAD 'How Do I' Questions”