Using Cut Path in an editing session causes FlatCAM to crash when closing the object editor
If I use Cut Path in an object editing session more than once (like multiple cuts on the same path), FlatCAM will crash when I close the editor.
Repro steps:
Load the attached gerber file (generated by Eagle).
Generate isolation geometry (also in attached DXF file).
Start the Object Editor
Create a Rectangle over the path in the lower right corner as shown in CutPath_Crash_01.png
Select the Path and the rectangle as shown in CutPath_Crash_02.png
Use the Cut Path function
Delete the rectangle
Create a closed polygon around the orphans of the path as shown in CutPath_Crash_03.png
Use the Cut Path function
Delete the closed polygon.
Close Editing and say yes to save.
Computer Info:
Windows 10 64 Pro
NVidia RTX2070 Driver version 442.19
Comments (3)
-
-
- changed status to resolved
Fixed in my private working copy. Fix will be available in FlatCAM beta 8.992.
-
- fixed issue
#386- multiple Cut operation on a edited object created a crash due of the bounds() method
→ <<cset 139baaff6468>>
- fixed issue
- Log in to comment
Hi,
Thanks for the report.
Issue is for FlatCAM beta.
The problem appeared due of some of the geometric elements in the edited object solid_geometry being geometry collections and that crashed the edited_object.bounds() method.
Issue fixed in my working copy. Fix will be available in the next version of FlatCAM beta 8.992.