Creating a triangulated surface

I have a Poly_Triangulation (created from STL data) and I would like to turn this into a TopoDS_Face. Is there any way to do this? I can't see any derived class of Geom_Surface that is just a triangulation, or any BRepBuilderAPI_MakeFace constructors that take anything that looks like a triangulation. A shell with a bunch of single-triangle faces is not going to work - there are too many of them.

Any ideas?

Wayne

Francois Lauzon's picture

You might want to use GeomPlate and pass a NURBS through all your triangulation nodes... That will work.

jelle's picture

Interesting idea... will it work on a shape that is non-manifold? You'd have to cluster the mesh' faces in a pretty clever manner, right?