Loading

ASCII <-> Binary STL Converter

by ByteMuse, published

ASCII <-> Binary STL Converter by ByteMuse Dec 30, 2012

Thing Info

10161Views 1262Downloads Found in 3D Printing
Report Thing

Summary

A simple ruby script that converts STL files between ASCII and binary encoding.

Instructions

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.

For usage and to contribute:
https://github.com/cmpolis/convertSTL

More from 3D Printing

view more

Thing Info

10161Views 1262Downloads Found in 3D Printing
Report Thing

Liked By

View All
Poor man's dust mask

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

All Apps

No results.

Excellent - just what I needed!

You should change "#!/usr/local/bin/ruby" to "#!/usr/bin/env ruby". This will allow this script to run unedited on many more systems, my own included.

It runs fine on Linux as soon as you have installed ruby (see: http://stackoverflow.com/questions/18541695/installed-ruby-using-apt-get-install-ruby-2-0-0-succeeded-but-not-using-correct)http://stackoverflow.com/quest.... So thanks a lot! It solves perfectly my OpenSCAD -> ASCII STL -> Binary STL -> MeshLab previous issue. Great job! ;D

How do you run a ruby script in windows?

Top