Bug#895865: dxf2gcode: Infinite spin attempting to load DXF file

Paul "LeoNerd" Evans leonerd at leonerd.org.uk
Wed Apr 18 11:24:19 BST 2018


retitle 895865 dxf2gcode: Very slow loading DXF file

On Tue, 17 Apr 2018 13:13:53 -0600
Sebastian Kuzminsky <seb at highlab.com> wrote:

> I can't reproduce this bug with the attached DXF file.  When I run 
> "dxf2gcode top.dxf" it thinks about it for about 17 seconds, then
> loads successfully.  This is on a fairly beefy amd64 machine with
> lots of CPUs and RAM, and a max clock frequency of 3.5 GHz.
> 
> After loading the file, dxf2gcode does pop up a warning window that
> says "Length of some Elements too short!  Length must be greater than 
> tolerance.  Skipped Geometries"
> 
> Please try giving it more time to finish and see if that makes it
> load the file successfully.

Ah; indeed. My i7-2620 @ 2.7GHz took about 25 seconds but did indeed
successfully load it in the end.

Given as the layout only contains 68 circular holes (64 in an 8x8 grid
plus 4 others), this feels like an inordinately long time though. It
still seems like a bug somehow - but I wonder if in fact the bug is in
Inkscape, for having generated such a large (in term of bytes) DXF file
containing so many tiny arc segments, for such a simple geometry.

In case it would help to compare, attached now is also the original SVG
file I made in Inkscape. I used "Save As" to export an R14 DXF file.

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: top.svg
Type: image/svg+xml
Size: 54560 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180418/07f4e901/attachment-0001.svg>


More information about the debian-science-maintainers mailing list