ifcopenshell.api.geometry.add_door_representation#

Module Contents#

ifcopenshell.api.geometry.add_door_representation.SUPPORTED_DOOR_TYPES = ['SINGLE_SWING_LEFT', 'SINGLE_SWING_RIGHT', 'DOUBLE_SWING_RIGHT', 'DOUBLE_SWING_LEFT',...#
class ifcopenshell.api.geometry.add_door_representation.Usecase(file, **settings)#

units in settings expected to be in ifc project units

convert_si_to_unit(self, value)#
execute(self)#
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.