mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
Fix missing import
This commit is contained in:
@@ -182,6 +182,8 @@ def get_bounding_box_center(bbox):
|
|||||||
|
|
||||||
|
|
||||||
def serialize_shape(shape):
|
def serialize_shape(shape):
|
||||||
|
import OCC.BRepTools
|
||||||
|
|
||||||
shapes = OCC.BRepTools.BRepTools_ShapeSet()
|
shapes = OCC.BRepTools.BRepTools_ShapeSet()
|
||||||
shapes.Add(shape)
|
shapes.Add(shape)
|
||||||
return shapes.WriteToString()
|
return shapes.WriteToString()
|
||||||
|
|||||||
Reference in New Issue
Block a user