Hello
here is my way, putting an integer value at each naked edges. Smoothing the weigths, then trying to find the circle …
Still need to link the ends, sort end points choose the one that are far from the naked edges, find the centroid, connect the centroid
You will need Nautilus plugin
centerline mesh.gh (79.9 KB)
Seems to work with 4 tubes