Click or drag to resize

BrepWireCut Method (IEnumerableCurve, Vector3d, Double, Boolean, Double, Boolean, Brep, Brep)

Cuts this solid brep with extrusions of closed planar curves

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public bool WireCut(
	IEnumerable<Curve> closedCurves,
	Vector3d direction,
	double depth,
	bool bothSides,
	double tolerance,
	bool splitKinkyFaces,
	out Brep[] keptPieces,
	out Brep[] cutAwayPieces
)

Parameters

closedCurves
Type: System.Collections.GenericIEnumerableCurve
Closed cutting curves. All are extruded along the same direction.
direction
Type: Rhino.GeometryVector3d
Extrusion direction of the cutters.
depth
Type: SystemDouble
Extrusion depth. RhinoMath.UnsetValue or a value <= 0 cuts all the way through.
bothSides
Type: SystemBoolean
Extrude the cutters to both sides of the curves. Ignored when cutting through.
tolerance
Type: SystemDouble
Intersection and boolean tolerance, typically the document absolute tolerance.
splitKinkyFaces
Type: SystemBoolean
Split output pieces along creases.
keptPieces
Type: Rhino.GeometryBrep
Pieces that remain after the cut (boolean difference side).
cutAwayPieces
Type: Rhino.GeometryBrep
The cut-away pieces (boolean intersection side).

Return Value

Type: Boolean
true if successful.
See Also