protoloft / klipper_z_calibration

Klipper plugin for self-calibrating z-offset
GNU General Public License v3.0
1.06k stars 152 forks source link

CALIBRATE_Z Fails when stepper_x position_min is higher than 4 #153

Open ISAndreiva opened 3 months ago

ISAndreiva commented 3 months ago

Hi! I have been running this plugin for a long time and it's always been amazing, but recently I've installed an ebb36 and due to the new drag chain mounting I lost 10mm on the X axis so I decided to change the stepper_x min position to reflect this. After this I realized CALIBRATE_Z doesn't work anymore, it probes the nozzle once and then errors out with No trigger on probe after full movement. Of note is that no part of the calibrate z process goes under x 15 so I really don't get why it errors out.

If it helps this is my z_calibration section

[z_calibration]
nozzle_xy_position: 17.5 , 28
switch_xy_position: 15, 3
bed_xy_position: 144, 170
switch_offset: 0.6
offset_margins: -1,1
speed: 70
probing_speed: 10
probing_second_speed: 5
probing_first_fast: false
before_switch_gcode:
  ATTACH_PROBE

Any help would be appreciated!