Path: Remove FinalDepth limitation for internal profile operation

Requested in forum at https://forum.freecadweb.org/viewtopic.php?f=15&t=50341
This commit is contained in:
Russell Johnson
2020-10-01 22:51:33 -05:00
parent 4e6741a027
commit d2981fb09a

View File

@@ -483,11 +483,6 @@ class ObjectProfile(PathAreaOp.ObjectOp):
finalDep = obj.FinalDepth.Value
custDepthparams = self.depthparams
self._addDebugObject('Rotation_Indiv_Shp', shape)
if obj.Side == 'Inside':
if finalDep < shape.BoundBox.ZMin:
# Recalculate depthparams
finalDep = shape.BoundBox.ZMin
custDepthparams = self._customDepthParams(obj, strDep + 0.5, finalDep)
if self.expandProfile:
shapeEnv = self._getExpandedProfileEnvelope(obj, shape, False, obj.StartDepth.Value, finalDep)