A collection of tools for getting info and manipulating 3D models. (currently only STL files)
require "mersh" model = Mersh.new('awesome.stl') puts model.info puts model.to_json('threejs')
Also installs a mersh binary that can be called on the command line.
Usage: mersh [options] [file] -i, --info Display model info -j, --json TYPE Output json representation, TYPE can be either threejs or plain -h, --help Display this screen