G29 S0 if G29 S1 not loaded
-
Hi everyone,
I would like to setup my printer to run bed levelling compensation only once every power-up or reset.What approach have you used successfully?
Thank you
David -
@carlacda You can check in the Object Model if mesh compensation is being used, and move.compensation.type will equal "mesh" or "none". So check for that, and if not, run a bed mesh. You can also check for the file name of the mesh in use.
I'm not sure you can distinguish between if a mesh was loaded, or if a bed mesh probe was run, because if the bed mesh is run, it loads the generated bed mesh at the end of probing.
Ian
-
@droftarts said in G29 S0 if G29 S1 not loaded:
Object Model
Hi Ian,
many thanks for your idea. It did work perfectly.
Here below my implementation in start.gif {move.compensation.type}=="none" echo {"Bed probing started"} G29 S0 ; Probe the bed, save height map to "heightmap.csv" and enable mesh bed compensation echo {"Bed probing complete"} else echo {"Bed compensation already loaded. Bed probing skipped."}
David
-
-