I need to save an Inkscape file as DXF for a laser cutter and a CNC router. The Inkscape manual mentions I can save a file as DXF, which I do through the GUI and it works: File
> Save As
> Desktop Plotting Cutter (AutoCAD DXF R14) (*.dxf)
. The manual also gives the example of manipulating and saving an SVG file through the command-line:
inkscape filename.svg --select=path1555 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileClose
The list of verbs in the Inkscape command-line tools has only two references to DXF inside gcode options, and none to DXF:
> inkscape --verb-list | grep -i "dxf\|autocad"
ru.cnc-club.filter.gcodetools_dxfpoints_no_options: DXF Points...
ru.cnc-club.filter.gcodetools_dxfpoints_no_options.noprefs: DXF Points (No preferences)
How can I save a file as DXF programmatically?