DXF export scaling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Saving as "Desktop Cutting Plotter (AutoCAD DXF R14) (*.dxf)" seems to scale up the drawing by about 6%.
To reproduce:
1. Create a new drawing.
2. In Document Properties set the page size to something other than A4, and set the units to mm. (I don't know if either of these are necessary to reproduce)
3. Draw a 100x100mm rectangle.
4. Save a copy. Choose "Desktop Cutting Plotter (AutoCAD DXF R14) (*.dxf)" as the format. Disable "use ROBO-Master" and "use LWPOLYLINE" (though I don't think either setting matters). Set Base unit to mm.
5. Import the exported DXF into the same drawing. Disable "Use automatic scaling to size A4", and set manual scale factor to 1.0. Note that the imported rectangle is now 106.371mm on each side.
To narrow down whether this was an import or export problem, I tried loading the DXF into OpenSCAD. OpenSCAD also shows the rectangle as being 106.371mm on each side, so it seems that the exported DXF has the wrong size, which suggests that import is fine, but export is scaling things.
tags: | added: dxf exporting importing units |
Changed in inkscape: | |
status: | Triaged → Incomplete |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Reproduced on Xubuntu 16.04, Inkscape 0.91.
Also reproduced with lp:inkscape/0.92.x rev. 15207, but with a different result. The exported rectangle is now 99.729mm on each size. It's a bit better, but it's still not exactly the correct value.