-
Notifications
You must be signed in to change notification settings - Fork 204
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
[Request] Start Print / Cancel Print toggle mode #149
Comments
Pretty easy to implement, But I don't think we need to create a new type togglejob, I can just test if it's printing, or not, it's ready or not and figure it out if should start / stop or pause a print job. |
But for now I can implement "if the file is loaded" start the print... |
That would be great but how can it tell if you want to pause/resume vs cancel a print? I would think pause and cancel would have the same I should say it would also be fine if everything stayed the same and a |
You were right, I do need to keep different toggles... |
Implemented on new release. |
Confirmed, works like a champ. Now I just need to 3D print a little button enclosure... and might as well add an enclosure temperature sensor while I'm in there. Thanks! |
I thought it would be fun to add some big ole arcade-sized buttons to my printer for quick Start Print or Cancel buttons and was super pleased to find there was already a plugin for this and that it is so dang configurable it can do almost anything!
I was hoping to just have one button that both starts the print and cancels the print, a sort of start/stop button. There's a "Cancel" printer action and a "Toggle" action, but the toggle pauses/resumes and I was hoping for start / stop. Usually this is because the beginning of the print is messing up and I need to restart it. I notice there's no "Start Print" action, probably because there's no way to select what file to print, but that's fine by me because I just want to start the currently selected print. Is there a way to add "togglejob" mode or something to the other commands something like:
or just a whole new code block instead of editing 'toggle'
Also I'm not sure if it was added after you wrote the toggle code, but printer also now has
toggle_pause_print()
which could reduce the is_printing/is_paused code of 'toggle' to just a single line.The text was updated successfully, but these errors were encountered: