I've been thinking recently about all these overly elaborate methods of resuming failed print

I’ve been thinking recently about all these overly elaborate methods of resuming failed print at a certain layer. Not that I have such a problem often, but just curious.

Does anybody ever hear about the auto-leveling sensor used to figure the height of the last printed layer? Is it possible at all?

Otherwise, I can see the print watch camera used for that. The simplest method would be to show the currently printed level number in the camera’s view along with the print (e.g. on a small OLED display connected to the RPi) and record the printing session with some slow frame rate. It should be then fairly easy to figure which layer failed and resume it.

gd

Also, I heard about options to detect the end of filament event. The print then stopped, head parked, and the end layer recorded. But that’s just one of the possible failures. I think the camera one would be the ultimate option, as with time it could be possible to detect the failure automatically analyzing the image, while the closer goal could be to record the current layer right into the video frame programmatically instead of rigging the micro-display. The latter is probably what I would try to contribute into the OctoPi project.