Skip to content
This repository was archived by the owner on Mar 16, 2018. It is now read-only.
StandardCyborgPublic archive

About

Fixes holes in 3D meshes

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fixes holes in 3D meshes

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages