T_Rhino_Geometry_Unroller - mcneel/rhinocommon-api-docs GitHub Wiki

Unroller Class

Represents the operation of unrolling a single surface.

Inheritance Hierarchy

System.Object
  Rhino.Geometry.Unroller
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public class Unroller

VB

Public Class Unroller

The Unroller type exposes the following members.

Constructors

 

Name Description
Public method Unroller(Brep) Initializes a new instance of the Unroller class with a brep.
Public method Unroller(Surface) Initializes a new instance of the Unroller class with surface.
  Back to Top

Properties

 

Name Description
Public property AbsoluteTolerance Gets or sets the absolute tolerance for the unrolling operation. Absolute tolerance is used in the evaluation of new entities, such as intersections, reprojections and splits.

In the current implementation, absolute tolerance is used in tessellating rails, fitting curves and pulling back trims.

Public property ExplodeOutput Gets or sets a value determining whether geometry should be exploded.
Public property ExplodeSpacing Gets or sets a value determining whether spacing should be exploded.
Public property RelativeTolerance 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.

  Back to Top

Methods

 

Name Description
Public method AddFollowingGeometry(Curve) Adds a curve that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(IEnumerable(Curve)) Adds curves that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(Point) Adds a point that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(Point3d) Adds a point that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(IEnumerable(Point3d)) Adds points that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(TextDot) Adds a text dot that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(IEnumerable(TextDot)) Adds text dots that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(Point3d, String) Adds a text dot that should be unrolled along with the surface/brep.
Public method AddFollowingGeometry(IEnumerable(Point3d), IEnumerable(String)) Adds text dots that should be unrolled along with the surface/brep.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FollowingGeometryIndex(Curve) Given an unrolled curve, returns the index of the source, or following curve.
Public method FollowingGeometryIndex(TextDot) Given an unrolled text dot, returns the index of the source, or following text dot.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PerformUnroll(List(Brep)) Executes unrolling operations.
Public method PerformUnroll(Curve[], Point3d[], TextDot[]) Executes unrolling operations.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️