Brick Wall

can anyone help me for the error component which i would like to create the brick wall as a surface with the hole in the middle thank you in advance
brick Wall 01.3dm (79.6 KB)
brick01.gh (12.6 KB)

The component takes edges(curves) but you are linking it with a surface