mesh-fixer

1.0.2 • Public • Published

mesh-fixer

Patches up holes and cracks in non-manifold meshes.

Install

npm i mesh-fixer

Example

const mesh = loadMyBrokenMesh()
 
const repaired = require('mesh-fixer')(mesh.cells, mesh.positions)

API

require('mesh-fixer')(cells, positions[, options])

Fills in holes in a given mesh.

  • cells are the faces of the mesh
  • positions are the points of the mesh
  • options an object containing the options for the mesh
    • tolerance the precision to which the mesh is to be repaired to

Credits

Development supported by Standard Cyborg

(c) 2017 Mikola Lysenko. MIT License

Readme

Keywords

Package Sidebar

Install

npm i mesh-fixer

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • jeffchuber
  • mikolalysenko