Multi dimensional Weave

I’m trying to create weave pattern that can weave through multiple points but have no success so far
The weave not only move side to side but also have to move up and down as well
So far I only managed to establish the points for the weave but have no clue how to connect them diagonally
Below is the scrip i’m working on and the desired effect
Double Weave.gh (21.6 KB)
GH%20script%20help%201 GH%20script%20help%202

Model weave .3dm (69.7 KB)