#'relative_reference_index' is deprecated

2 messages · Page 1 of 1 (latest)

cinder flicker
#

Hey all, I had to put my inductive probe back and klipper is warning me: 'relative_reference_index' in section 'bed_mesh' is deprecated and will be removed in a future release

I found a post under teamfdm that says relative_reference_index has been replaced with zero_reference_position
I am guessing I can just remove that deprecated line and add the new one commented?

Thank you

#zero_reference_position:
#   An optional X,Y coordinate that specifies the location on the bed
#   where Z = 0.  When this option is specified the mesh will be offset
#   so that zero Z adjustment occurs at this location.  The default is
#   no zero reference.
#relative_reference_index:
#   **DEPRECATED, use the "zero_reference_position" option**
#   The legacy option superceded by the "zero reference position".
#   Rather than a coordinate this option takes an integer "index" that
#   refers to the location of one of the generated points. It is recommended
#   to use the "zero_reference_position" instead of this option for new
#   configurations. The default is no relative reference index.
median berry
#

Yes, just replace the line with something like this: zero_reference_position: 150,150 (for a 300mm bed). Use 125,125 for a 250 and 175,175 for a 350, you get the idea 🙂