aboutsummaryrefslogtreecommitdiff
path: root/Boxer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Boxer.py')
-rw-r--r--Boxer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Boxer.py b/Boxer.py
index facb4e3..0319e43 100644
--- a/Boxer.py
+++ b/Boxer.py
@@ -363,11 +363,14 @@ def make(doc, cfg):
doc.recompute()
+ crossSections = None
if cfg.generateCrossSections:
crossSections = makeCrossSections(doc, cfg, extrudes)
crossSectionsGroup = doc.addObject("App::DocumentObjectGroup", "Cross Sections")
[crossSectionsGroup.addObject(cs) for cs in crossSections.values()]
+ return {'parts': parts, 'extrudes': extrudes, 'crossSections': crossSections};
+
def removeEverything(doc):
def rm(name):
if hasattr(doc, name):