OctoPrint-AstroPrint icon indicating copy to clipboard operation
OctoPrint-AstroPrint copied to clipboard

[ Material Counter ] Sometimes very high material use lengths are reported

Open CoDanny opened this issue 5 years ago • 0 comments

After running a GCODE file that exhibited this behavior through the material counter code, the length was accurate. The only think I can think of at the moment is that the function count_material is called more than once for each command in some cases.

The function is register to the following octoprint hook:

"octoprint.comm.protocol.gcode.sent": __plugin_implementation__.count_material

CoDanny avatar Oct 10 '20 16:10 CoDanny