Socket
Book a DemoInstallSign in
Socket

mesh-fixer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mesh-fixer

Fixes holes in broken meshes

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

mesh

FAQs

Package last updated on 03 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts