How to make 3d facade patterns using grasshopper(like weave pattern)

I want to make a pattern like a picture.
But I don’t know which logic to use.
What should I do?