axis_z reported in status api only has 1 digit, not reflecting whole precision like in slicer and gcode values
 
Notifications
Clear all

axis_z reported in status api only has 1 digit, not reflecting whole precision like in slicer and gcode values  

  RSS
Jérôme
(@jerome-5)
Member
axis_z reported in status api only has 1 digit, not reflecting whole precision like in slicer and gcode values

printer: core one
printer firmware version: 6.3.4+10511 
description: axis_z reported in the status api has only 1 digit of precision. It should give at least 2 digits like in prusa slicer or 3 digits like in the gcode file.

 

Posted : 09/10/2025 12:39 pm
_KaszpiR_
(@_kaszpir_)
Noble Member
RE: axis_z reported in status api only has 1 digit, not reflecting whole precision like in slicer and gcode values

you can make a request on github in this repo to increase precision to 2 or 3:
https://github.com/prusa3d/Prusa-Firmware-Buddy/blob/master/src/common/segmented_json_macros.h#L101
https://github.com/prusa3d/Prusa-Firmware-Buddy/blob/master/lib/WUI/nhttp/status_renderer.cpp#L69

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 11/10/2025 8:37 am
1 people liked
Jérôme
(@jerome-5)
Member
Topic starter answered:
RE: axis_z reported in status api only has 1 digit, not reflecting whole precision like in slicer and gcode values

Thank you for the pointer to related code. I created a pull request: https://github.com/prusa3d/Prusa-Firmware-Buddy/pull/4895

Posted : 11/10/2025 3:33 pm
Share: