On 31/7/09 22:18, Tavmjong Bah wrote:
.dfx: Generic AutoCAD export failed to load (see .ai).
- missing helper_extension 'org.inkscape.output.ps'
(related bug #407215 https://bugs.launchpad.net/inkscape/+bug/407215) proposed fix: in dxf_output.inx s/org.inkscape.output.ps/org.inkscape.print.ps.cairo/
the 'AutoCAD DXF (*.dxf)'output extension is loaded and creates DXF output if pstoedit is installed, though I cannot get pstoedit to create DXF files that can be re-imported in Inkscape (on OS X 10.5.7, pstoedit 3.45).
This seems to work but it calls up the PostScript output dialog which I am not sure is the best. Qcad does read the output dxf OK. Tested on Fedora 11 with today's svn.
AFAIU pstoedit depends on the intermediary .ps format as inkscape output because it does the conversion ps->dxf. Latest version of pstoedit 3.45 is from September 2007.
Maybe the helper_extension could to be changed like the one used for the 'print preview' which doesn't prompt for PDF output options either (or does 'print preview' use Postscript output?). Using 'org.inkscape.print.ps' instead of 'org.inkscape.print.ps.cairo' doesn't work although it's defined in src/extension/extension.h.
Or there are other cross-platform converters available that can do it in one step: svg->dxf (besides Alvins enhanced dxf_outlines.py extension)?
~suv