It's about time there was something here that the VB guy is good at.
When slicing a model with Cura the gcode always starts with:
;Filament used: 10.775m
You could build a macro in Excel that would:
- Select multiple gcode files at once.
Iterate through those gcode files and open each with
- Set fs = CreateObject("Scripting.FileSystemObject")
- Set gcode_file = fs.OpenTextFile(ImportFileName, 1, False)
- Pull the print times out (and maybe the filament used?) and plug the numbers into a spreadsheet.
- If you have an idea of a fudge factor for each printer (Printer1 is always takes 10% longer, Printer2 is always 3% quicker, etc.) then that would be noted in columns for each printer.
- You could add a dialog box for "If I start THIS FILE at THIS TIME on THIS PRINTER then when will it finish?".
You don't need to run it from source to do that. Cura has a very extensive plugin system that you could use for that, but it would require a fair amount of python coding to achieve that.
You could also try to run the engine without the frontend, which would mean you have to do more stuff yourself, but it does give you more freedom (both in what is possible and what coding language you use to achieve that)
Link to post
Share on other sites