/OctoPrint-gcodestatEstimator

Estimate printing time from gcodestat M117 embedded info

Primary LanguagePythonThe UnlicenseUnlicense

Estimator for OctoPrint that uses data embedded in gcode by gcodestat

Requirement

ToDo

  • Auto preprocess the G-Code file on upload and embed M117 codes (use externally gcodestat for e.g. for speed)
  • Push a % value to the OctoPrint (I have the value I just have no clue how to send it to OctoPrint)
  • Add configuration so that custom regex can be used to parse M117 valuess
  • Python3 + test with latest octoprint

Notes

  • I'm no Python developer, I do C++, so if you can suggest code cleanup, solving something differently etc. feel free to step in, this code would never be presented without serious help from foosel!!!
  • In case there are no M117 codes that can be recognised the original estimator from OctoPrint will be used
  • In case SDCARD print is used the original estimator from OctoPrint will be used

current status

  • I got pulled into some %$@#)%^ so no time to work on this now, I hope I'll be back in few weeks