Silhouette
ReferencesInformation about silhouette curves that are generated from geometry (surfaces, brep faces, meshes)
Properties
Gets the component index corresponding with this silhouette curve. This field is only set when the entire silhouette curve is part of some geometry component.
Gets the type of this silhouette curve.
Methods
Compute silhouettes of a shape for a perspective projection.
public static Silhouette[] Compute()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
silhouetteType,
Types of silhouette to compute.
perspectiveCameraLocation,
Location of perspective camera.
tolerance,
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,
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.
clippingPlanes,
Optional collection of clipping planes.
cancelToken
Computation cancellation token.
Returns: Array of silhouette curves.
Compute silhouettes of a shape for a perspective projection.
public static Silhouette[] Compute()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
silhouetteType,
Types of silhouette to compute.
perspectiveCameraLocation,
Location of perspective camera.
tolerance,
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
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.
Returns: Array of silhouette curves.
Compute silhouettes of a shape for a parallel projection.
public static Silhouette[] Compute()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
silhouetteType,
Types of silhouette to compute.
parallelCameraDirection,
Direction of parallel camera.
tolerance,
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,
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.
clippingPlanes,
Optional collection of clipping planes.
cancelToken
Computation cancellation token.
Returns: Array of silhouette curves.
Compute silhouettes of a shape for a parallel projection.
public static Silhouette[] Compute()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
silhouetteType,
Types of silhouette to compute.
parallelCameraDirection,
Direction of parallel camera.
tolerance,
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
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.
Returns: Array of silhouette curves.
Compute silhouettes of a shape for a specified projection.
public static Silhouette[] Compute()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
silhouetteType,
Types of silhouette to compute.
viewport,
Projection.
tolerance,
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,
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.
clippingPlanes,
Optional collection of clipping planes.
cancelToken
Computation cancellation token.
Returns: Array of silhouette curves.
Compute silhouettes of a shape for a specified projection.
public static Silhouette[] Compute()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
silhouetteType,
Types of silhouette to compute.
viewport,
Projection.
tolerance,
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
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.
Returns: Array of silhouette curves.
Computes draft curve silhouettes of a shape.
public static Silhouette[] ComputeDraftCurve()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
draftAngle,
The draft angle in radians. Draft angle can be a positive or negative value.
pullDirection,
3d direction for the mold to be pulled in, directed away from the object.
tolerance,
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,
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.
cancelToken
Computation cancellation token.
Returns: Array of silhouette curves.
Computes draft curve silhouettes of a shape.
public static Silhouette[] ComputeDraftCurve()
geometry,
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
draftAngle,
The draft angle in radians. Draft angle can be a positive or negative value.
pullDirection,
3d direction for the mold to be pulled in, directed away from the object.
tolerance,
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
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.
Returns: Array of silhouette curves.