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
0 Share
Download This Thing! Customize Order This Printed Tools & Utilities

Thing Info

2767Views 306Downloads
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

All Apps

This App connects Thingiverse with Makeprintable, a cloud-based mesh repair service that analyzes, validates and repairs most common mesh errors that can occur when preparing a 3D design file for p...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

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.