generative modeling for Rhino
Does anyone know what the logic is behind the draw order of multiple custom preview components that have overlapping geometry?
I have 2 custom preview components in my def. One has solids as input, the other has PART of the wireframes of these solids as input.
The geometry of the second component gets hidden due to the other custom preview...
Thanks for looking in!
Curves are showing through the solids, or completely obscuring them? Can you upload a screen shot?
In general there are some issues with custom display which cause curves to show through surfaces, polysurfaces, and meshes; as far as I know having one or multiple custom preview components doesn't make a difference.
I also found some odd thing, with custom display on pipes, even with the curves turned off that where piped, a curve is displayed through geometry where a custom previewed pipe is behind the geometry. http://www.grasshopper3d.com/video/grasshopper-flowline-modeling
This is the same phenomenon - it's the "edge" of the pipe surface being treated like a curve. (All Breps and surfaces in custom display render their edges in the same manner as curves, if I'm not mistaken.) If you mesh the pipe before previewing this effect can be avoided.
yea I know, the nurbs display as edge always annoyed me :)
the edges of the solids completely obscure the curves (if i turn off the custom preview of the solids, the curves appear)