BrepSplit Method (IEnumerableGeometryBase, Vector3d, Boolean, Double)
Splits a Brep into pieces using a combination of curves, to be extruded, and Breps as cutters.
RhinoCommon (in RhinoCommon.dll)
public Brep Split(
Public Function Split (
cutters As IEnumerable(Of GeometryBase),
normal As Vector3d,
planView As Boolean,
intersectionTolerance As Double
) As Brep()
- Type: System.Collections.GenericIEnumerableGeometryBase
The curves, surfaces, faces and Breps to be used as cutters. Any other geometry is ignored.
- Type: Rhino.GeometryVector3d
A construction plane normal, used in deciding how to extrude a curve into a cutter.
- Type: SystemBoolean
Set true if the assume view is a plan, or parallel projection, view.
- Type: SystemDouble
The tolerance with which to compute intersections.
A new array of Breps. This array can be empty.
A Curve in cutters is extruded to produce a surface to use as a cutter. The extrusion direction is choosen, as in the Rhino Split command,
based on the properties of the active view. In particular the construction plane Normal and whether the active view is a plan view,
a parallel projection with construction plane normal as the view direction. If planView is false and the curve is planar then the curve
is extruded perpendicular to the curve, otherwise the curve is extruded in the normal direction.
Rhino for WindowsSupported in: 6.18