use compounds for unknown shape types

in OpenSCADUtils.applyPlacement
This commit is contained in:
Sebastian Hoogen
2014-05-30 09:02:57 +02:00
committed by Yorik van Havre
parent 51dd1b4ebb
commit a533161fc5

View File

@@ -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])