NOTE This has only been tested with PrusaSlicer. Please let me know if there's issues with other slicers!
How to use
- Execute
git clone https:/destinybonavita/util-gcode-analyizer
using your favorite terminal - Create
Files
directory to cloned location - Copy
.gcode
files into that directory - Run
npm install
on in the cloned directory - Run
node index.js
to get output
Example Output
Analysis completed {
"filament": {
"kilograms": 2.26583,
"grams": 2265.83
},
"time": {
"normalMode": {
"days": 6,
"hours": 8,
"minutes": 24,
"seconds": 41
},
"silentMode": {
"days": 6,
"hours": 11,
"minutes": 28,
"seconds": 44
}
}
}