BooleanOperator
Overview
BooleanOperator is a class in Aspose.3D FOSS for Python.
Inherits from: Entity.
Boolean operator allows you to apply Boolean operation on two IMeshConvertible instances.
This class declares 8 methods for BooleanOperator objects in Python programs.
Available methods include: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: excluded, first, name, operator, parent_node, parent_nodes, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
operator | "BooleanOperation" | Read/Write | The Boolean operator used in the operation. |
first | "BooleanOperand" | Read/Write | The first operand of the Boolean operator. |
second | "BooleanOperand" | Read/Write | The second operand of the Boolean operator. |
parent_nodes | List['Node'] | Read | Gets the parent nodes. |
parent_node | Optional['Node'] | Read/Write | Gets or sets the parent node. |
excluded | bool | Read/Write | Gets or sets the excluded. |
scene | `` | Read/Write | Gets or sets the scene. |
name | str | Read/Write | Gets or sets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
__init__(operation, first, second) | Calls init(operation, first, second) on this BooleanOperator instance. |
__init__(name: str) | Calls init(name) on this BooleanOperator instance. |
get_bounding_box() → BoundingBox | Not implemented in the FOSS edition — throws at runtime. Returns the bounding box. |
get_entity_renderer_key() | Not implemented in the FOSS edition — throws at runtime. Returns the entity renderer key. |
find_property(property_name: str) | Calls find_property(property_name) on this BooleanOperator instance. |
get_property(property: str) | Calls get_property(property) on this BooleanOperator instance. |
set_property(property: str, value) | Sets the property value. |
remove_property(property) | Calls remove_property(property) on this BooleanOperator instance. |