From eb0b755a2a4f020fb6067320dabf81b316b2a36f Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Mon, 25 Sep 2017 11:44:36 -0700 Subject: [PATCH] Renamed 'Pocket' to 'Pocket 3D' to enhance the distinction to 'Pocket Shape'. --- src/Mod/Path/InitGui.py | 2 +- src/Mod/Path/PathScripts/PathPocketGui.py | 6 +++--- src/Mod/Path/PathScripts/PathSelection.py | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Mod/Path/InitGui.py b/src/Mod/Path/InitGui.py index b17cd14595..96f800fda5 100644 --- a/src/Mod/Path/InitGui.py +++ b/src/Mod/Path/InitGui.py @@ -80,7 +80,7 @@ class PathWorkbench (Workbench): toolcmdlist = ["Path_ToolLibraryEdit"] prepcmdlist = ["Path_Plane", "Path_Fixture", "Path_ToolLenOffset", "Path_Comment", "Path_Stop", "Path_Custom", "Path_Shape"] twodopcmdlist = ["Path_Contour", "Path_Profile_Faces", "Path_Profile_Edges", "Path_Pocket_Shape", "Path_Drilling", "Path_Engrave", "Path_MillFace", "Path_Helix"] - threedopcmdlist = ["Path_Pocket", "Path_Surface"] + threedopcmdlist = ["Path_Pocket_3D", "Path_Surface"] modcmdlist = ["Path_OperationCopy", "Path_Array", "Path_SimpleCopy" ] dressupcmdlist = ["PathDressup_Dogbone", "PathDressup_DragKnife", "PathDressup_Tag", "PathDressup_RampEntry"] extracmdlist = ["Path_SelectLoop", "Path_Shape", "Path_Area", "Path_Area_Workplane"] diff --git a/src/Mod/Path/PathScripts/PathPocketGui.py b/src/Mod/Path/PathScripts/PathPocketGui.py index 1e67a7162d..7fe903a4d0 100644 --- a/src/Mod/Path/PathScripts/PathPocketGui.py +++ b/src/Mod/Path/PathScripts/PathPocketGui.py @@ -41,11 +41,11 @@ class TaskPanelOpPage(PathPocketBaseGui.TaskPanelOpPage): '''pocketFeatures() ... return FeaturePocket (see PathPocketBaseGui)''' return PathPocketBaseGui.FeaturePocket -Command = PathOpGui.SetupOperation('Pocket', +Command = PathOpGui.SetupOperation('Pocket 3D', PathPocket.Create, TaskPanelOpPage, 'Path-3DPocket', - QtCore.QT_TRANSLATE_NOOP("PathPocket", "Pocket"), - QtCore.QT_TRANSLATE_NOOP("PathPocket", "Creates a Path Pocket object from a face or faces")) + QtCore.QT_TRANSLATE_NOOP("PathPocket", "3D Pocket"), + QtCore.QT_TRANSLATE_NOOP("PathPocket", "Creates a Path 3D Pocket object from a face or faces")) FreeCAD.Console.PrintLog("Loading PathPocketGui... done\n") diff --git a/src/Mod/Path/PathScripts/PathSelection.py b/src/Mod/Path/PathScripts/PathSelection.py index 8102ef106e..867a44fc1e 100644 --- a/src/Mod/Path/PathScripts/PathSelection.py +++ b/src/Mod/Path/PathScripts/PathSelection.py @@ -168,6 +168,7 @@ def select(op): opsel['Helix'] = drillselect opsel['MillFace'] = pocketselect opsel['Pocket'] = pocketselect + opsel['Pocket 3D'] = pocketselect opsel['Pocket Shape'] = pocketselect opsel['Profile Edges'] = eselect opsel['Profile Faces'] = profileselect