Closed Gray-Stone closed 2 months ago
do you need to have a value with bed_xy_position?
I set it to the same value as zero_reference_position
[bed_mesh]
speed: 300
horizontal_move_z: 10
##--------------------------------------------------------------------
## Uncomment below for 250mm build
#mesh_min: 40, 40
#mesh_max: 210,210
#zero_reference_position: 125,125 #for use with stock z endstop
## Uncomment for 300mm build
#mesh_min: 40, 40
#mesh_max: 260,260
#zero_reference_position: 150,150 #for use with stock z endstop
## Uncomment for 350mm build
mesh_min: 40, 40
mesh_max: 310,310
zero_reference_position: 175,175 #for use with stock z endstop
##--------------------------------------------------------------------
fade_start: 0.6
fade_end: 10.0
probe_count: 9,9 # Values should be odd, so one point is directly at bed center
algorithm: bicubic
[z_calibration]
nozzle_xy_position: 232,350 #<X,Y position for clicking the nozzle on the z endstop - not needed if [safe_z_home] is used>
switch_xy_position: 232,325
#switch_xy_offsets: #<X,Y offsets from the nozzle position for clicking the probe's switch body on the z endstop>
bed_xy_position: 175,175 #<X,Y position for probing the bed, for instance the center point - not needed if mesh with zero_reference_position is used>
switch_offset: 0.35 #<offset of the switch trigger (read the Switch Offset section!)>
start_gcode: ATTACH_PROBE
#before_switch_gcode: <macro name for attaching the probe AFTER probing the nozzle>
end_gcode: DOCK_PROBE
Finally, the fix is released :+1:
klipper_z_calibration commit:
abbe9c4dcd085913345d8b4551ca373769f1b108
klipper commit:6d70050261ec3290f3c2e4015438e4910fd430d0
I have got this error:
Which upon looking into the code, I believe it triggered at the following lines:
It seems to enter the first If statement, but didn't enter the internal if or elif sections.
In my bed-mesh section I have used the the following config
Work around: add
bed_xy_position
config to z_calibration section for now and the problem goes away.