diff --git a/lattice2ArrayFilter.py b/lattice2ArrayFilter.py index 2741fe0..5d08593 100644 --- a/lattice2ArrayFilter.py +++ b/lattice2ArrayFilter.py @@ -300,7 +300,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Array filter:', + return { 'MenuText': 'Array filter', 'ToolTip': 'Array filter: tool to extract specific elements from lattice2 arrays.'} def IsActive(self): # optional @@ -314,7 +314,7 @@ def ExplodeArray(feature): plms = lattice2BaseFeature.getPlacementsList(feature) features_created = [] for i in range(len(plms)): - af = makeArrayFilter(name = 'Placment') + af = makeArrayFilter(name = 'Placement') af.Label = u'Placement' + str(i) af.Base = feature af.FilterType = 'specific items' diff --git a/lattice2ArrayFromShape.py b/lattice2ArrayFromShape.py index 0c3395a..577c874 100644 --- a/lattice2ArrayFromShape.py +++ b/lattice2ArrayFromShape.py @@ -281,7 +281,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Array from shape:', 'ToolTip': 'Array from shape: make array of placements from children of a compound'} + return { 'MenuText': 'Array from shape', 'ToolTip': 'Array from shape: make array of placements from children of a compound'} def IsActive(self): # optional return True diff --git a/lattice2AttachablePlacement.py b/lattice2AttachablePlacement.py index b0d08d3..425b6cb 100644 --- a/lattice2AttachablePlacement.py +++ b/lattice2AttachablePlacement.py @@ -207,7 +207,7 @@ def GetResources(self): def Activated(self): try: - CreateAttachablePlacement(name= "Placment") + CreateAttachablePlacement(name= "Placement") except Exception as err: msgError(err) @@ -261,7 +261,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Attached Placement:', + return { 'MenuText': 'Attached Placement', 'ToolTip': 'Attached Placement (group): tools to work with attached placement objects.'} def IsActive(self): # optional diff --git a/lattice2BoundBox.py b/lattice2BoundBox.py index 79736c8..c08ad29 100644 --- a/lattice2BoundBox.py +++ b/lattice2BoundBox.py @@ -420,7 +420,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Bounding Box:', + return { 'MenuText': 'Bounding Box', 'ToolTip': 'Bounding Box: make a box that precisely fits a shape.'} def IsActive(self): # optional diff --git a/lattice2Inspect.py b/lattice2Inspect.py index cb9d960..7899a14 100644 --- a/lattice2Inspect.py +++ b/lattice2Inspect.py @@ -153,7 +153,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Inspect:', 'ToolTip': 'Inspect: tools to analyze shape structure.'} + return { 'MenuText': 'Inspect', 'ToolTip': 'Inspect: tools to analyze shape structure.'} def IsActive(self): # optional return True diff --git a/lattice2InterpolateGroup.py b/lattice2InterpolateGroup.py index 7cb3a30..b0dcf32 100644 --- a/lattice2InterpolateGroup.py +++ b/lattice2InterpolateGroup.py @@ -40,7 +40,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Interpolation features:', + return { 'MenuText': 'Interpolation features', 'ToolTip': 'Interpolation features (group): creating placements between occurrences.'} def IsActive(self): # optional diff --git a/lattice2Placement.py b/lattice2Placement.py index 9db1b88..6cb609e 100644 --- a/lattice2Placement.py +++ b/lattice2Placement.py @@ -242,7 +242,7 @@ def GetResources(self): def Activated(self): FreeCADGui.Selection.clearSelection() - CreateLatticePlacement(name= "Placment", mode= self.mode) + CreateLatticePlacement(name= "Placement", mode= self.mode) if self.mode == "Custom": FreeCADGui.runCommand("Std_Placement") diff --git a/lattice2PopulateChildren.py b/lattice2PopulateChildren.py index 6bbcf9a..8c11366 100644 --- a/lattice2PopulateChildren.py +++ b/lattice2PopulateChildren.py @@ -342,7 +342,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Populate with Children:', + return { 'MenuText': 'Populate with Children', 'ToolTip': 'Populate with Children: put children of compound at corresponding placements in an array of placements.'} def IsActive(self): # optional diff --git a/lattice2PopulateCopies.py b/lattice2PopulateCopies.py index 4337330..7d05897 100644 --- a/lattice2PopulateCopies.py +++ b/lattice2PopulateCopies.py @@ -369,7 +369,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Populate with copies:', + return { 'MenuText': 'Populate with copies', 'ToolTip': 'Populate with copies: put a copy of an object at every placement in an array of placements.'} def IsActive(self): # optional diff --git a/lattice2RecomputeLocker.py b/lattice2RecomputeLocker.py index b2ab040..762e135 100644 --- a/lattice2RecomputeLocker.py +++ b/lattice2RecomputeLocker.py @@ -430,7 +430,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Lattice recompute control:', + return { 'MenuText': 'Lattice recompute control', 'ToolTip': 'Document recompute controlling tools from Lattice2 workbench', 'CmdType':"ForEdit"} diff --git a/lattice2SeriesGroup.py b/lattice2SeriesGroup.py index 88e41f2..4cf5467 100644 --- a/lattice2SeriesGroup.py +++ b/lattice2SeriesGroup.py @@ -42,7 +42,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Series features:', + return { 'MenuText': 'Series features', 'ToolTip': 'Series features (group): features that collect permutations of an object by changing dependent objects.'} def IsActive(self): # optional diff --git a/lattice2SubLink.py b/lattice2SubLink.py index 132cab2..4965849 100644 --- a/lattice2SubLink.py +++ b/lattice2SubLink.py @@ -339,7 +339,7 @@ def GetDefaultCommand(self): # return the index of the tuple of the default comm return 0 def GetResources(self): - return { 'MenuText': 'Sublink:', + return { 'MenuText': 'Sublink', 'ToolTip': 'Sublink (group): extract elements from shapes.'} def IsActive(self): # optional