MeshSplitOptions

ReferencesSince v9.0
public class MeshSplitOptions
Contains a set of data to pass to mesh splitting operations.
Remarks: This is the base of MeshBooleanOptions, so an instance used for mesh booleans can also be passed to the splitting methods that take these options.

Properties

CancellationToken

#Since v8.0
A token that allows to request the cancellation of the operation.
public CancellationToken CancellationToken { get; set; }

CompleteOpenCuts

#Since v9.0

Gets or sets whether cuts that stop inside the mesh are completed.

An intersection curve that stops inside the mesh does not separate one side from the other, so the mesh is returned whole. When this is enabled, each such open end is joined to the nearest border of the mesh, or to another cut, by the shortest path along existing edges or straight across a quad or an n-gon between two of its vertices.

This yields a best-effort cut where the intersection alone leaves the answer undetermined: the added stretch follows the mesh rather than the cutter, so it is not an intersection result. No vertex is added or moved; faces crossed straight are re-tiled from their own vertices. Cuts that already close, or that already run from border to border, are unaffected.

public bool CompleteOpenCuts { get; set; }
The default value is false.

CreateNgons

#Since v9.0
Gets or sets whether ngons are created along the split ridge, to preserve the boundary look.
public bool CreateNgons { get; set; }
The default value is true.

OpenCutEnds

#Since v9.0
Gets the ends of the intersections that stop inside a mesh, as found by the last operation that used these options: empty when there were none, null when RequestOpenCutEnds was disabled.
public Point3d[] OpenCutEnds { get; }

ProgressReporter

#Since v8.0
Gets or sets the object that is responsible to keep track of calculation progression.
public IProgress<double> ProgressReporter { get; set; }

RequestOpenCutEnds

#Since v9.0

Gets or sets whether the operation reports where intersections stop inside a mesh it splits.

Such a cut separates nothing. When this is enabled, OpenCutEnds holds the ends of those cuts after the call. Nothing is computed when it is disabled.

public bool RequestOpenCutEnds { get; set; }
The default value is false.

SplitAtCoplanar

#Since v9.0
Gets or sets whether coplanar areas are separated. If false, coplanar areas will not be separated.
public bool SplitAtCoplanar { get; set; }
The default value is true.

TextLog

#Since v8.0
Gets or sets a text log to write computed operations into.
public TextLog TextLog { get; set; }

Tolerance

#Since v8.0
Gets or sets a tolerance value for intersections and overlaps. Intersection.MeshIntersectionsTolerancesCoefficient
public double Tolerance { get; set; }
The default value is RhinoMath.ZeroTolerance*10. However, this is only a reference value for testing and geometry developers should generally use the document tolerance, multiplied by Intersection.MeshIntersectionsTolerancesCoefficient.