Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.13 KB

Filament Estimator for G-Code

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

This is a PHP translation of "Filament Length/Weight/Volume Estimator for 4d G-Code" (Original Perl code by jag thingiverse.com/thing:15499 )

Instructions

Run something like "$ php filament_length.php -f cube-20-20-10_export.gcode"

The output is something like:

Filament diameter is 3 mm
Filament density is 1.05 g/cc
Cross sectional area of filament: 0.070685775 cm^2

Total filament: 34.148 cm
Volume: 2.414 cc
Weight: 2.534 g

Use this code however you want. If you find a bug, please tell me.

I cannot use a "more free" license here but please read the code header.

License

PHP Filament Length/Weight/Volume Estimator for 4d G-Code by algspd is licensed under "THE BEER-WARE LICENSE" (Revision 42)

By: Javier Briz (algspd)

http://javierbriz.com/