Make keep tool down work - as good as it gets.

This commit is contained in:
Markus Lampert
2017-11-21 23:16:47 -08:00
committed by Yorik van Havre
parent d18e89f146
commit 0bcfebf9aa

View File

@@ -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: