Update assembly icons to be consistent with main updates.
Add commands to menu/toolbar.
This commit is contained in:
committed by
Chris Hennes
parent
407a572d2f
commit
323ec08e8e
@@ -78,6 +78,7 @@ class AssemblyWorkbench(Workbench):
|
||||
"Assembly_CreateAssembly",
|
||||
"Assembly_InsertLink",
|
||||
"Assembly_SolveAssembly",
|
||||
"Assembly_CreateView",
|
||||
]
|
||||
|
||||
cmdListMenuOnly = [
|
||||
@@ -93,17 +94,12 @@ class AssemblyWorkbench(Workbench):
|
||||
"Assembly_CreateJointSlider",
|
||||
"Assembly_CreateJointBall",
|
||||
"Assembly_CreateJointDistance",
|
||||
"Separator",
|
||||
"Assembly_CreateJointRackPinion",
|
||||
"Assembly_CreateJointScrew",
|
||||
"Assembly_CreateJointGearBelt",
|
||||
]
|
||||
|
||||
if Preferences.preferences().GetBool("ExperimentalFeatures", False):
|
||||
cmdList = cmdList + ["Assembly_CreateView"]
|
||||
cmdListJoints = cmdListJoints + [
|
||||
"Separator",
|
||||
"Assembly_CreateJointRackPinion",
|
||||
"Assembly_CreateJointScrew",
|
||||
"Assembly_CreateJointGearBelt",
|
||||
]
|
||||
|
||||
self.appendToolbar(QT_TRANSLATE_NOOP("Workbench", "Assembly"), cmdList)
|
||||
self.appendToolbar(QT_TRANSLATE_NOOP("Workbench", "Assembly Joints"), cmdListJoints)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user