- CutOut Plugin - fixed the manual adding of gaps
This commit is contained in:
@@ -7,6 +7,10 @@ CHANGELOG for FlatCAM Evo beta
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
19.05.2023
|
||||||
|
|
||||||
|
- CutOut Plugin - fixed the manual adding of gaps
|
||||||
|
|
||||||
17.05.2023
|
17.05.2023
|
||||||
|
|
||||||
- Thieving Plugin: fixed errors due of changes in the Shapely module
|
- Thieving Plugin: fixed errors due of changes in the Shapely module
|
||||||
|
|||||||
@@ -1669,7 +1669,7 @@ class CutOut(AppTool):
|
|||||||
self.mb_manual_cuts.append(rests_geo)
|
self.mb_manual_cuts.append(rests_geo)
|
||||||
|
|
||||||
# first subtract geometry for the total solid_geometry
|
# first subtract geometry for the total solid_geometry
|
||||||
new_solid_geometry = CutOut.subtract_geo(self.man_cutout_obj.solid_geometry, cut_poly)
|
new_solid_geometry = self.subtract_geo(self.man_cutout_obj.solid_geometry, cut_poly)
|
||||||
try:
|
try:
|
||||||
new_solid_geometry = linemerge(new_solid_geometry)
|
new_solid_geometry = linemerge(new_solid_geometry)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
@@ -2176,7 +2176,7 @@ class CutOut(AppTool):
|
|||||||
|
|
||||||
Results are placed in self.flat_geometry
|
Results are placed in self.flat_geometry
|
||||||
|
|
||||||
:param geometry: Shapely type or list or list of list of such.
|
:param geometry: Shapely type or list or a list of lists of such.
|
||||||
"""
|
"""
|
||||||
flat_geo = []
|
flat_geo = []
|
||||||
work_geo = geometry.geoms if isinstance(geometry, (MultiPolygon, MultiLineString)) else geometry
|
work_geo = geometry.geoms if isinstance(geometry, (MultiPolygon, MultiLineString)) else geometry
|
||||||
|
|||||||
Reference in New Issue
Block a user