FuseCompound: update some comments
This commit is contained in:
parent
74d0482481
commit
57e64488ad
|
@ -28,9 +28,7 @@ __title__="FuseCompound module for FreeCAD"
|
||||||
__author__ = "DeepSOIC"
|
__author__ = "DeepSOIC"
|
||||||
__url__ = ""
|
__url__ = ""
|
||||||
|
|
||||||
|
# -------------------------- document object --------------------------------------------------
|
||||||
|
|
||||||
# -------------------------- common stuff --------------------------------------------------
|
|
||||||
|
|
||||||
def makeFuseCompound(name):
|
def makeFuseCompound(name):
|
||||||
'''makeFuseCompound(name): makes a FuseCompound object.'''
|
'''makeFuseCompound(name): makes a FuseCompound object.'''
|
||||||
|
@ -100,6 +98,10 @@ class _ViewProviderFuseCompound:
|
||||||
FreeCAD.Console.PrintError("Error in onDelete: " + err.message)
|
FreeCAD.Console.PrintError("Error in onDelete: " + err.message)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
# -------------------------- /document object --------------------------------------------------
|
||||||
|
|
||||||
|
# -------------------------- Gui command --------------------------------------------------
|
||||||
|
|
||||||
def CreateFuseCompound(name):
|
def CreateFuseCompound(name):
|
||||||
FreeCAD.ActiveDocument.openTransaction("Create FuseCompound")
|
FreeCAD.ActiveDocument.openTransaction("Create FuseCompound")
|
||||||
FreeCADGui.addModule("FuseCompound")
|
FreeCADGui.addModule("FuseCompound")
|
||||||
|
@ -111,11 +113,6 @@ def CreateFuseCompound(name):
|
||||||
FreeCADGui.doCommand("f = None")
|
FreeCADGui.doCommand("f = None")
|
||||||
FreeCAD.ActiveDocument.commitTransaction()
|
FreeCAD.ActiveDocument.commitTransaction()
|
||||||
|
|
||||||
|
|
||||||
# -------------------------- /common stuff --------------------------------------------------
|
|
||||||
|
|
||||||
# -------------------------- Gui command --------------------------------------------------
|
|
||||||
|
|
||||||
class _CommandFuseCompound:
|
class _CommandFuseCompound:
|
||||||
"Command to create FuseCompound feature"
|
"Command to create FuseCompound feature"
|
||||||
def GetResources(self):
|
def GetResources(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user