Shift closed polyline start point method in grasshopper?

Hi,

How do you change the start point of a closed polyline in GH.

I came across @Helvetosaur query but unfortunately I couldn’t follow as I cant script.

TIA
H

_CrvSeam ?

(Seam in Gh)

You don’t need Python for this.

With a polyline, you have two choices:

  1. ignore vertices (white point)
  2. move start/end point to a different vertex (blue point)


seam_2024Jan21a.gh (9.9 KB)

1 Like

Well, if it’s a closed polyline, you can also just shift the point list and create a new polyline - which is what the script does IIRC.

Of course this will produce weird results with open polylines, but you can filter for that if necessary.

1 Like

Thanks guys. H