Click or drag to resize

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

Cuts this solid brep with a single open cutting curve. The curve is extruded along direction into a sheet, then along trimDirection to close the sheet into a solid cutter.

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

Parameters

openCurve
Type: Rhino.GeometryCurve
Open cutting curve.
direction
Type: Rhino.GeometryVector3d
First extrusion direction (the wire sweep).
trimDirection
Type: Rhino.GeometryVector3d
Second extrusion direction that closes the cutter.
depth
Type: SystemDouble
Depth along direction. RhinoMath.UnsetValue or a value <= 0 cuts through and skips trim capping.
trimDepth
Type: SystemDouble
Depth along trimDirection. Ignored when cutting through.
bothSides
Type: SystemBoolean
Extrude both ways along direction.
trimBothSides
Type: SystemBoolean
Extrude both ways along trimDirection.
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