BooleanUnion

Performs a Boolean union operation on a set of input surfaces and polysurfaces. For more details, see the BooleanUnion command in the Rhino help file.

Syntax

rhinoscriptsyntax.BooleanUnion (input, delete_input=True)

rhinoscript.surface.BooleanUnion (input, delete_input=True)

Parameters

input

Required.  List.  The identifiers of the surfaces or polysurfaces to union.

delete_input

Optional.  Boolean. Delete all input objects. The default is to delete all input objects (True).

Returns

List

A list containing the identifiers of the newly created objects, if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

input = rs.GetObjects("Select surfaces or polysurfaces to union", rs.filter.surface | rs.filter.polysurface)

if input and len(input)>1: rs.BooleanUnion(input)

Also See

BooleanDifference

BooleanUnion