Skip to content
Ruby 3D Mesh Manipulation
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
Something went wrong with that request. Please try again.