I have just purchased QCAD professional and i'm trying the use the command line tools (dwg2maptiles) but it's not working. I can see the command line scripts are trying to use script that are in the 'scripts/Pro/Tools/' folder. When I open '/Applications/QCAD-Pro.app/Contents/Resources/scripts' there is only a readme and examples folder, but no 'Pro' folder. How do I get all the scripts?
I downloaded 'QCAD Professional macOS' from the 'QCAD 3.21.3 for macOS' folder on my order page.
[solved] Command line tools missing
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Newbie Member
- Posts: 3
- Joined: Thu Nov 08, 2018 1:04 pm
Re: Command line tools missing
The scripts are not the problem (these are compiled in).
Can you be more specific in describing your problem? How do you start the tool? What arguments are you passing along? Any errors, warnings? Etc.
Can you be more specific in describing your problem? How do you start the tool? What arguments are you passing along? Any errors, warnings? Etc.
-
- Newbie Member
- Posts: 3
- Joined: Thu Nov 08, 2018 1:04 pm
Re: Command line tools missing
Hi Andrew, thanks for the quick reply!
This is what I do:
See screenshot:
https://ibb.co/crNZ7q
This is what I do:
- Open Terminal
- $ cd to /Applications/QCAD-Pro.app/Contents/Resources
- $ ./dwg2maptiles /Users/[USERNAME]/Desktop/Vervanging-OVL-2017-V7-09-02-2018.dwg
See screenshot:
https://ibb.co/crNZ7q
Re: Command line tools missing
I can confirm that there is a problem with the command line tool deployment in two of the macOS packages. Namely, the "qcad" script which launches QCAD for the command line tools is empty.
1. Please replace the file "/Applications/QCAD-Pro.app/Contents/Resources/qcad" with the file "qcad" contained in the attached ZIP archive.
2. Make sure that the file "qcad" is executable:
chmod a+x qcad
3. Launch dwg2maptiles with the -z argument to indicate the Z levels to generate, for example:
./dwg2maptiles -z 4 /Users/[USERNAME]/Desktop/Vervanging-OVL-2017-V7-09-02-2018.dwg
1. Please replace the file "/Applications/QCAD-Pro.app/Contents/Resources/qcad" with the file "qcad" contained in the attached ZIP archive.
2. Make sure that the file "qcad" is executable:
chmod a+x qcad
3. Launch dwg2maptiles with the -z argument to indicate the Z levels to generate, for example:
./dwg2maptiles -z 4 /Users/[USERNAME]/Desktop/Vervanging-OVL-2017-V7-09-02-2018.dwg
- Attachments
-
- qcad.zip
- (384 Bytes) Downloaded 270 times
-
- Newbie Member
- Posts: 3
- Joined: Thu Nov 08, 2018 1:04 pm
Re: Command line tools missing
That works! Thanks a lot. Awesome tool to create maptiles from DWG files.
Re: Command line tools missing
Great, thanks for letting me know and thanks for the feedback.