Need help: compute centerline through a 3D model

I’m maybe this can help: