From 57e64488ad6fe6d42cc1eea994618366d51342d6 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Thu, 5 Nov 2015 16:45:47 +0300 Subject: [PATCH] FuseCompound: update some comments --- FuseCompound.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/FuseCompound.py b/FuseCompound.py index 116909b..5c56e20 100644 --- a/FuseCompound.py +++ b/FuseCompound.py @@ -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):