Brep.MergeBreps Method
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)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.7
See Also