M_Rhino_Geometry_Brep_MergeBreps - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public static Brep MergeBreps(
IEnumerable<Brep> brepsToMerge,
double tolerance
)
VB
Public Shared Function MergeBreps (
brepsToMerge As IEnumerable(Of Brep),
tolerance As Double
) As Brep
- brepsToMerge
- Type: System.Collections.Generic.IEnumerable(Brep)
must contain more than one Brep. - tolerance
- Type: System.Double
the tolerance to use when merging.
Type: Brep
Single merged Brep on success. Null on error.
Supported in: 6.0.16224.21491, 5D58w
Brep Class
Rhino.Geometry Namespace
Brep.JoinBreps(IEnumerable(Brep), Double)