Patches up holes and cracks in non-manifold meshes.
npm i mesh-fixer
const mesh = loadMyBrokenMesh()
const repaired = require('mesh-fixer')(mesh.cells, mesh.positions)
Fills in holes in a given mesh.
cells
are the faces of the meshpositions
are the points of the meshoptions
an object containing the options for the meshtolerance
the precision to which the mesh is to be repaired to
Development supported by Standard Cyborg
(c) 2017 Mikola Lysenko. MIT License