Hello everyone,
I am currently working on a topology optimization task and have a 2D mesh, may I ask is there any workflow / ways that I can extract the medial axis (red curves) from the mesh or its smoothed naked curves? Thank you very much!
I had a similar problem and found an approach described here, which seems to be the same as the one used by the Nautilus component.
If you want a better understanding of the solution, take a look at steps one and two of the article.
I have another question @laurent_delrieu:
both workflows ( the one described in the link, or the one wrapped in your components), works for planar curves.
What if the curve is non planar (some curvature, like the boundary of a road I need to use for terrain cutting)? the axis is not in the middle anymore but it’s shifted depending on the position of the curves. do you have some ideas for that? I cannot find a stable solution…
Hello
this tools uses some Rhinocommon tool to make geometry, line becomes a planar surface, arc become part of cone. So if there is tool in Rhincommon that can generate a surface using a curve and a slope it could be possible to enhance the tool. BUT it will become difficult to have a reliable tool that output Breps.
When I need something reliable I often end with Clipper. Like his one
You are right it is a bit of a mess, I kept some old components.
“Medial Axis From Region TREE” is there to not mess with datatree
Not sure it is straight skeleton as contours curves are lines and arcs.
One day I must look at these tools and make some cleaning.