Not sure what slicer you use, but in prusa slicer you could just set the variable in the machine startup code with the layer_height placeholder (or you could modify the start_print macro to pass it in). theoretically, you could also set it in the layer_change gcode in your slicer to account for variable layer height as well
Not sure what slicer you use, but in prusa slicer you could just set the variable in the machine startup code with the
layer_height
placeholder (or you could modify the start_print macro to pass it in). theoretically, you could also set it in the layer_change gcode in your slicer to account for variable layer height as well