node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ndarray-stl

ndarray-stl

converts an ndarray of voxels into an ascii stl file (no color data at the moment, sorry)

npm install ndarray-stl

see demo.js for example usage

api

var stlify = require('ndarray-stl')

require the module

stlify(voxels)

voxels has to be a 3d ndarray. returns an ascii stl string

license

BSD