node package manager

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