[dxf export] add support for basic SVG shapes like <rect>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Alvin Penner |
Bug Description
Follow-up report to Bug #656899 “DXF import/export empty”
<https:/
It seems that DXF export fails to support the rectangle shapes because Inkscape doesn't add the (redundant) 'd' path attribute like it does for the other parametrized shapes - the 'd' attribute is not needed because Inkscape uses the basic SVG shape for rectangles [1]. DXF export should not require rectangles to be converted to paths before export and instead directly parse the <rect> object.
Inkscape rectangle:
<rect
width="130"
height="90"
x="20"
y="20" />
Example from the SVG spec:
<rect x="400" y="100" width="400" height="200"
summary: |
- [dxf import] add support for basic SVG shapes like <rect> + [dxf export] add support for basic SVG shapes like <rect> |
Changed in inkscape: | |
milestone: | none → 0.49 |
tags: | added: backport-proposed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
attached is a modified version of the file dxf_outlines.py, which will support the <rect> element.