- Cutout Tool - fixed generation of rectangular geometry if the selected gaps is "None"
This commit is contained in:
committed by
Marius Stanciu
parent
66933ae172
commit
ad5ae43ab4
@@ -22,6 +22,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
- Punch Gerber Tool - made sure that Select All/Deselect All in Manual mode is actually selecting pads not only visually
|
- Punch Gerber Tool - made sure that Select All/Deselect All in Manual mode is actually selecting pads not only visually
|
||||||
- Punch Gerber Tool - finished manual mode for "Excellon" method
|
- Punch Gerber Tool - finished manual mode for "Excellon" method
|
||||||
- Punch Gerber Tool - finished manual mode for all methods
|
- Punch Gerber Tool - finished manual mode for all methods
|
||||||
|
- Cutout Tool - fixed generation of rectangular geometry if the selected gaps is "None"
|
||||||
|
|
||||||
20.11.2020
|
20.11.2020
|
||||||
|
|
||||||
|
|||||||
@@ -840,7 +840,11 @@ class CutOut(AppTool):
|
|||||||
self.app.inform.emit('[ERROR_NOTCL] %s' % _("Failed."))
|
self.app.inform.emit('[ERROR_NOTCL] %s' % _("Failed."))
|
||||||
return "fail"
|
return "fail"
|
||||||
|
|
||||||
solid_geo = linemerge(solid_geo)
|
try:
|
||||||
|
solid_geo = linemerge(solid_geo)
|
||||||
|
except Exception:
|
||||||
|
# there ar enot lines but polygons
|
||||||
|
pass
|
||||||
|
|
||||||
if has_mouse_bites is True:
|
if has_mouse_bites is True:
|
||||||
gapsize -= dia / 2
|
gapsize -= dia / 2
|
||||||
@@ -1190,7 +1194,11 @@ class CutOut(AppTool):
|
|||||||
app_obj.inform.emit('[ERROR_NOTCL] %s' % _("Failed."))
|
app_obj.inform.emit('[ERROR_NOTCL] %s' % _("Failed."))
|
||||||
return "fail"
|
return "fail"
|
||||||
|
|
||||||
solid_geo = linemerge(solid_geo)
|
try:
|
||||||
|
solid_geo = linemerge(solid_geo)
|
||||||
|
except Exception:
|
||||||
|
# there are not lines but polygon
|
||||||
|
pass
|
||||||
|
|
||||||
if has_mouse_bites is True:
|
if has_mouse_bites is True:
|
||||||
gapsize -= dia / 2
|
gapsize -= dia / 2
|
||||||
|
|||||||
Reference in New Issue
Block a user