- fixed issue in the latest feature in NCC Tool: now it works also with reference objects made out of LineStrings (tool 'Path' in Geometry Editor)
This commit is contained in:
parent
eea66c0311
commit
4a7ff22c8e
@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
- fixed bug that created a choppy geometry for CNCJob when working in INCH
|
- fixed bug that created a choppy geometry for CNCJob when working in INCH
|
||||||
- fixed bug that did not asked the user to save the preferences after importing a new set of preferences, after the user is trying to close the Preferences tab window
|
- fixed bug that did not asked the user to save the preferences after importing a new set of preferences, after the user is trying to close the Preferences tab window
|
||||||
- added new feature in NCC Tool: now another object can be used as reference for the area extent to be cleared of copper
|
- added new feature in NCC Tool: now another object can be used as reference for the area extent to be cleared of copper
|
||||||
|
- fixed issue in the latest feature in NCC Tool: now it works also with reference objects made out of LineStrings (tool 'Path' in Geometry Editor)
|
||||||
|
|
||||||
7.09.2019
|
7.09.2019
|
||||||
|
|
||||||
|
@ -762,7 +762,8 @@ class NonCopperClear(FlatCAMTool, Gerber):
|
|||||||
# Prepare non-copper polygons
|
# Prepare non-copper polygons
|
||||||
try:
|
try:
|
||||||
if not isinstance(self.bound_obj.solid_geometry, MultiPolygon):
|
if not isinstance(self.bound_obj.solid_geometry, MultiPolygon):
|
||||||
env_obj = MultiPolygon(self.bound_obj.solid_geometry).convex_hull
|
env_obj = cascaded_union(self.bound_obj.solid_geometry)
|
||||||
|
env_obj = env_obj.convex_hull
|
||||||
else:
|
else:
|
||||||
env_obj = self.bound_obj.solid_geometry.convex_hull
|
env_obj = self.bound_obj.solid_geometry.convex_hull
|
||||||
bounding_box = env_obj.buffer(distance=margin, join_style=base.JOIN_STYLE.mitre)
|
bounding_box = env_obj.buffer(distance=margin, join_style=base.JOIN_STYLE.mitre)
|
||||||
|
Loading…
Reference in New Issue
Block a user