Hi,
I'm a QCAD Pro user with such an installation on my windows system. I would like to use the batch command line tool dwg2svg.bat but I don't have the scripts\Pro\Tools\Dwg2Svg\ directory in my installation in this version .
Where could I find this add on ?
Thank you,
best regards,
Sebastien.
dwg2svg.bat on win64 3.22.1 version
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: 4
- Joined: Wed Sep 04, 2019 5:37 pm
Re: dwg2svg.bat on win64 3.22.1 version
Hi,
You'll find it in the main qcad folder below C:\Program Files\qcad-3.23.0-pro-win64
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: dwg2svg.bat on win64 3.22.1 version
These files are compiled into plugins (DLLs) and loaded at start.sschneider wrote: ↑Wed Sep 04, 2019 5:42 pmI don't have the scripts\Pro\Tools\Dwg2Svg\ directory in my installation
-
- Newbie Member
- Posts: 4
- Joined: Wed Sep 04, 2019 5:37 pm
Re: dwg2svg.bat on win64 3.22.1 version
Ok, thank you very much, setting the path fix the problem and I can now launch the batch file to convert my file.
However, I would like to change some options used for the convert process, or update the dwg2svg code to add features, this script is not in the qlab github repository. Do you know if it's possible to find the source code for these Pro/Tools ECMAScripts somewhere ?
Thank you !
Sebastien
However, I would like to change some options used for the convert process, or update the dwg2svg code to add features, this script is not in the qlab github repository. Do you know if it's possible to find the source code for these Pro/Tools ECMAScripts somewhere ?
Thank you !
Sebastien
Re: dwg2svg.bat on win64 3.22.1 version
No, these command line tools are not open source. It would also very likely be of little help since Dwg2Svg.js only handles the command line arguments (user input). The actual SVG export is done in separate SVG exporter scripts (all part of QCAD Professional, proprietary). Can you provide more details as to what kind of options or features you are trying to add?
-
- Newbie Member
- Posts: 4
- Joined: Wed Sep 04, 2019 5:37 pm
Re: dwg2svg.bat on win64 3.22.1 version
Ok thank you Andrew,
for instance I would like to set the same kind of options as the one we have in the UI in the advanced SVG export, for instance export dot as circle (or cross) and specify the circle radius (or cross size).
In the Dwg2Svg process, I loose the DXF dot data..
thank you again for your support and your help
kind regards,
Sebastien.
for instance I would like to set the same kind of options as the one we have in the UI in the advanced SVG export, for instance export dot as circle (or cross) and specify the circle radius (or cross size).
In the Dwg2Svg process, I loose the DXF dot data..
thank you again for your support and your help
kind regards,
Sebastien.
Re: dwg2svg.bat on win64 3.22.1 version
You can use the command line switches:sschneider wrote: ↑Thu Sep 05, 2019 2:59 pmexport dot as circle (or cross) and specify the circle radius (or cross size).
Code: Select all
-circle=CR
Code: Select all
-cross=CS
Please refer also to the usage information (dwg2svg.bat -h) or online at:
https://qcad.org/en/products/qcad-comma ... ls#dwg2svg
-
- Newbie Member
- Posts: 4
- Joined: Wed Sep 04, 2019 5:37 pm
Re: dwg2svg.bat on win64 3.22.1 version
Oh.... thank you Andrew for your time,
and sorry for not having read the documentation before, I'll try to do better next time !
Kind regards
and sorry for not having read the documentation before, I'll try to do better next time !
Kind regards