Farmware API bed dimensions


Would there exist an API function to get the stored dimensions of the bed?

from farmware_tools import app

app.get_property('firmware_config', 'movement_axis_nr_steps_x'). # x-axis length in steps
app.get_property('firmware_config', 'movement_step_per_mm_x')  # x-axis steps per mm


Cool. Now to turn that into a distance in millimeters I would guess that I would need to divide that number by the steps per millimeter parameter for that particular axis, is that value also retrievable through the API?


Yes, here’s a list of all available firmware configs which are shown as the hardware settings in the Web App. I’ve also updated the example code above.


Awesome, thank you.