This topic provides a reference table for all automatic type conversions to B-Rep, sorted by merit.
Direct Conversions
This section lists all direct
conversions to the B-Rep 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 |
|---|---|
| box | Converts the box into a polysurface with six untrimmed faces. |
| region | Converts non-disjoint regions into planar surfaces. |
| sphere | Converts the sphere into a surface. |
| SubD | Converts SubDs of up to 10k faces into polysurfaces. |
| surface | Converts the surface into a single untrimmed face. |
| tube | Converts the tube into a surface. |
Fair Conversions
This section lists all fair
conversions to the B-Rep 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 | Creates a planar surface from the arc interior. |
| cage | Creates a polysurface from the cage volume boundary. |
| circle | Creates a planar surface from the circle interior. |
| curve | Creates a planar surface from the curve interior. |
| polyline | Creates a planar surface from the polyline interior. |
| rectangle | Creates a planar surface from the rectangle interior. |
| triangle | Creates a planar surface from the triangle interior. |
Plausible Conversions
This section lists all plausible
conversions to the B-Rep 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 surface, polysurface, or extrusion object. |
Strange Conversions
This section lists all strange
conversions to the B-Rep 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 | Creates a polysurface representing the view frustum. |