@AndersDeleuran
Thank you for the link. Quite comprehensive package.
If I understood correctly (?), Rhino.Display.CustomDisplay only allows for curve/polyline objects, but works in procedural mode.
For 3D objects using eg. DrawViewportMeshes, would need to switch to SDK mode.
Yup that’s correct. One could probably implement a display conduit in procedural mode as well, but the Grasshopper component SDK drawing methods are likely a lot simpler to implement. For a shaded cylinder, I think you would need to cast to brep and use these two methods:
Thanks for the link to the gitHub! It took me a couple of hours to understand the preview via python components but when I had your examples I immediately could follow along! Saving my day