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.