Added export button
This commit is contained in:
parent
c73afc784c
commit
22679e592b
1 changed files with 6 additions and 3 deletions
|
@ -5,7 +5,8 @@ class ARBench(Workbench):
|
|||
|
||||
def __init__(self):
|
||||
import os
|
||||
self.Icon = os.path.join(FreeCAD.getUserAppDataDir(), "Mod", "ARBench", "UI", "icons", "frame.svg")
|
||||
self.Icon = os.path.join(FreeCAD.getUserAppDataDir(), "Mod",
|
||||
"ARBench", "UI", "icons", "frame.svg")
|
||||
|
||||
def Initialize(self):
|
||||
"""This function is executed when FreeCAD starts"""
|
||||
|
@ -13,7 +14,9 @@ class ARBench(Workbench):
|
|||
self.framecommands = ["FrameCommand",
|
||||
"AllPartFramesCommand",
|
||||
"FeatureFrameCommand"]
|
||||
self.toolcommands = ["ExportPartInfoAndFeaturesDialogueCommand"]
|
||||
self.appendToolbar("AR Frames", self.framecommands)
|
||||
self.appendToolbar("AR Tools", self.toolcommands)
|
||||
|
||||
def Activated(self):
|
||||
"""This function is executed when the workbench is activated."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue