How can I extract a simplified polyline from an Organic mesh

Hello everyone,

I have generated an Organic mesh from an Archimedean solid using tOpos plug-in.

Now, I am trying to extract a simplified polyline (like a Wireframe) from the Organic mesh to use it in Multipipe component for further remodelling.

Thanks in advance for your time and assistance.

Ciao.
TZH

In grasshopper: Mesh edges
In Rhino: Dupedge

Are you looking for the mesh skeleton? There are various methods for this, (eg GCAL have this CGAL 5.2.2 - Triangulated Surface Mesh Skeletonization: User Manual ) however I’m not aware of any implented in grasshopper. One actually involves voronoi :rofl: I’ve only ever done it in 2D, but it should also work in 3D. In 2D to get the Centerline of a polygon, you sample the perimeter at high density and use these points to create a voronoi diagram. The Centerline will become visible, however you’ll need to remove a lot of extra lines. Most can be filtered by removing duplicated, and checking containment and line|line intersections with the perimeter.

Hello Devin,

Thank you for your suggestions.

I have tried them, but not really getting what I want.

I will post once I find the solution.

Ciao,
TZH

Hello dharman,

Thank you very much for your suggestion: Mesh Skeleton and introducing me to CGAL.

This is exactly what I was looking for. But still could not figure out how to use it in GH.

The 2nd method you mentioned, can you be more specific? So that I can try it out.

Ciao,
TZH

maybe this will help/

Hello Devin,

Thank you very much for your suggestion.

Just what I needed.

Ciao,
TZH