From a533161fc56a299b3466f6e41dca67196d8f15ca Mon Sep 17 00:00:00 2001 From: Sebastian Hoogen Date: Fri, 30 May 2014 09:02:57 +0200 Subject: [PATCH] use compounds for unknown shape types in OpenSCADUtils.applyPlacement --- src/Mod/OpenSCAD/OpenSCADUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/OpenSCAD/OpenSCADUtils.py b/src/Mod/OpenSCAD/OpenSCADUtils.py index 238e0d9d22..2f301f3e86 100644 --- a/src/Mod/OpenSCAD/OpenSCADUtils.py +++ b/src/Mod/OpenSCAD/OpenSCADUtils.py @@ -572,4 +572,4 @@ def applyPlacement(shape): elif shape.ShapeType == 'Shell': return Part.Shell(shape.childShapes()) else: - raise ValueError('Unsupported shape type') + return Part.Compound([shape])