Is there a way to generate a curve along the center of a polygonal tube? I was looking into trying to iterate through all the rings and generate a curve along the average center. Wondering if there is an existing solve for this or if anyone knows a good way to do it. I'm really only at an intermediate/advanced with python,…
You could probably bend Xgen into doing it - The tube groom stuff basically does what you want. I'm not sure if it'll be able to give you a single centered spline though. It sounds like you've worked out how to write the code to me. Its just a question of how you feed it information. If you want a general solution, look…