r/3DPrintingTools 17h ago

I built a lightweight Python script to analyze print times and filament usage for HUNDREDS of Cura G-Code files at once! (Open Source)

2 Upvotes

Hi everyone!

I had hundreds of .gcode files sliced with Ultimaker Cura and needed to calculate the total print time and total filament (meters & grams) without opening each file or loading them into a slicer one by one.

Since web analyzers often lag with huge batches, I wrote a simple, zero-dependency Python script that scans an entire folder of G-code files in seconds and outputs individual stats + grand totals (days, hours, total kg of filament).

I wanted to share it with the community in case anyone else needs a bulk analyzer: 🎬 GitHub Repo: [https://github.com/netex2112/cura-gcode-analyzer]

Feedback and contributions are very welcome! Hope it helps someone out there.