ifcopenshell.geom.occ_utils

Module Contents

class ifcopenshell.geom.occ_utils.shape_tuple

Bases: NamedTuple

A tuple containing IfcOpenShell serialized element/shape and pythonOCC shape.

data: ifcopenshell.ifcopenshell_wrapper.SerializedElement | ifcopenshell.ifcopenshell_wrapper.Serialization
geometry: OCC.Core.TopoDS.TopoDS_Shape
style_ids: tuple[int, Ellipsis]
styles: tuple[tuple[float, float, float, float], Ellipsis]
ifcopenshell.geom.occ_utils.create_shape_from_serialization(brep_object: ifcopenshell.ifcopenshell_wrapper.SerializedElement | ifcopenshell.ifcopenshell_wrapper.Serialization) shape_tuple | OCC.Core.TopoDS.TopoDS_Shape
ifcopenshell.geom.occ_utils.display_shape(shape, clr=None, viewer_handle=None)
ifcopenshell.geom.occ_utils.get_bounding_box_center(bbox)
ifcopenshell.geom.occ_utils.initialize_display()
ifcopenshell.geom.occ_utils.serialize_shape(shape)
ifcopenshell.geom.occ_utils.set_shape_transparency(ais, t, update_viewer=True)
ifcopenshell.geom.occ_utils.yield_subshapes(shape)
ifcopenshell.geom.occ_utils.DEFAULT_STYLES
ifcopenshell.geom.occ_utils.USE_OCCT_HANDLE = False