mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
This commit is contained in:
@@ -216,6 +216,11 @@ def get_bounding_box_center(bbox):
|
|||||||
|
|
||||||
def serialize_shape(shape):
|
def serialize_shape(shape):
|
||||||
shapes = BRepTools.BRepTools_ShapeSet()
|
shapes = BRepTools.BRepTools_ShapeSet()
|
||||||
|
|
||||||
|
# @todo provide method to get ifcopenshell's built-in occt version to
|
||||||
|
# see whether this is necessary
|
||||||
|
shapes.SetFormatNb(2)
|
||||||
|
|
||||||
shapes.Add(shape)
|
shapes.Add(shape)
|
||||||
return shapes.WriteToString()
|
return shapes.WriteToString()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user