What does the merge request do?
Close #443 (closed)
The base scale of dxf documents is mm, so we handle everything as if the viewport was transformed into mm (i.e. divide the scale by mm/px).
In general, documents based on physical units behave intuitively. 1in in an inch-based document renders as 1in in Fusion.
For px based documents, the length of objects in Fusion is the same as with any tool in Inkscape set to mm.
Output of both changed unit tests is correct in Autodesk Fusion.
Summary for release notes
The DXF12 export now exports documents with a scale different from 1 correctly.
Add unit tests (if applicable)
inkex/are well documented
Clean merge request history