Grid structure

Hello guys!

I try to create 2 grids one inside the other with different dimensions like a metallic roof grid. I know where is the problem but i have no idea how to fix it. I would be appreciated if you could help me.

2_dim_grid.gh (15.6 KB)

Thanks in advance!

2_dim_grid_re.gh (19.5 KB)

HS_Kim thank you for one more time…man really I try a lot every time before creating a topic I didn’t create it with any problem I have but I try to learn this thing and I suppose that maybe I won’t achieve to make a script without help… :confused: