Ruby 3D Mesh Manipulation
Ruby
Pull request Compare This branch is 4 commits ahead, 1 commit behind tbuser:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
LICENSE
README.rdoc
Rakefile
mersh.gemspec

README.rdoc

A collection of tools for getting info and manipulating 3D models. (currently only STL files)

Ruby gem usage

require "mersh"

model = Mersh.new('awesome.stl')

puts model.info
puts model.to_json('threejs')

Command line

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