M_Rhino_Geometry_Brep_MergeBreps - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.MergeBreps 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) Version: Rhino 6.0

Syntax

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

Parameters

 

brepsToMerge
Type: System.Collections.Generic.IEnumerable(Brep)
must contain more than one Brep.
tolerance
Type: System.Double
the tolerance to use when merging.

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
Rhino.Geometry Namespace
Brep.JoinBreps(IEnumerable(Brep), Double)

⚠️ **GitHub.com Fallback** ⚠️