Fixed retraction of tool when profiling multiple holes.

This commit is contained in:
Markus Lampert
2017-08-19 12:26:19 -07:00
committed by Yorik van Havre
parent 90952b1c5d
commit 8c70c3abcd
3 changed files with 13 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ class ObjectProfile(PathProfileBase.ObjectProfile):
def areaOpFeatures(self, obj):
'''baseObject() ... returns super of receiver
Used to call base implementation in overwritten functions.'''
return PathOp.FeatureBaseFaces
return PathOp.FeatureBaseFaces | PathOp.FeatureBasePanels
def initAreaOp(self, obj):
'''initAreaOp(obj) ... adds properties for hole, circle and perimeter processing.'''
@@ -127,6 +127,7 @@ class ObjectProfile(PathProfileBase.ObjectProfile):
env = PathUtils.getEnvelope(self.baseobject.Shape, subshape=f, depthparams=self.depthparams)
shapes.append((env, False))
PathLog.debug("%d shapes" % len(shapes))
return shapes
def areaOpSetDefaultValues(self, obj):