I've tried two coming from Freecad, both saved as "Autocad dxf", one was a simple 2D fully constrained 20mm square and the other was the same thing padded to a thickness of 0.254 mm. I can try a dxf from another source if that is the problem.
Martin ________________________________ From: Sebastian Kuzminsky On 6/25/20 10:43 AM, Martin Dobbins wrote: > I'm trying to use this on Ubuntu 20.04 because I'm looking to write some g > code for a tiny (Roland) drag knife, I wanted to see how it handled corners. > > Unfortunately, while the gui will load OK when I try to load a dxf I'm > getting a runtime error: > > File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 609, in > abs_iter > raise StopIteration() > StopIteration > > The above exception was the direct cause of the following exception: > > Traceback (most recent call last): > File "/usr/bin/dxf2gcode", line 727, in open > self.load() > File "/usr/bin/dxf2gcode", line 874, in load > self.makeShapes() > File "/usr/bin/dxf2gcode", line 922, in makeShapes > self.makeEntityShapes(self.entityRoot) > File "/usr/bin/dxf2gcode", line 973, in makeEntityShapes > self.makeEntityShapes(newEntityContent, ent_geo.Layer_Nr) > File "/usr/bin/dxf2gcode", line 996, in makeEntityShapes > tmp_shape.AnalyseAndOptimize() > File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 175, > in AnalyseAndOptimize > self.setNearestStPoint(Point()) > File "/usr/lib/python3/dist-packages/dxf2gcode/core/shape.py", line 190, > in setNearestStPoint > min_geo_nr, _ = min(enumerate(self.geos.abs_iter()), > RuntimeError: generator raised StopIteration > > Any ideas for a fix? This was supposed to be a quick project. That looks like a bug in dxf2gcode. Can you post the DXF file that causes the problem? -- Sebastian Kuzminsky _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users