ifcopenshell.api.geometry.remove_boolean
¶
Module Contents¶
- ifcopenshell.api.geometry.remove_boolean.remove_boolean(file: ifcopenshell.file, item: ifcopenshell.entity_instance) None ¶
Removes a boolean operation without deleting the operands
The first operand will replace the boolean result itself, and the second operand will be reset as a top level representation item.
This may affect the Items of IfcShapeRepresentation, so it is recommended to run
ifcopenshell.api.geometry.validate_type()
after all boolean modifications are complete.- Parameters:
item – This may either be an IfcBooleanResult or an IfcRepresentationItem that is participating in one or more boolean results (in which case all are removed).