I am using Marlin to control a PCB mill and figured this was the best place to ask.
I need to be able to level only a portion of the bed that is chosen at runtime. This is because I need to use a conductivity probe (i.e. the tip of the bit) and there's no certainty that the whole copper board is conductive (If part of it has already been milled out).
I know in configuration_adv.h there is the option to specify constants (MESH_MIN_X e.t.c) but I do not want to recompile and reupload the firmware every time I want to use the mill.
I was hoping there was either a macro I could use even if I had to send the G-Code for each specific point I wanted to level (I haven't figured out a way to do this) or modify the firmware to accept a command like
G29 J4 X30.70 Y50.80
Where the number after the decimal point (of X & Y) specifies the max position and the whole number specifies the minimum position.
If the latter was the only possible method I was hoping to be directed on how I would modify the firmware to accept new variations of G-code.