So, my goal here is to set up my mesh leveling to cater to every print. I'm using a duet wifi, and there is a g-code to set the probing area for my mesh leveling. If I could set that code in my start script to essentially make a bounding box around my print and put those coordinates into that code, my printer could probe only the necessary area before a print, saving a ton of startup time.
M557 X10:295 Y10:295 S20 is the default setting, that's what is probed by default.
M557 X[AAA]:[BBB] Y[CCC]:[DDD] S20 is what I want where:
AAA is (Xmin) - 10
BBB is (Xmax) + 10
CCC is (Ymin) - 10
DDD is (Ymax) + 10
Anyone have any ideas on how to accomplish this?