From 9cf6c99951b87cbb2a7ee7ab29dfdc938161e28b Mon Sep 17 00:00:00 2001 From: Schildkroet Date: Wed, 11 Mar 2020 07:45:02 +0100 Subject: [PATCH] Fixed wrong property name; Set default value --- src/Mod/Path/PathScripts/PathDrilling.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathDrilling.py b/src/Mod/Path/PathScripts/PathDrilling.py index a8141f3ab6f8..bc00bf2f16fc 100644 --- a/src/Mod/Path/PathScripts/PathDrilling.py +++ b/src/Mod/Path/PathScripts/PathDrilling.py @@ -205,6 +205,7 @@ def opSetDefaultValues(self, obj, job): obj.InverseAngle = False obj.B_AxisErrorOverride = False obj.AttemptInverseAngle = False + obj.ExtraOffset = "None" # Initial setting for EnableRotation is taken from Job SetupSheet # User may override on per-operation basis as needed. @@ -222,7 +223,7 @@ def SetupProperties(): setup.append("DwellEnabled") setup.append("AddTipLength") setup.append("ReturnLevel") - setup.append("ExtraDepth") + setup.append("ExtraOffset") setup.append("RetractHeight") setup.append("EnableRotation") setup.append("ReverseDirection")