Brep changing z height and map to box

Hi, everyone. I’m new in gh.
I’ve searched a lot but i couldn’t apply solutions into my case.
Thanks in advance :wink:

  1. How can i array this (closed)polysurface into designated box?

  2. Also i want to make this polysurface’s center-point height varing and make 3-4types difference.

  3. I want to make geometry (3-4types) make gradient pattern through attractor curve.

I need your help guys
polysurface.3dm (660.7 KB)