Comment 32 for bug 1643383

Revision history for this message
Laurence Gonsalves (laurence-xenomachina) wrote :

Ok, I searched and the only dxf_outlines.py on my machine is /usr/share/inkscape/extensions/dxf_outlines.py

That file comes from the PPA package. I just checked, and it is the same as the dxf_outlines.py in the latest release source tarball on inkscape.org (except the shebang line). It is, however, several versions older than the latest version in the repo you linked to.

I tried replacing it as you suggested. I restarted Inkscape and tried the test with the 100mm100mm.svg you uploaded earlier. Even with the latest dxf_outlines.py I still get 106.667mm when I export and re-import the DXF. (I'm turning off the stroke when measuring this, which I believe should avoid the visual bbox vs geometric bbox issue -- please correct me if I'm wrong.) I've attached the resulting DXF. It's very slightly different from what I was getting before, but by less than a thousandth of a mm.

To verify that that really is the dxf_outlines.py being executed, I inserted a `raise` statement near the top, and confirmed that the exception is thrown when I attempt to save a DXF. Inkscape displays a dialog with the stacktrace.

You mentioned DPI earlier on -- just to sanity check, is DXF export influenced by my machine's DPI setting?