I tried to use Voronoi 3D and here are the steps:
1, create radom points on the bifurcation;
2, build Voronoi 3D cells, then explode all cells into lines;
3, fillet out the lines inside the bifurcation;
4, using line length to fillet out the lines furhter.
However, I can only get the lines showing the centerline trend with lots of “noises”.
Attached is my GH file. Any suggestions and ideas are so appreciated since this task (to create 3d centerline) has confused me so many years! Voronoi3D-centerline-R7.gh (237.6 KB)
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)
Thank you so much for your prompt reply, @laurent_delrieu!
I am studying your code. I have Nautilus plugin (it’s so cool).
Actually your method is a little beyond me and I need more time to understand each step.
I will be back to you soon.
I understand, some months ago I had no idea of these tools. Globally you could look at tween curve discussions.
There is a slight problem with Proximity has it searches for 2 points, it is OK if points are inside the curve but if they are ends it generate some problems. Topologizer from Daniel Piker could help.
And also your problem is more a Medial Axis problem, there was some discussions on it in 3D but I think it is more appropriate for Solids.