QuinnDamerell / OctoPrint-OctoEverywhere

Cloud Empower Your OctoPrint, Klipper, and Bambu Lab 3D Printers With Free, Private, And Secure Remote Access, AI Print Failure Detection, Real-time Notifications, Live Streaming, and More!
https://octoeverywhere.com
GNU Affero General Public License v3.0
165 stars 14 forks source link

[Feature request] Set a delay for print complete webcam snapshot #65

Closed ruddy17 closed 1 month ago

ruddy17 commented 5 months ago

Currently on most of my 'print complete' notification snapshots the toolhead obstructs the view. It is kinda annoying and if the part is small, then I can't see it at all. I have a post-print macro to move the toolhead out of the way, however, the snapshot is made earlier than that. I suspect, that the screenshot considers the print done when all gcodes are put to the queue, but not when they are actually performed. So, I would suggest to either wait for the queue to empty, or just add a small delay of a few seconds for the snapshot. Maybe even add a macro for the snapshot, to be able to precisely control the moment it's done, for example to allow setting the lights for the best shot?

Here is an example of current behavior: image

QuinnDamerell commented 3 months ago

Hey! Thanks for the feedback! I have worked on this system quite a lot, trying to get the most ideal final image, but it's a hard problem! The issue is printers are so dynamic that it's hard to know when you can get a nice clean shot with the print head out of the way. But using a custom macro or gcode command is a cool idea, I will look into that!