ifcopenshell.api.geometry.add_boolean

Module Contents

class ifcopenshell.api.geometry.add_boolean.Usecase
convert_si_to_unit(co)
create_blender_mesh()
create_faceted_brep()
create_half_space_solid()
create_polygonal_face_set()
create_triangulated_face_set()
create_vertices()
execute()
ifcopenshell.api.geometry.add_boolean.add_boolean(file: ifcopenshell.file, representation: ifcopenshell.entity_instance, operator: str = 'DIFFERENCE', type: Literal['IfcHalfSpaceSolid', 'Mesh'] = 'IfcHalfSpaceSolid', matrix: NPArrayOfFloats | None = None, blender_obj: bpy.types.Object | None = None, blender_void: bpy.types.Object | None = None, should_force_faceted_brep: bool = False, should_force_triangulation: bool = False) list[ifcopenshell.entity_instance]

For type values: - “IfcHalfSpaceSolid” - matrix is not optional. - “Mesh” - blender_obj and blender_void are not optional

ifcopenshell.api.geometry.add_boolean.NPArrayOfFloats