Giter Site home page Giter Site logo

trimesh4js's Introduction

TriMesh4Js

OpenMesh binding via node-addon-napi

Node.js wrapper for OpenMesh C++ library using node-addon-api.

TriMesh-js is a Node.js addon, written in C++, that can be loaded into Node.js using the require() function, and used just as if they were an ordinary Node.js module.

The aim of the project is to provide a FFI between JavaScript running in Node.js and OpenMesh C++ library.

Prerequisites

Before starting to use this you need to assure you have the following prerequisites:

Installation

Getting started

Examples

To view the examples, check AddonTriMeshTest.js

Project Status

Plugins implementation - TriMesh:

  • Init a TriMesh
  • Add Vertex
  • Add Face By Vertex Id
  • Set Point By Vertex Id
  • Add Face
  • Set Point
  • Get Points
  • VertexVertexIter (to find neighbouring vertex)
  • BFS NeighWeights (loop through the whole mesh)
  • More Pending ...

Tests

There is a basic test file under /test folder using mocha with assert.

License

trimesh4js's People

Contributors

biancazycao avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

pbach

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.