geometry-central icon indicating copy to clipboard operation
geometry-central copied to clipboard

How to export "Flip Geodesic" result as mesh ?

Open Debize opened this issue 2 years ago • 0 comments

Hi, I'm playing with "Flip Geodesic" and everything is fine (Dijkstra > Shorten > delaunayRefine > getPathPolyline3D / getAllEdgePolyline3D) .

Is there any function able to convert the final edges from getAllEdgePolyline3D() (being a vector of pairs of Vector3) into a simple mesh with faces & vertices (like the orange mesh displayed by ./bin/flip-geodesics-demo) ?

I have tried :

  • FlipEdgeNetwork::savePath() : seems not to be implemented
  • FlipEdgeNetwork::savePathOBJLine( ..., /*with_all* true) : gives me a mesh including faces with fewer than 3 vertices

Thanks

Debize avatar Jan 24 '23 14:01 Debize