I use a custom JS file to convert DWG/DXF files to PNG via the command line
Posted: Mon Jun 16, 2025 10:12 am
I use a custom JS file to convert DWG/DXF files to PNG via the command line:
qcadcmd.com -platform offscreen -no-gui -autostart scripts/dwg2png.js -input input.dwg -output output.png 2>error.log
The JS file can be loaded and executed, but the conversion to PNG did not succeed.
Additionally, how to suppress debug messages in the console output and keep only errors?
Environment
Windows10
Qcad 3.23.3 pro
qcadcmd.com -platform offscreen -no-gui -autostart scripts/dwg2png.js -input input.dwg -output output.png 2>error.log
The JS file can be loaded and executed, but the conversion to PNG did not succeed.
Additionally, how to suppress debug messages in the console output and keep only errors?
Environment
Windows10
Qcad 3.23.3 pro