Iam starting in grasshoper and i want to model a structure with coordinates.I hope someone can help me.
I have three lists: the first contains coordinates of nodes, the second contains node numbers, and the third contains lines names along with their corresponding nodes.
List 1 (coordinates):
0,0,0
0,1,0
0,3,4
4,3,5
5,4,1
the thing node number might be not necessarily progressive numbers and they don’t start from 0 make key/value fail-safe (otherwise you could just list item with i-1 and stuff…)
actually you could also just input the Panel with point coordinates directly as Points, because they are already in a good {x,y,z} format, like this:
be aware that Keys are sensitive to the type of value you are supplying, in this case they are integers, that’s why the content of the Panel (which is a string) needs to be passed through an Int first