ifcopenshell.api.geometry.add_wall_representation¶
Module Contents¶
- class ifcopenshell.api.geometry.add_wall_representation.Usecase¶
- apply_booleans(first_operand: ifcopenshell.entity_instance, booleans: list[ifcopenshell.entity_instance]) ifcopenshell.entity_instance¶
- apply_clippings(first_operand: ifcopenshell.entity_instance, clippings: list[ifcopenshell.entity_instance | ifcopenshell.util.data.Clipping]) ifcopenshell.entity_instance¶
- convert_si_to_unit(co: float) float¶
- execute(context: ifcopenshell.entity_instance, length: float, height: float, direction_sense: str, offset: float, thickness: float, x_angle: float, clippings: list[ifcopenshell.util.data.Clipping | dict[str, Any]], booleans: list[ifcopenshell.entity_instance]) ifcopenshell.entity_instance¶
- file: ifcopenshell.file¶
- unit_scale: float¶
- ifcopenshell.api.geometry.add_wall_representation.add_wall_representation(file: ifcopenshell.file, context: ifcopenshell.entity_instance, length: float = 1.0, height: float = 3.0, direction_sense: str = 'POSITIVE', offset: float = 0.0, thickness: float = 0.2, x_angle: float = 0.0, clippings: list[ifcopenshell.util.data.Clipping | dict[str, Any]] | None = None, booleans: list[ifcopenshell.entity_instance] | None = None) ifcopenshell.entity_instance¶
Add a geometric representation for a wall.
- Parameters:
context – The IfcGeometricRepresentationContext for the representation, only Model/Body/MODEL_VIEW type of representations are currently supported.
length – The length of the wall in meters.
height – The height of the wall in meters.
offset – The base offset distance of the wall from the origin.
thickness – The thickness of the wall in meters.
x_angle – The slope angle along the wall’s X-axis, in radians.
clippings – List of clipping definitions. Clippings can be Clipping objects or dictionaries of arguments for Clipping.parse. Each clipping has a
normalthat points toward the removed material (the discarded side), not toward the kept material; seeclip_solid()for details.booleans – List of any existing IfcBooleanResults.
- Returns:
IfcShapeRepresentation.