From 0bcfebf9aaab1a30e4d9d220e234c7bff54864cf Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Tue, 21 Nov 2017 23:16:47 -0800 Subject: [PATCH] Make keep tool down work - as good as it gets. --- src/Mod/Path/PathScripts/PathAreaOp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index d893a7fcca..5f993de4f4 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -185,6 +185,9 @@ class ObjectOp(PathOp.ObjectOp): # Note that emitting preambles between moves breaks some dressups and prevents path optimization on some controllers pathParams['preamble'] = False + if not self.areaOpRetractTool(obj): + pathParams['threshold'] = 2.001 * self.radius + if self.endVector is not None: pathParams['start'] = self.endVector elif PathOp.FeatureStartPoint & self.opFeatures(obj) and obj.UseStartPoint: