Closed docwilco closed 2 years ago
I was wondering if there's enough access to the timing information from Cura to take the progress % from OctoPrint
In a word: no.
Cura does not know if the file that is currently printing on OctoPrint is the gcode file that may or may not still be in its memory. You could have started to print another gcode via the OctoPrint interface, or you could have sliced a new file while OctoPrint is still busy printing your previous slice. In addition to that, OctoPrint does not say which line of the original gcode it is currently printing. For instance it strips out comments, and plugins can affect what gcode gets sent to the printer (eg M117 update messages).
If you want more accurate timing information, install an OctoPrint plugin like https://plugins.octoprint.org/plugins/SlicerEstimator/ or https://plugins.octoprint.org/plugins/PrintTimeGenius/. Cura should then display the progress information it gets from OctoPrint through those plugins.
Ah, I'm so sorry, I should have looked at plugins first. Thank you for the very thorough answer!
I was wondering if there's enough access to the timing information from Cura to take the progress % from OctoPrint, and do a more accurate "time left"? Cura (for me at least) seems to be much more accurate in predicting how long a print will take.
Happy to code it, but I know nothing about making a Cura plugin yet, so figured I'd throw the idea up first to get an idea of how possible it would be.