I generated this mesh with MeshyAI, the mesh is unusable; i was wondering is there a way to extract the structure into simple curves ? Not the wireframe, but each structural element should have a line passing trough the middle. I tried Cockroach’s plugin exoskeleton it did not work.
You might not realise this, but it’s no simple endeavour.
Your mesh has a clean topology, but the triangulation is very uneven and all over the place. Finding ideal skeletal center lines for this would very difficult, especially given what you probably expect as an outcome, namely something better than the mesh.
However, it would be a crappy line graph with tiny segments and all sorts of weird, unresolved situations that would require even more scripting to clean the mess up.
I’m sorry to say, but this is kind of a garbage in, garbage out situation, if you ask me.
I’m guessing that you want to use Multipipe or something similar on the line graph to extract a clean geometry, but that unfortunately requires the input to be pristine as well.
Hey, thanks. I found a simpler way I think; Use contour (lots of contours) then find area center of each contour curve and finally you get points, but I don’t know how to connect the points together to make the structure. Thanks for helping.
Centroids per slice (or contour) are not enough. You also need to consider the information about which contour connects to which in the next slice. This would give a “valid” line graph. The trouble is that this doesn’t change the fact that the input geometry is of poor quality, which will be reflected by the line graph.
There are also other issues with this approach, like struts at a shallow angle to the slicing plane, junctions, and the result will also vary with the slicing direction.