Hi, NOT saying at all this is “the” automated answer, but I thought it could be fun.
-
Divide the “Z” values of your points into domain sections:
-
Get the ‘average’ point of each one of these point groups (you could also use the bounding box centers) and connect them:
-
You could also fit a line through the original points to create a new plane whose Z vector is the line itself and use that as your “more local” coordinate system for the “Z’s” of your points:
polyline-through-pts.gh (349.5 KB)




