mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix missing import
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user