Automatic steel sheet detection - Auto switching from Textured to Smooth
I switch sheets a lot, and I'm constantly forgetting to change the settings. This is especially a problem when switching to the smooth sheet while the setting is for the textured sheet, as the live-z is much lower. My smooth pei sheet is in a bad way now from mild etching.
Has anyone attempted to implement any sort of auto detection of the smooth and textured sheets? I'd probably like to avoid trying to use any kind of sensor and just use my camera. I'm printing through USB and Octoprint that's running in a Linux container. I'm pretty sure I can write the code necessary to do the image detection and run it in the same container or even just elsewhere over the network. The question is what can I do with Octoprint to switch the sheet setting? Can I trigger something in Octoprint, or write my own plugin, that can then change the sheet setting with GCode?
RE: Automatic steel sheet detection - Auto switching from Textured to Smooth
I can't find any references to GCode that could change the sheet setting, so to proceed would I need to modify and compile my own firmware to add support for this?
RE: Automatic steel sheet detection - Auto switching from Textured to Smooth
One thing that will help in future firmware builds: The display will show during the print which build plate you have currently selected.
RE: Automatic steel sheet detection - Auto switching from Textured to Smooth
https://github.com/prusa3d/Prusa-Firmware/pull/2201 might be of interest to you.You could extend it to let you change the current sheet, or you could simply use it with your own script as-is by just leaving your printer on any given sheet and having your code tweak its live z on the fly before starting the print.
RE: Automatic steel sheet detection - Auto switching from Textured to Smooth
@vintagepc
That's perfect, thanks! At the least I could just read the current sheet value and if it's wrong, send gcode to pause the print and beep.