Use defaults for retract height
Use the StartDepth + SafeHeightOffset to calculate the retract height in relation to the hole start height.
This commit is contained in:
@@ -187,7 +187,7 @@ class ObjectDrilling(PathCircularHoleBase.ObjectOp):
|
||||
|
||||
if hasattr(job.SetupSheet, 'RetractHeight'):
|
||||
obj.RetractHeight = job.SetupSheet.RetractHeight
|
||||
elif self.applyExpression(obj, 'RetractHeight', 'OpStartDepth+1mm'):
|
||||
elif self.applyExpression(obj, 'RetractHeight', 'StartDepth+SetupSheet.SafeHeightOffset'):
|
||||
if has_job:
|
||||
obj.RetractHeight = 10
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user