Simple program to scan a gcode file and report the amount of filament that is used to print it. by randomgee 3d model
3dmdb logo
Thingiverse
Simple program to scan a gcode file and report the amount of filament that is used to print it. by randomgee

Simple program to scan a gcode file and report the amount of filament that is used to print it. by randomgee

by Thingiverse
Last crawled date: 4 years ago
This is a simple windows command line program to scan a gcode file and report how much filament would be used to print it. The calculated amount includes the filament used to wipe the head which the Cura comments do not include. The weight calculations is to estimate how much of the spool is used since the spool is sold by weight. Works with .gcode and .g files. The exe file is in the zip file. The C++ source is included.
I wrote this utility because some of the gcode files that I produce are rather large and takes a long time to open up in an editor to see what the Cura estimates are, and this utility can do it a lot faster. Also, some other slicers out the estimates at the end which would require scrolling all the way to the end of the gcode file.
To use it, right click click on a gcode file select the gecode_specs program using "Open with".
UPDATE 5/23/2021: Added support for multiple extruder gcode files and Slic3r estimated time reports.
UPDATE 6/5/2021: Fixed hours calculation.

Tags