Fishnet pattern from mesh vertices

Hi everyone! I’m not very experienced with grasshopper.
What I am tring to do is to draw a fishnet-like pattern on a mesh running a polyline throught its vertices, diagonally, first in one direction then in the opposite one, as you can see in the image.

The problem is that the vertices come in a single list and I can’t figure our how I can create the right pattern to achieve this.

Any help is very appreciated! :pray:
Cheers

You might be able to borrow from what’s shown in this discussion:

1 Like