FuseCompound: update some comments

This commit is contained in:
DeepSOIC 2015-11-05 16:45:47 +03:00
parent 74d0482481
commit 57e64488ad

View File

@ -28,9 +28,7 @@ __title__="FuseCompound module for FreeCAD"
__author__ = "DeepSOIC"
__url__ = ""
# -------------------------- common stuff --------------------------------------------------
# -------------------------- document object --------------------------------------------------
def makeFuseCompound(name):
'''makeFuseCompound(name): makes a FuseCompound object.'''
@ -100,6 +98,10 @@ class _ViewProviderFuseCompound:
FreeCAD.Console.PrintError("Error in onDelete: " + err.message)
return True
# -------------------------- /document object --------------------------------------------------
# -------------------------- Gui command --------------------------------------------------
def CreateFuseCompound(name):
FreeCAD.ActiveDocument.openTransaction("Create FuseCompound")
FreeCADGui.addModule("FuseCompound")
@ -111,11 +113,6 @@ def CreateFuseCompound(name):
FreeCADGui.doCommand("f = None")
FreeCAD.ActiveDocument.commitTransaction()
# -------------------------- /common stuff --------------------------------------------------
# -------------------------- Gui command --------------------------------------------------
class _CommandFuseCompound:
"Command to create FuseCompound feature"
def GetResources(self):