Skip to content

Fix offset inserting flipped and rotated blocks, support global linetype scaling

What does the merge request do?

Fix dxf import of inserted blocks that have been rotated and flipped. Adds support for global linetype scaling ($LTSCALE)

Implementation notes

Credit to nomura #392 (comment 825751125), reviewed by me, also added inkex transforms per @doctormo's review

Summary for release notes

Fix dxf import of inserted blocks that have been rotated and flipped. Adds support for global linetype (dash) scaling ($LTSCALE)

^ I'm not sure how to summarise inserted blocks in a way dxf users will know? They are called blocks in LibreCAD and the dxf specs and I don't use dxf myself so I don't know what else to call it.

Linetype relates to the scaling of dashes, but it's called linetype in LibreCAD too. No idea how to adjust LTSCALE in LibreCAD

Checklist

  • Add unit tests (if applicable)
  • Changes to inkex/ are well documented (no changes)
  • Clean merge request history (single commit)
Edited by Nathan Lee

Merge request reports