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