DXF r14 export contains far too many entities
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned | ||
inkscape (Debian) |
Confirmed
|
Unknown
|
Bug Description
Originally reported in Debian, https:/
Version: 0.92.3
I have a simple SVG file containing only a few circular shapes, which I
am attempting to export as DXF as part of a CNC milling process.
Inkscape creates a DXF file containing many thousands of tiny entities
for this, far more than would be required to actually represent the
shapes. This causes dxf2gcode to get upset trying to load it.
(see https:/
I suspect what may be happening is it has far too small a tolerance for
how to cut paths up.
Attached is both the .svg source and the exported .dxf.
For comparison, attached here is the DXF output created by
https:/
containing far fewer elements, which dxf2gcode is quite happy to load.
Changed in inkscape (Debian): | |
status: | Unknown → Confirmed |
not sure what is meant by the phrase:
" DXF file containing many thousands of tiny entities"
- the original svg file consists primarily of 64 circles.
- the file top.dxf consists primarily of 512 cubic splines. That means that each circle has been converted into 8 splines. This is admittedly more than necessary. 4 splines might have been sufficient. But this is not "thousands" of objects.
- the file 'top-from- cloudconvert. dxf' consists of about 25 straight lines per circle, for a total of 1600 straight lines.
the fundamental difference between these two files is that the Inkscape file uses splines instead of straight lines. I suspect that some intermediate software, not Inkscape, is probably converting the splines into 'thousands' of objects. You might want to experiment by sending a single large spline to your plotter to see how many objects you get from it.