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 fc31b3179a
commit 7ab2f4fe1f

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