Skip to content

algspd/Filament-Estimator-for-GCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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/

About

PHP Filament Length Weight Volume Estimator for 4d GCode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages