Disabling MinTravel - it being an experimental feature.

This commit is contained in:
Markus Lampert
2017-10-01 11:55:18 -07:00
committed by wmayer
parent b86878d2c9
commit eb10377358
2 changed files with 5 additions and 3 deletions

View File

@@ -118,7 +118,8 @@ class ObjectPocket(PathAreaOp.ObjectOp):
# if MinTravel is turned on, set path sorting to 3DSort
# 3DSort shouldn't be used without a valid start point. Can cause
# tool crash without it.
if obj.MinTravel and obj.UseStartPoint and obj.StartPoint is not None:
params['sort_mode'] = 2
# ml: experimental feature, turning off for now (see https://forum.freecadweb.org/viewtopic.php?f=15&t=24422&start=30#p192458)
#if obj.MinTravel and obj.UseStartPoint and obj.StartPoint is not None:
# params['sort_mode'] = 2
return params

View File

@@ -68,8 +68,9 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
form.extraOffset.setToolTip(translate("PathPocket", "The distance the facing operation will extend beyond the boundary shape."))
if True:
# currently doesn't have an effect
# currently doesn't have an effect or is experimental
form.keepToolDown.hide()
form.minTravel.hide()
return form