ifcopenshell.api.geometry.add_door_representation

Module Contents

class ifcopenshell.api.geometry.add_door_representation.Usecase
convert_si_to_unit(value)
execute()
ifcopenshell.api.geometry.add_door_representation.add_door_representation(file, **usecase_settings) None

units in usecase_settings expected to be in ifc project units

ifcopenshell.api.geometry.add_door_representation.create_ifc_box(builder: ifcopenshell.util.shape_builder.ShapeBuilder, size: mathutils.Vector, position: mathutils.Vector = V(0, 0, 0).freeze())
ifcopenshell.api.geometry.add_door_representation.create_ifc_door_lining(builder: ifcopenshell.util.shape_builder.ShapeBuilder, size: mathutils.Vector, thickness: list, position: mathutils.Vector = V(0, 0, 0).freeze())

thickness of the profile is defined as list in the following order: (SIDE, TOP)

thickness can be also defined just as 1 float value.

ifcopenshell.api.geometry.add_door_representation.SUPPORTED_DOOR_TYPES = ('SINGLE_SWING_LEFT', 'SINGLE_SWING_RIGHT', 'DOUBLE_SWING_RIGHT', 'DOUBLE_SWING_LEFT',...