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:
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: