Sat, 04/27/2024 - 10:39
Forums:
I have a triangular mesh file. I want to reconstruct it into TopoDS_Face, and then use BRepAlgoAPI_Common for intersection operations with other shapes. An obvious approach is to reconstruct each triangle into a TopoDS_Face and then stitch them together. However, this is very inefficient. I want to represent it with NURBS surfaces. GeomAPI_PointsToBSplineSurface requires a TColgp_Array2OfPnt, but these meshes may be unordered. I don't know how to generate a TColgp_Array2OfPnt. Or is there a way to directly generate a NURBS surface from the mesh? Any suggestions?
Mon, 04/29/2024 - 11:11
Hello, Boolean operation is not supported with mesh. For work with mesh, we offer OMF commercial solution.
As for a mesh to nurb, OCCT have no that functionality. But we have commercial solution for point cloud to surface.
I recommend to search for solutions for point cloud processing. I think there are some close solutions in open source word for that goal.
Best regards, Dmitrii.
Mon, 04/29/2024 - 11:14
GeomAPI_PointsToBSplineSurface is a little not correct tool to that needs , it ask for a little different set of points.
You can extract nodes from Poly_Triangulation. But it will be close to point cloud representation.
Best regards, Dmitrii.