This topic provides a reference table for all automatic type conversions to plane, sorted by merit.
Fair Conversions
This section lists all fair
conversions to the plane type. A fair conversion indicates the types involved are closely related in a data layout sense, though not necessarily in a conceptual sense. Although these conversions may fail or narrow, it is nevertheless considered decent practice to rely upon them. Examples in this category include conversions from booleans to integers, or from curves to intervals.
| From | Explanation |
|---|---|
| arc | Extracts the base plane of the arc. |
| B-Rep | Extracts the plane of a flat, single-face polysurface. |
| box | Extracts the base plane of the box. |
| circle | Extracts the base plane of the circle. |
| curve | Extracts the plane of a planar curve; straight curves give the plane through their middle, normal to their direction. |
| line | Creates a plane whose normal matches the line direction. |
| mesh | Extracts the plane of a flat mesh. |
| polyline | Extracts the plane containing a planar polyline. |
| rectangle | Creates the plane containing the rectangle. |
| sphere | Extracts the equatorial plane of the sphere. |
| surface | Extracts the plane of a flat surface. |
| tube | Extracts the base plane of the tube. |
| vector | Creates a plane with the vector as the Z-axis direction. |
| view | Get the target plane of the view. |
Plausible Conversions
This section lists all plausible
conversions to the plane 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 |
|---|---|
| integer | Creates a plane parallel to XY at the specified elevation. |
| integer (big) | Creates a plane parallel to XY at the specified elevation. |
| number | Creates a plane parallel to XY at the specified elevation. |
| point2 | Creates a plane parallel to XY at the point location. |
| point3 | Creates a plane parallel to XY at the point location. |