Loading

ASCII <-> Binary STL Converter

by ByteMuse, published

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

Description

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

Recent Comments

view all

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/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?

More from 3D Printing

view more

Liked By

view all

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

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:
github.com/cmpolis/convertSTL

Comments

You must be logged in to post a comment.

tonylukasavage on Mar 7, 2014 said:

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.

Djamanbe on Jan 10, 2014 said:

It runs fine on Linux as soon as you have installed ruby (see: http://stackoverflow.com/quest.... So thanks a lot! It solves perfectly my OpenSCAD -> ASCII STL -> Binary STL -> MeshLab previous issue. Great job! ;D

evamvid on Jun 18, 2013 said:

How do you run a ruby script in windows?

Top