Project

mersh

0.0
No commit activity in last 3 years
No release in over 3 years
Performs some useful operations on 3D mesh files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0
 Project Readme

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