2d truss help

hello,
I have got a list of curve and I want to put 2d truss between them, but I cant write the code to make them happened, unless I select the curves one by one using List Item, which is very inefficient (like in the picture)

code29.4.gh (22.5 KB)

30.4.3dm (1.1 MB)

code29.4_re.gh (91.6 KB)

2 Likes

thank you very much