Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore sensor when print is paused. #22
Yes this is super frustrating. After the out of filament is detected, the pluggin will pause:
I think maybe my problem also could be #13
I am wondering about adding something similar as I noticed the loop also. In my case though, I added some gcode that would do G1 Z10 to move the head off the printed part. I wasn't even messing with the switch or attempting a reload and the carriage kept moving up and up and up.
I suspect it may have to do with some polling the plugin is doing and detecting the the switch is still open and re-executing the Gcode again rather than what you suggest that it's the toggle from open to closed causing the Gcode to execute. Maybe a subtle difference from what you are saying, I think.
I am going to try doing the following instead as I didn't try and pause the print in Gcode. You are using the filament change gcode and I am going to try the pause print command instead. Did your solution above work?
Here is the code I am going to try:
And then, of course, unchecking the pause print option in the plugin.
Do you think this will work?