Create mesh between two projected patterns

Hi,
I want to create brick-like elements placed onto a surface by connecting two patterns. One pattern is the version of the other, shifted points a little bit. I tried to do with meshes but I cannot figure it out how to define face numbers. I used ngon for planar organization but it did not work on 3D surfaces.
Thanks in advance.
question.gh (99.2 KB)

Assigned to Grasshopper category