Dxf Export - Random intersect lines

Bug #1429184 reported by Eric on 2015-03-06
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Alvin Penner

Bug Description

I am running newest version of Inkscape 0.91 w/Windows 7. I open up bitmap and use the "Trace Bitmap" feature. Inkscape produces a good copy. I then export DXF. When I open up the DXF in a CAD software, the dxf has random intersect lines that are attached to sharp angled nodes. I attached a JPEG as an example of what is happening. When I "Trace Bitmap" and then "Simplify", then the random lines disappear, but then I have less detail of the traced image when importing into CAD program.

Eric (eric-buchanan) wrote :
su_v (suv-lp) wrote :

Please also attach the original Inkscape SVG file and the exported DXF file to the bug report to allow further investigation. A screenshot of the DXF export options dialog might also be helpful.

tags: added: dxf exporting
Changed in inkscape:
status: New → Incomplete
Eric (eric-buchanan) wrote :
Eric (eric-buchanan) wrote :
Eric (eric-buchanan) wrote :
Eric (eric-buchanan) wrote :
su_v (suv-lp) wrote :

Attaching SVG file with bitmap trace (not simplified) created using 0.91 r13725 on OS X for convenience, and in order to have a test case available which can be used on other systems.

What about the DXF export options?
(works for me with 0.91 r13725 on OS X 10.7.5 if I uncheck '[ ] use LWPOLYLINE type of line output' on DXF export.)

Changed in inkscape:
status: Incomplete → New
Eric (eric-buchanan) wrote :

I did have LWPOLYLINE checked on the original problem request. I uncheck LWPOLYLINE and was successful in opening DXF into CAD without any extra polylines. Thank you

Alvin Penner (apenner) wrote :

fix committed to rev 13980.
this fixes an incorrect implementation of a closed flag on LWPOLYLINE that was introduced in rev 12033, for Bug 1098283. The LWPOLYLINE output should now render the same as the old-style LINE element. This can be used by downloading dxf_outlines.py and dxf_outllines.inx from:

just a word of warning, though, the new version uses a standard Inkscape resolution of 96dpi, not 90dpi.

Changed in inkscape:
status: New → Fix Committed
assignee: nobody → Alvin Penner (apenner)
su_v (suv-lp) on 2015-03-09
Changed in inkscape:
milestone: none → 0.92
tags: added: backport-proposed
su_v (suv-lp) on 2015-03-13
Changed in inkscape:
importance: Undecided → Low
ScislaC (scislac) wrote :

Backported to 0.91.x in r13738.

tags: removed: backport-proposed
su_v (suv-lp) on 2015-03-19
Changed in inkscape:
milestone: 0.92 → 0.91.1
jazzynico (jazzynico) on 2017-01-28
Changed in inkscape:
milestone: 0.91.1 → 0.92
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers