Points from a list of vectors

Hi I was trying to improve an old definition that used long hand move to generate points from a series of inputs.

The inputs are distances that when added cumulatively provide a point which is then connected by a line.

Could I get some pointers as to how I can utilise a list to simplify the point generation.

  • I have a base point

  • Generate a series of vectors from a distance

  • Pt1 + v1 = Pt2, Pt2+v2+Pt3, Pt3+v3=Pt4…etc where v is the vector

I am looking to use a list to read a list and cumulatively add to the previous point

Any help appreciated

List_pts_from_vectors_long_way.gh (29.7 KB)

https://discourse.mcneel.com/t/creating-shape-using-vectors/