algorithmic modeling for Rhino
Hello
I would appreciate if someone could point me to the right direction with list manipulation problem that I have.
This is my first Grasshopper definition, which I started yesterday, so probably it is something easy to do (?)
I try to create a surface out of a mesh (that looks like a vase). I need to create a grid of points on the mesh and interpolate them to create the surface. I need this because the parametrisation of the surface needs to be quite exact. To achieve this I extract contours in one direction and then split them with two planes. I sample points in each of the three sections using different densities.
Then, I need to create contours, in the other direction, based on the sample points.
Ideally, I would like to get all these points and create a surface out of them directly.
However, because I don't understand yet how to make a structured point grid out of the point lists, I try to just make contours in the opposite direction, which I can loft.
For the moment I cannot create all these contours all at once. I use sliders to specify a specific contour index and bake it into Rhino and then I loft them manually.
Here is the section of the GH definition that does the last contour creation:
Could you please help me in creating all the contours at one, so I can avoid exporting them one by one. In this way, I will be able to directly loft the surface with GH.
In this definition the 'Sample Contours' components are 'Divide Curve' components.
The components that write Top/Middle/Bottom Sections are 'List item' components (i=0, 1, 2 respectively), as well as those that write 'Get Rows' (i from slider).
The 'Get Rows' ones are flattened to provide a single list for interpolation.
Thanks in advance.
Stratos
Tags:
Hello Stratos
please upload your definition to take a look at. (sometimes it is difficult to recreate from screenshot)
cheers
alex
Hi
Thank you very much for having a look at this. I really appreciate it.
I attach a version of the GH definition that includes a representative sample mesh.
As a first step, I would like to get three lists of 'horizontal' contours and us them to lost a surface.
Currently, the definition can only be used to extract these contours one by one.
Ideally, I would like to make the surface directly out of the grid of points, because when lofting the parameterisation is affected/twisted. So, if this not so difficult to achieve, it would be preferable approach.
Thanks for your help.
Stratos
Thank you very much Alex.
I ended up using the first solution that you put in place.
I merged the interpolated curves (after removing any overlapping ones) and lofted them all together.
I definitely intent to find some time for studying GH lists and trees!
Thank you.
Stratos
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by