Value > MAXWrapper > Node > GeometryClass |
The mesh operations underlying the Boolean Compound Object in 3ds Max are accessible in MAXScript. They appear as operators (+, -, *) that you can apply to any two scene objects that are convertible to meshes. These objects are all GeometryClass objects with the exception of the particle systems.
Returns the union of node1 and node2
Returns the subtraction of node2 from node1
Returnsthe intersection of node1 and node2
The Boolean operators change the first operand to be the result of the operation and leave the second operand untouched. So, in the first example, the $foo node is changed to an Editable Mesh object containing the result of the difference operation. In the second example, $sphere01 is successively unioned with each of the other spheres - $sphere01 contains the compound result and the other spheres are left standing.
will put a modified copy of $foo into the variable result, leaving the original $foo unchanged.
Returns an array of two integers - the face count and the vertex count of the TriMesh on top of the modifier stack.