Create nurbs curve through all points of polygon.......?

Hi,
I know this is something really simple but I really cannot figure it out! I’m trying to connect all points of a polygon to their neighbouring points, passing through the centroid.

I can’t get this right… anyhelp? Attached gh definition to explain more perhapsQUESTIONPOLYGON.gh (9.5 KB)

thanks!

See attached

Polyline_CurveViaPolyPoints_V1A.gh (13.0 KB)

cool thanks!

Get the trad update as well:

Polyline_CurveViaPolyPoints_V1B.gh (117.2 KB)

thank again!
altered it a bit but was a reall good basis for what i’m trying with robotic weding :slight_smile:

(Attached)