Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CoDanny opened this issue Oct 10, 2020 · 0 comments

Comments

@CoDanny
Copy link
Member

CoDanny commented Oct 10, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants