Diamond-shaped grid structure on undulating surface

Hello Grashoppers,
I would like to make a diamond-shaped grid on a surface I want to shape later. I want to make the grid as a beam structure between which there will be panels (closed and transparent surfaces). In doing so, I want the ends of the grid to be tapered. Does anyone have experience with setting up such a script?