This topic provides a reference table for all automatic type conversions to mesh, sorted by merit.
Fair Conversions
This section lists all fair
conversions to the mesh 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 |
|---|---|
| B-Rep | Creates a mesh approximation of a surface. |
| box | Creates a box mesh with one facet per side. |
| cage | A mesh whose vertices lie on the naked points of the cage is created. |
| curve | Creates a single facet mesh covering the interior of a rectangular curve. |
| rectangle | Creates a single facet mesh covering the interior of the rectangle. |
| region | Triangulates the region into a mesh. |
| sphere | Creates a low polygon approximation of the sphere. |
| SubD | Creates a mesh approximation of the SubD limit surface. |
| surface | Creates a mesh approximation of a surface. |
| tube | Creates a low polygon approximation of the tube. |
Plausible Conversions
This section lists all plausible
conversions to the mesh 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 |
|---|---|
| identifier | Duplicates the referenced Rhino mesh object. |
Strange Conversions
This section lists all strange
conversions to the mesh 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 signals a mistake in the algorithm design, which is why this conversion level is the default for showing conversion warnings. Examples in this category include the conversion from decimal numbers to languages, or from views to meshes. Any strange conversion can also be achieved through the explicit use of standard components.
| From | Explanation |
|---|---|
| view | Create a mesh representing the view frustum. |