Performs a Boolean union operation on a set of input meshes. For more details, see the MeshBooleanUnion command in the Rhino help file.
rhinoscriptsyntax.MeshBooleanUnion (mesh_ids, delete_input=True)
rhinoscript.mesh.MeshBooleanUnion (mesh_ids, delete_input=True)
mesh_ids |
Required. List. The identifiers of the meshes to union. |
delete_input |
Optional. Boolean. Delete all input objects. The default is to delete all input objects (True). |
List |
An array containing the identifiers of the newly created objects, if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
input = rs.GetObjects("Select meshes to union", rs.filter.mesh)
if input: rs.MeshBooleanUnion(input)