Hello, I am a long time user of rhino and a novice to grasshopper. I am trying to develop a script that would allow me to select a surface in rhino and give it layer lines like from a 3d printer (example image attached).
Does anyone have a good idea how to do this/where to start?
As you didn’t upload a geometry and a script. Sending now a script is quite not useful ad it will surely not be adapted to your geometry. You speak of surface I used a brep. You didn’t say if the layer must be strinctly inside the volume (brep) but you speak of surface. If it is just for rendering a texture and displacement is surely more easy to do… So clear question more clear answer.
there is just 6 components you just need to upload Dendro plugin. But you could also use pipe after the Contour component.