Fix missing import

This commit is contained in:
Thomas Krijnen
2017-05-03 15:10:20 +02:00
parent 845dd13870
commit 0f825b7050
@@ -182,6 +182,8 @@ def get_bounding_box_center(bbox):
def serialize_shape(shape):
import OCC.BRepTools
shapes = OCC.BRepTools.BRepTools_ShapeSet()
shapes.Add(shape)
return shapes.WriteToString()