RhinoCommon API
SilhouetteComputeDraftCurve Method (GeometryBase, Double, Vector3d, Double, Double) |
Computes draft curve silhouettes of a shape.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0

public static Silhouette[] ComputeDraftCurve( GeometryBase geometry, double draftAngle, Vector3d pullDirection, double tolerance, double angleToleranceRadians )
Public Shared Function ComputeDraftCurve ( geometry As GeometryBase, draftAngle As Double, pullDirection As Vector3d, tolerance As Double, angleToleranceRadians As Double ) As Silhouette()
Parameters
- geometry
- Type: Rhino.GeometryGeometryBase
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion. - draftAngle
- Type: SystemDouble
The draft angle in radians. Draft angle can be a positive or negative value. - pullDirection
- Type: Rhino.GeometryVector3d
3d direction for the mold to be pulled in, directed away from the object. - tolerance
- Type: SystemDouble
Tolerance to use for determining projecting relationships. Surfaces and curves that are closer than tolerance, may be treated as projecting. When in doubt use RhinoDoc.ModelAbsoluteTolerance. - angleToleranceRadians
- Type: SystemDouble
Angular tolerance to use for determining projecting relationships. A surface normal N that satisfies N o cameraDirection < Sin(angleToleranceRadians) may be considered projecting. When in doubt use RhinoDoc.ModelAngleToleranceRadians.
Return Value
Type: SilhouetteArray of silhouette curves.
