Extract Centreline from 3D Mesh Tube

Hi All, I have attached some 3D mesh tubes to get a centreline from those. I can’t find an approach using Grasshopper. I had tried hull but need to bear in mind the pipe path as the centreline.

Anyone have a grasshopper approach will be greatly appreciated!!

3D_MESH_PIPE.3dm (272.2 KB)

1.gh (16.5 KB)


you can go this way