From 1bfde835bba192253614d3d4d82e798bf1236f89 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Wed, 21 Mar 2018 20:01:10 -0500 Subject: [PATCH] Path: Remove additional unused 'partial' commands fixes #3386 fixes #3387 --- src/Mod/Path/CMakeLists.txt | 1 - src/Mod/Path/InitGui.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/CMakeLists.txt b/src/Mod/Path/CMakeLists.txt index 6eaa9af34f..6cc2ea5d3a 100644 --- a/src/Mod/Path/CMakeLists.txt +++ b/src/Mod/Path/CMakeLists.txt @@ -56,7 +56,6 @@ SET(PathScripts_SRCS PathScripts/PathMillFaceGui.py PathScripts/PathOp.py PathScripts/PathOpGui.py - PathScripts/PathPlane.py PathScripts/PathPocket.py PathScripts/PathPocketBase.py PathScripts/PathPocketBaseGui.py diff --git a/src/Mod/Path/InitGui.py b/src/Mod/Path/InitGui.py index 9641ee2d60..19faf477f9 100644 --- a/src/Mod/Path/InitGui.py +++ b/src/Mod/Path/InitGui.py @@ -62,7 +62,6 @@ class PathWorkbench (Workbench): from PathScripts import PathInspect from PathScripts import PathJobCmd from PathScripts import PathMillFaceGui - from PathScripts import PathPlane from PathScripts import PathPocketGui from PathScripts import PathPocketShapeGui from PathScripts import PathPost @@ -81,7 +80,7 @@ class PathWorkbench (Workbench): # build commands list projcmdlist = ["Path_Job", "Path_Post"] toolcmdlist = ["Path_Inspect", "Path_Simulator", "Path_ToolLibraryEdit", "Path_SelectLoop"] - prepcmdlist = ["Path_Plane", "Path_Fixture", "Path_Comment", "Path_Stop", "Path_Custom", "Path_Shape"] + prepcmdlist = ["Path_Fixture", "Path_Comment", "Path_Stop", "Path_Custom"] twodopcmdlist = ["Path_Contour", "Path_Profile_Faces", "Path_Profile_Edges", "Path_Pocket_Shape", "Path_Drilling", "Path_Engrave", "Path_MillFace", "Path_Helix"] threedopcmdlist = ["Path_Pocket_3D"] modcmdlist = ["Path_OperationCopy", "Path_Array", "Path_SimpleCopy" ] @@ -111,6 +110,7 @@ class PathWorkbench (Workbench): if PathPreferences.experimentalFeaturesEnabled(): projcmdlist.append("Path_Sanity") + prepcmdlist.append("Path_Shape") threedopcmdlist.append("Path_Surface") extracmdlist.extend(["Path_Area", "Path_Area_Workplane"]) FreeCADGui.addCommand('Path_3dTools', ThreeDCommandGroup())