This topic provides a reference table for all automatic type conversions to curve, sorted by merit.
Direct Conversions
This section lists all direct
conversions to the curve type. A direct conversion indicates a relation between very related types. Though note that even these conversions can fail due to out-of-bounds issues, or they may narrow due to reduction. Examples in this category include conversions from circles to curves, or from integers to numbers.
| From | Explanation |
|---|---|
| arc | Converts the arc into a curve representation. |
| circle | Converts the circle into a curve representation. |
| line | Converts the line into a curve representation. |
| polyline | Converts the polyline into a curve representation. |
| rectangle | Converts the rectangle into a curve representation. |
| region | Extracts the outer boundary curve of the region. |
| triangle | Converts the triangle into a curve representation. |
Plausible Conversions
This section lists all plausible
conversions to the curve type. A plausible conversion indicates a non-straightforward, but still a reasonable conversion between two types sharing a salient quality, or where one is an obvious sub-type of the other. Any plausible conversion can also be achieved through the explicit use of standard components. Examples in this category include conversions from points to planes, or from boxes to rectangles.
| From | Explanation |
|---|---|
| B-Rep | Extracts the naked edge curves of the boundary representation. |
| box | Extracts the base outline curve of the box. |
| identifier | Duplicates the referenced Rhino curve object. |
| mesh | Extracts the naked edges of the mesh. |
| sphere | Extracts the equatorial curve of the sphere. |
| SubD | Extracts the naked edge curves of the subdivision surface. |
| surface | Extracts the edge curves of the surface. |
| tube | Extracts the base circle curve of the tube. |