- fixed bug in camblib.clear_polygon3() which caused that some copper clearing / paintings were not complete (some polygons were not processed) when the Straight Lines method was used
- some changes in NCC Tools regarding of the clearing itself
This commit is contained in:
12
camlib.py
12
camlib.py
@@ -1027,9 +1027,15 @@ class Geometry(object):
|
||||
|
||||
# Add margin (contour) to storage
|
||||
if contour:
|
||||
geoms.insert(margin_poly.exterior)
|
||||
for ints in margin_poly.interiors:
|
||||
geoms.insert(ints)
|
||||
if isinstance(margin_poly, Polygon):
|
||||
geoms.insert(margin_poly.exterior)
|
||||
for ints in margin_poly.interiors:
|
||||
geoms.insert(ints)
|
||||
elif isinstance(margin_poly, MultiPolygon):
|
||||
for poly in margin_poly:
|
||||
geoms.insert(poly.exterior)
|
||||
for ints in poly.interiors:
|
||||
geoms.insert(ints)
|
||||
|
||||
# Optimization: Reduce lifts
|
||||
if connect:
|
||||
|
||||
Reference in New Issue
Block a user