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.
$ ruby convertSTL.rb [filename(s) of .stl to be converted]
or 'chmod +x' the script and run as:
$ ./convertSTL.rb [filename(s) 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
Created by Chris Polis(@ChrisPolis) under the MIT License