PHP Filament Length/Weight/Volume Estimator for 4d G-Code

by algspd, published

PHP Filament Length/Weight/Volume Estimator for 4d G-Code by algspd Dec 2, 2012

Thing Info

2675Views 291Downloads
Report Thing

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

Interesting to see how little you had to change the code.  
Just out of curiosity, what motivated you to port it to PHP rather than use the perl code?  Seems like most systems with PHP installed would also have perl.

algspd - in reply to jag

I tried to change the code as less as possible to make understandable the translation (I'm making another version for myself).
The motivation of this translation was to have the most "compact" possible cost estimator, calling the less possible interpreters (why to call php and perl, if i can just call php?).
The problem now is that I can't do the estimation over the stl file, so I have to run something like skeinforge (which I will not translate to anything :P) to get the gcode.
If you know something "simple" that can estimate an stl file volume, please let me know.