This topic provides a reference table for all automatic type conversions to arc, sorted by merit.
Direct Conversions
This section lists all direct
conversions to the arc type. A 'Direct' conversion indicates a relation between very related types, such as integers and numbers, or 2D and 3D points. Though note that even these conversions can fail due to out-of-bounds issues, or be narrowing due to reduction.
| From | Explanation |
|---|---|
| circle | Circled are converted to full arcs. |
Fair Conversions
This section lists all fair
conversions to the arc type. A 'Fair' conversion indicates the types involved are closesly related in a data layout sense, though not necessarily in a conceptual sense. For example booleans and integers, or points and vectors. Although these conversions may fail or narrow, it is nevertheless considered decent practice to rely upon them in algorithms.
| From | Explanation |
|---|---|
| sphere | Extracts the equatorial circle of the sphere. |
Plausible Conversions
This section lists all plausible
conversions to the arc type. A 'Plausible' conversion indicates a non-straightforward, but a still reasonable conversion between two types that share a salient quality, or where one is an obvious sub-type of the other. For example curves and intervals, or points and planes. Any plausible conversion can also be achieved through the explicit use of standard components.
| From | Explanation |
|---|---|
| angle | Creates a unit arc with the specified sweep angle. |
| curve | Creates an arc representation of the curve, or the spanning circle if the curve is not arc-shaped. |
| identifier | Extracts the arc of the referenced Rhino curve object. |
| plane | Creates a circular unit arc oriented on the plane. |
| point2 | Creates a circular unit arc centered on the 2D point. |
| point3 | Creates a circular unit arc centered on the point. |
| polyline | Creates the spanning circle containing the polyline. |
| rectangle | Creates the spanning circle containing the rectangle. |
| triangle | Creates the spanning circle containing the triangle. |
| tube | Extracts the circular arc from the tube base. |
| vector | Creates a full arc oriented perpendicular to the vector. |
Strange Conversions
This section lists all strange
conversions to the arc type. A 'Strange' conversion indicates a peculiar, but occasionally sensible, translation between types. However, it is equally likely that the conversion was not intended and thus represents a mistake in the algorithm design, which is why this conversion level is the default for showing conversion warnings in the Grasshopper interface. Examples in this category include the conversion between colours and booleans, or between circles and triangles. Any strange conversion can also be achieved through the explicit use of standard components.
| From | Explanation |
|---|---|
| box | Creates the spanning circle of the box. |
| complex number | Creates a circular arc intersecting the complex number coordinate. |
| integer | Creates a circular arc with the integer as radius. |
| number | Creates a circular arc with the number as radius. |