How create curve according to list number (1-1, 2-2, 3-3.....)

Hi guys
I want to create 100 curves from listed points (1-100). But I want to create all lines according to match the list number.

For example,
7th numbers from two lists will create a line.

I want to create all lines like that to create a pattern.

creating_curve_numberbynumber.gh (11.1 KB)

*I used surface to populate points.

Like this?

creating_curve_numberbynumber_re.gh (7.9 KB)

-Kevin

1 Like

The easiest way to do this is simply graft the points coming out of each Populate 2D component so that each point is on it’s own branch. Then, use a Merge component to merge the two datatrees together so that the point on the first branch of the first Populate 2D component is merge with the point on the first branch on the second Populate 2D component… and so on. I then use a Polyline component instead of a Line component… but you could isolate each point on the branch (now there are only two points per branch) and use those to create a Line if you wanted. A polyline component seemed simpler.


creating_curve_numberbynumber_Datatree.gh (8.3 KB)

1 Like

Look at me creating datatrees when a simple list would do the trick.

thank you. that’s the solution.

Well, @kev.r solution is probably simpler.