M_Rhino_Geometry_Brep_CreateBooleanDifference - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.CreateBooleanDifference Method (Brep, Brep, Double)

Compute the Solid Difference of two Breps.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Brep[] CreateBooleanDifference(
	Brep firstBrep,
	Brep secondBrep,
	double tolerance
)

VB

Public Shared Function CreateBooleanDifference ( 
	firstBrep As Brep,
	secondBrep As Brep,
	tolerance As Double
) As Brep()

Parameters

 

firstBrep
Type: Rhino.Geometry.Brep
First Brep for boolean difference.
secondBrep
Type: Rhino.Geometry.Brep
Second Brep for boolean difference.
tolerance
Type: System.Double
Tolerance to use for difference operation.

Return Value

Type: Brep[]
An array of Brep results or null on failure.

Remarks

The solid orientation of the breps make a difference when calling this function

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
CreateBooleanDifference Overload
Rhino.Geometry Namespace

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