The way the number of points decreases along the Z-axis

I want to create a grid using Grasshopper on a “3D surface modelled in Rhinoceros”.

I want that grid to be finer with a smaller Z-axis (bottom) and larger with a larger Z-axis (top).

I am a beginner. It would be helpful if you could be more specific.

Grasshopper: 1.0.0007
Rhinoceros: 7.30.23163.13002

Please post at least a Rhino file with your surface or a Grasshopper file of what you have so far.

A sketch of what you want to achieve would also clarify things a little more than your explanation.

To learn more about lists and data trees, you can study the Modelab primer.

https://modelab.gitbooks.io/grasshopper-primer/content/1-foundations/1-foundations.html

Thanks for the replies.
The files are these.

gh_test.3dm (3.4 MB)

1017flame.gh (20.2 KB)

1017flame.gh (20.2 KB)

Not based on your file, but is this the type of grid you are looking for?

Thanks, basically yes.
I just want to do this with a 3D surface made in Rhino.

Basicly, you need to determine the U and V coordinates on the surface:

  • using graphmapper you determine the irregular ones
  • using range you determine the regular ones.

I used python (propably incorrectly, but well it works) just to combine these two values to make it look like the output from MD Slider → you can use native gh components for that but it’s wierdly complicated

somehowItWorks.gh (18.4 KB)

1 Like

as far as i understood your sketchs you want to creat a diamond pattern rigth?
i found a solution if you treat´the sides seperatly


1017flame.gh (21.7 KB)
found it in the primer
http://grasshopperprimer.com/en/1-foundations/1-5/4_working-with-data-trees.html

EDIT:
found a solution for the whole surface:
i set the graphmappers range to 0.5 “mirrored” the results and merges them.
This script is based on the surface UV so i you are having a problem on other surfaces you migth need to swap UV in rhino with the direction command - hope this helps.
1017flame.gh (53.1 KB)

3 Likes