I am trying to determine which areas of mesh are bad, and it would be nice to automatically repair them. Is there any tool in SDK, that will allow me to more automatically repair a mesh? Lets assume, that I get some degenerated and/or overlapped faces. How to fix them? Or at least how to determine which ones are they?
Also how to visualize in rhino those bad elements on mesh? Is it possible?
Hi Karol,
The SDK provide tools to fix your mesh. The MeshRepair wizard in Rhino uses those as well. They are found in rhinoSdkMeshUtilities.h file.
Here are the ones you might want to look into:
RhinoCheckMesh
RhinoCheckMesh
RhinoExtractNonManifoldMeshEdges
RhinoExtractNonManifoldMeshEdges
RhinoExtractDuplicateMeshFaces
RhinoRebuildMeshNormals