Moving Z points of a rectangular array

Hello all,

I’m trying to create a rectangular array (say 10x10) of points that have different heights following a sine wave in X and Y.
I’ve started from a single point in 0 that I’ve arrayed. Now when I try to move them, only the first row changes (the following can change also using cross reference but they repeat the first row.
Does anyone know how to make them act like a real surface (waving in both directions)?
Thanks in advance,

A grid of 3D points can be created as simply as this, given appropriate Z values.

grid_2021Nov26a

Or one can Move 2D grid points in the Z direction.


SinewavySrf_re.gh (8.8 KB)

Thank you very much! Indeed an expression is the best way to do it. I was wondering why only the x points moved and not the y…

1 Like