Hi the QCAD team,
Firstly thank you for your product and support in the forum!
We extensively use dwg2maptiles command to generate tiles from very large DWG/DXF files like 4km x 4km drawings (with -subsection option)
We found that dwg2maptiles performs much faster with exploded drawings (we saw at least 4 times faster, like from 12+ hours to 3 hours with 8 subsections, depending on drawing files) than the original files.
So we would like to explode everything before passing it to dwg2maptiles command.
However, I could not figure out how to explode drawings using command line tools. Is there a way to do this?
Regards,
Bumsik
Explode in command line
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: 8
- Joined: Fri Apr 02, 2021 2:24 am
Re: Explode in command line
No there's no command line tool like this out of the box.
You could run QCAD and execute the select all, explode and save tools like this:
This will load myfile.dxf, select all, explode and save (and overwrite!) myfile.dxf. You might want to copy myfile.dxf first to a new file.
-no-show Use but don't display GUI.
-quit Quits QCAD, for example after executing the given script(s).
You could run QCAD and execute the select all, explode and save tools like this:
Code: Select all
./qcad myfile.dxf -no-show -quit -exec scripts/Select/SelectAll/SelectAll.js -exec scripts/Modify/Explode/Explode.js -exec scripts/File/Save/Save.js
-no-show Use but don't display GUI.
-quit Quits QCAD, for example after executing the given script(s).
-
- Newbie Member
- Posts: 8
- Joined: Fri Apr 02, 2021 2:24 am
Re: Explode in command line
Thanks for reply.
So QCAD can be automated using these JS scripts. How interesting...
So QCAD can be automated using these JS scripts. How interesting...