RhinoCommon API
BrepCreateBooleanDifference Method (Brep, Brep, Double) | 
            Compute the Solid Difference of two Breps.
            
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
public static Brep[] CreateBooleanDifference( Brep firstBrep, Brep secondBrep, double tolerance )
Public Shared Function CreateBooleanDifference ( firstBrep As Brep, secondBrep As Brep, tolerance As Double ) As Brep()
Parameters
- firstBrep
 - Type: Rhino.GeometryBrep
First Brep for boolean difference. - secondBrep
 - Type: Rhino.GeometryBrep
Second Brep for boolean difference. - tolerance
 - Type: SystemDouble
Tolerance to use for difference operation. 
Return Value
Type: BrepAn array of Brep results or null on failure.
The solid orientation of the breps make a difference when calling this function