ifcopenshell.api.geometry.add_window_representation

Module Contents

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

units in usecase_settings expected to be in ifc project units

ifcopenshell.api.geometry.add_window_representation.create_ifc_window(builder, lining_size: mathutils.Vector, lining_thickness: list, lining_to_panel_offset_x, lining_to_panel_offset_y_full, frame_size: mathutils.Vector, frame_thickness, glass_thickness, position: mathutils.Vector, x_offsets: list = None)

lining_thickness and x_offsets are expected to be defined as a list, similarly to create_ifc_window_frame_simple thickness argument

ifcopenshell.api.geometry.add_window_representation.create_ifc_window_frame_simple(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: (LEFT, TOP, RIGHT, BOTTOM)

thickness can be also defined just as 1 float value.

ifcopenshell.api.geometry.add_window_representation.window_l_shape_check(lining_to_panel_offset_y_full, lining_depth, lining_to_panel_offset_x: list, lining_thickness: list)

lining_thickness and lining_to_panel_offset_x expected to be defined as a list, similarly to create_ifc_window_frame_simple thickness argument

ifcopenshell.api.geometry.add_window_representation.DEFAULT_PANEL_SCHEMAS