예제 #1
0
    def __init__(self, job, cb):
        self.form = FreeCADGui.PySideUic.loadUi(":/panels/ToolLibraryEditor.ui")
        self.TLM = ToolLibraryManager.ToolLibraryManager()
        listname = self.TLM.getCurrentTableName()

        if listname:
            self.loadToolTables()

        self.job = job
        self.cb = cb
예제 #2
0
 def toolControllerAdd(self):
     PathToolLibraryManager.CommandToolLibraryEdit().edit(
         self.obj, self.updateToolController)