Farmware API bed dimensions


#1

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


#2
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

#3

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?


#4

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.


#5

Awesome, thank you.