- fixing a possible error in the Subtract Plugin: trying to remove the aperture with id: 0 will create an exception if this aperture does not exist
This commit is contained in:
@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
18.10.2021
|
||||||
|
|
||||||
|
- fixing a possible error in the Subtract Plugin: trying to remove the aperture with id: 0 will create an exception if this aperture does not exist
|
||||||
|
|
||||||
15.10.2021
|
15.10.2021
|
||||||
|
|
||||||
- added an ugly form of extra pad passes functionality in Isolation Plugin - does not take into consideration the milling direction
|
- added an ugly form of extra pad passes functionality in Isolation Plugin - does not take into consideration the milling direction
|
||||||
|
|||||||
@@ -448,7 +448,7 @@ class ToolSub(AppTool):
|
|||||||
grb_obj.tools.pop(apid, None)
|
grb_obj.tools.pop(apid, None)
|
||||||
|
|
||||||
# delete the 0 aperture if it has no geometry
|
# delete the 0 aperture if it has no geometry
|
||||||
if not grb_obj.tools[0]['geometry']:
|
if 0 in grb_obj.tools and not grb_obj.tools[0]['geometry']:
|
||||||
grb_obj.tools.pop(0, None)
|
grb_obj.tools.pop(0, None)
|
||||||
|
|
||||||
poly_buff = []
|
poly_buff = []
|
||||||
|
|||||||
Reference in New Issue
Block a user