Grasshopper Knitting, Weaving Question

Hello there!

I hope you are all doing well, I have been trying out to make the knitting pattern below attached as a image file.

I searched a little bit and tried to learn the logic of weaving scripts but most of the files i was trying out was working with simple UV and I could not get how to achieve this with a grid with curvature, maybe i can assign the grid myself? I am attaching also an example grasshopper file. I need to apply this to a modelled surface from rhino.

Thanks in advance,
merve

Surface2WeaveScript.ghx (116.9 KB)

Check out mesh+