Renamed 'Pocket' to 'Pocket 3D' to enhance the distinction to 'Pocket Shape'.

This commit is contained in:
Markus Lampert
2017-09-25 11:44:36 -07:00
parent 06a01d0fee
commit eb0b755a2a
3 changed files with 5 additions and 4 deletions

View File

@@ -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"]

View File

@@ -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")

View File

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