Simple program to scan a gcode file and report the amount of filament that is used to print it.
thingiverse
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.
With this file you will be able to print Simple program to scan a gcode file and report the amount of filament that is used to print it. with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Simple program to scan a gcode file and report the amount of filament that is used to print it..