Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/mesh-fixer
Fixes holes in 3D meshes
https://github.com/mikolalysenko/mesh-fixer
Last synced: 5 days ago
JSON representation
Fixes holes in 3D meshes
- Host: GitHub
- URL: https://github.com/mikolalysenko/mesh-fixer
- Owner: mikolalysenko
- Created: 2017-05-17T22:35:30.000Z (over 7 years ago)
- Default Branch: gh-pages
- Last Pushed: 2017-06-03T00:02:21.000Z (over 7 years ago)
- Last Synced: 2024-12-05T02:33:58.642Z (20 days ago)
- Language: HTML
- Homepage: https://mikolalysenko.github.io/mesh-fixer/index.html
- Size: 2.7 MB
- Stars: 20
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mesh-fixer
Patches up holes and cracks in non-manifold meshes.
# Install
```
npm i mesh-fixer
```# Example
```javascript
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](http://www.standardcyborg.com/)
(c) 2017 Mikola Lysenko. MIT License