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.
RhinoCommon (in RhinoCommon.dll)
public static Brep MergeBreps(
Public Shared Function MergeBreps (
brepsToMerge As IEnumerable(Of Brep),
tolerance As Double
) As Brep
- Type: System.Collections.GenericIEnumerableBrep
must contain more than one Brep.
- Type: SystemDouble
the tolerance to use when merging.
Single merged Brep on success. Null on error.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.16