From 58264bc7da0699656c3a19ca421869476b9ea100 Mon Sep 17 00:00:00 2001 From: Patrick Felixberger Date: Tue, 31 Mar 2020 17:31:30 +0200 Subject: [PATCH] Setup length depending on tool --- src/Mod/Path/PathScripts/PathDressupLeadInOut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathDressupLeadInOut.py b/src/Mod/Path/PathScripts/PathDressupLeadInOut.py index f5ab6f8ca2..db5fdc2d21 100644 --- a/src/Mod/Path/PathScripts/PathDressupLeadInOut.py +++ b/src/Mod/Path/PathScripts/PathDressupLeadInOut.py @@ -86,7 +86,7 @@ class ObjectDressup: return None def setup(self, obj): - obj.Length = 5.0 + obj.Length = obj.Base.ToolController.Tool.Diameter * 0.75 obj.LeadIn = True obj.LeadOut = True obj.KeepToolDown = False