Weaving structure, different Patterns

Dear Members, I tried to create a textile weaving pattern with grasshopper. I managed to create a simple plain weave with a SqGrid. grasshopper1.gh (17.7 KB)

But now I tried to create something similar to this:

Do you guys have maybe a clue how i can change the file to transform it in the second pattern?

Thanks for any kind of help,
lots of greetings!

This will be helpful .


Hi, I just made a simple attempt to follow the logic.
Hope this can help you a little…

weave.gh (12.9 KB)