Click or drag to resize

BrepSplit Method (IEnumerableGeometryBase, Vector3d, Boolean, Double)

Splits a Brep into pieces using a combination of curves, to be extruded, and Breps as cutters.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.13
public Brep[] Split(
	IEnumerable<GeometryBase> cutters,
	Vector3d normal,
	bool planView,
	double intersectionTolerance


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.

Return Value

Type: Brep
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 chosen, 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.
See Also