How do i connect horizontal elements between 2 points on vertical lines?

I am trying to construct a canopy of vertical lines that are held together by lines going across. I have divided the lines into points, but i can’t seem to figure out how to connect those points by horizontal lines, preferably in a random manner.

(For example connecting point 1 to 1, 3 to 3 etc)

Thank you for your help!


grid surface.gh (9.4 KB)

(In the above case i used a plane, but another way i’ve done it is made points in rhino and turned them into vertical pipes in grasshopper- still can’t figure out how to connect them horizontally. )
Your help is appreciated!

How can it be random connections like you said 1 to 1 and 3 to 3 etc?
Anyway… why don’t you have a go with lunchbox plugin?


grid surface_re.gh (18.0 KB)