Skip to content
A utility for converting STL files between ASCII and binary encoding.
Branch: master
Clone or download
cmpolis Merge pull request #1 from davepeake/script_env_fix
Changed the hashbang line to env
Latest commit 572a5e1 Jun 22, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
convertSTL.rb

README.md

convertSTL

A utility for converting STL files between ASCII and binary encoding. I wrote this to save disk space and bandwidth when handling STL files. Some modeling programs include this functionality, but it is nice to have something that is more lightweight and can be called from a command line.

USAGE

$ ruby convertSTL.rb [filename of .stl to be converted]

or 'chmod +x' the script and run as:

$ ./convertSTL.rb [filename of .stl to be converted]

The script will then translate the STL to the opposite encoding and save it as either -ascii.stl or -binary.stl

AUTHOR

Created by Chris Polis(@ChrisPolis) under the MIT License

You can’t perform that action at this time.