ifcopenshell.api.geometry.add_wall_representation

Module Contents

class ifcopenshell.api.geometry.add_wall_representation.Usecase
apply_booleans(first_operand: ifcopenshell.entity_instance) ifcopenshell.entity_instance
apply_clippings(first_operand: ifcopenshell.entity_instance) ifcopenshell.entity_instance
convert_si_to_unit(co: Any) Any
create_item() ifcopenshell.entity_instance
execute() ifcopenshell.entity_instance
clippings: list[ifcopenshell.util.data.Clipping]
file: ifcopenshell.file
settings: dict[str, Any]
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.

  • booleans – List of any existing IfcBooleanResults.

Returns:

IfcShapeRepresentation.