Constructors
Properties
Gets or sets the absolute tolerance for the unrolling operation.
Absolute tolerance is used in the evaluation of new entities, such as intersections, re-projections and splits.
In the current implementation, absolute tolerance is used in tessellating rails, fitting curves and pulling back trims.
Gets or sets a value determining whether geometry should be exploded.
Gets or sets a value determining whether spacing should be exploded.
Gets or sets the relative tolerance for the unrolling operation.
Relative tolerance is used in the evaluation of intrinsic properties, such as computations "along" the surface or brep.
In the current implementation, relative tolerance is used to decide if a surface is flat enough to try to unroll. That helps ease the scale dependency. The surface has to be linear in one direction within (length * RelativeTolerance) to be considered linear for that purpose. Otherwise smash will ignore that tolerance and unroll anything.
Methods
Adds a curve that should be unrolled along with the surface/brep.
Parameters:
| curve (Curve) | The curve. |
Adds curves that should be unrolled along with the surface/brep.
Parameters:
| curves (IEnumerable<Curve>) | An array, a list or any enumerable set of curves. |
Adds text dots that should be unrolled along with the surface/brep.
Parameters:
| dotLocations (IEnumerable<Point3d>) | An array, a list, or any enumerable set of dot locations. |
| dotText (IEnumerable<string>) | An array, a list, or any enumerable set of dot strings. |
Adds points that should be unrolled along with the surface/brep.
Parameters:
| points (IEnumerable<Point3d>) | An array, a list or any enumerable set of points. |
Adds text dots that should be unrolled along with the surface/brep.
Parameters:
| dots (IEnumerable<TextDot>) | An array, a list or any enumerable set of text dots. |
Adds a point that should be unrolled along with the surface/brep.
Parameters:
| point (Point) | A point. |
Adds a text dot that should be unrolled along with the surface/brep.
Adds a point that should be unrolled along with the surface/brep.
Parameters:
| point (Point3d) | A point. |
Adds a text dot that should be unrolled along with the surface/brep.
Parameters:
| dot (TextDot) | A text dot. |
Given an unrolled curve, returns the index of the source, or following curve.
Parameters:
| curve (Curve) | An unrolled curve returned by Unroller.PerformUnroll. |
Returns: The index of the curve added by Unroller.AddFollowingGeometry if successful, otherwise -1.
Given an unrolled text dot, returns the index of the source, or following text dot.
Parameters:
| dot (TextDot) | An unrolled text dot returned by Unroller.PerformUnroll. |
Returns: The index of the text dot added by Unroller.AddFollowingGeometry if successful, otherwise -1.
public Brep[] PerformUnroll(out Curve[] unrolledCurves, out Point3d[] unrolledPoints, out TextDot[] unrolledDots)
Executes unrolling operations.
Parameters:
| unrolledCurves (out Curve[]) | An array of unrolled curves is assigned during the call in this out parameter. |
| unrolledPoints (out Point3d[]) | An array of unrolled points is assigned during the call in this out parameter. |
| unrolledDots (out TextDot[]) | An array of unrolled text dots is assigned during the call in this out parameter. |
Returns: An array of breps. This array can be empty.