iFrostizz / OctoPrint-CalibrationCompanion

This plugin was created to calibrate 3D printer settings easily.
33 stars 4 forks source link

Wrong value in E-Steps #34

Closed DSchuppelius closed 2 years ago

DSchuppelius commented 2 years ago

got a wrong value for "Actual Estep Value" Printer Output: Recv: echo: M92 X400.00 Y400.00 Z400.00 B888.89 E234.17

"Actual Estep Value": 888.89

Changing Regex in the __init__.py from: currentEsteps = re.findall(r"[-+]?\d*\.\d+|\d+", line)[4] to: currentEsteps = re.findall(r"(?<=E)[-+]?\d*\.?\d+", line)[0]