How do we use the command line script dwgnest? I keep getting errors with this command: ./dwgnest -o nest.dxf -s sheet_layer -p cutting_layer. OS is mac, QCAD/CAM Pro version 3.27.6.0 (3.27.6)
Warning: collision with object of type: 22
Warning: RScriptHandlerEcma::eval: script engine exception: "TypeError: Result of expression 'strArg' [undefined] is not an object."
Warning: "getLayerNamesFromString(doc = RDocument(0x6000036b89b0), strArg = undefined) at :scripts/Pro/Tools/common.js:24\nmain() at :scripts/Nest/Tools/DwgNest/DwgNest.js:107\n<global>() at :scripts/Nest/Tools/DwgNest/DwgNest.js:165"
Warning: At least one uncaught exception:
Warning: "getLayerNamesFromString(doc = RDocument(0x6000036b89b0), strArg = undefined) at :scripts/Pro/Tools/common.js:24\nmain() at :scripts/Nest/Tools/DwgNest/DwgNest.js:107\n<global>() at :scripts/Nest/Tools/DwgNest/DwgNest.js:165"
17:26:30: Debug: "<global>() at 24"
Nesting on 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.
Re: Nesting on command line
You would also need to specify an input file, e.g.:
Code: Select all
./dwgnest -o output.dxf -s sheet_layer -p cutting_layer input.dxf
https://www.qcad.org/en/products/qcad-c ... (QCAD/CAM)