From eb103773589c0b00f130f9e4c553c8dfa11bb9d8 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Sun, 1 Oct 2017 11:55:18 -0700 Subject: [PATCH] Disabling MinTravel - it being an experimental feature. --- src/Mod/Path/PathScripts/PathPocketBase.py | 5 +++-- src/Mod/Path/PathScripts/PathPocketBaseGui.py | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathPocketBase.py b/src/Mod/Path/PathScripts/PathPocketBase.py index 49865b6cc0..4ef7a436e5 100644 --- a/src/Mod/Path/PathScripts/PathPocketBase.py +++ b/src/Mod/Path/PathScripts/PathPocketBase.py @@ -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 diff --git a/src/Mod/Path/PathScripts/PathPocketBaseGui.py b/src/Mod/Path/PathScripts/PathPocketBaseGui.py index ea0ce52aef..6e22443737 100644 --- a/src/Mod/Path/PathScripts/PathPocketBaseGui.py +++ b/src/Mod/Path/PathScripts/PathPocketBaseGui.py @@ -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