aboutsummaryrefslogtreecommitdiff
path: root/InitGui.py
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-05-29 10:25:16 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-05-29 10:56:08 +0200
commit250455628d78afc402ba60f3765b3fb44d269be2 (patch)
tree7d70fc55840cb3568653d019f72b5545727faf53 /InitGui.py
parent909e0f8ab2e581a9f6a88de9ada42b5216c6904d (diff)
downloadfreecad-boxer-250455628d78afc402ba60f3765b3fb44d269be2.tar.gz
freecad-boxer-250455628d78afc402ba60f3765b3fb44d269be2.tar.bz2
freecad-boxer-250455628d78afc402ba60f3765b3fb44d269be2.tar.xz
freecad-boxer-250455628d78afc402ba60f3765b3fb44d269be2.zip
o Show the Boxer module on load.
o Extrude all the parts when generating the model.
Diffstat (limited to 'InitGui.py')
-rw-r--r--InitGui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/InitGui.py b/InitGui.py
index b200dc8..fe85dd3 100644
--- a/InitGui.py
+++ b/InitGui.py
@@ -85,16 +85,16 @@ class BoxerWorkbench(Workbench):
def Initialize(self):
self.list = ["BoxerMakeBox", "BoxerRemoveBox", "BoxerShowPanel"]
self.appendToolbar("Boxer Commands", self.list)
- import BoxerGui
+ import BoxerGui # Loads the Boxer modules
def Activated(self):
- return
+ Gui.runCommand('BoxerShowPanel')
+ return
def Deactivated(self):
return
def ContextMenu(self, recipient):
- # "recipient" will be either "view" or "tree"
self.appendContextMenu("Boxer", self.list)
def GetClassName(self):