Click or drag to resize

BrepMergeBreps Method

Combines two or more breps into one. A merge is like a boolean union that keeps the inside pieces. This function creates non-manifold Breps which in general are unusual in Rhino. You may want to consider using JoinBreps or CreateBooleanUnion functions instead.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Brep MergeBreps(
	IEnumerable<Brep> brepsToMerge,
	double tolerance
)

Parameters

brepsToMerge
Type: System.Collections.GenericIEnumerableBrep
must contain more than one Brep.
tolerance
Type: SystemDouble
the tolerance to use when merging.

Return Value

Type: Brep
Single merged Brep on success. Null on error.
See Also