probe: Infer position_endstop when using probe:z_virtual_offset
Don't require (or permit) the user to specify a stepper_z position_endstop when using the probe:z_virtual_offset mechanism. In that case the position_endstop should always equal the probe's z_offset - so no need to have the user specify it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
committed by
KevinOConnor
parent
a9a0bb87fa
commit
c5d4e14298
@@ -13,7 +13,9 @@
|
||||
# QUERY_PROBE extended g-code commands become available. The probe
|
||||
# section also creates a virtual "probe:z_virtual_endstop" pin. One
|
||||
# may set the stepper_z endstop_pin to this virtual pin on cartesian
|
||||
# style printers that use the probe in place of a z endstop.
|
||||
# style printers that use the probe in place of a z endstop. If using
|
||||
# "probe:z_virtual_endstop" then do not define a position_endstop in
|
||||
# the stepper_z config section.
|
||||
#[probe]
|
||||
#pin: ar15
|
||||
# Probe detection pin. This parameter must be provided.
|
||||
|
||||
@@ -30,8 +30,6 @@ deactivate_gcode:
|
||||
|
||||
# Example bed_tilt config section
|
||||
[bed_tilt]
|
||||
#x_adjust:
|
||||
#y_adjust:
|
||||
points:
|
||||
100,100
|
||||
10,10
|
||||
@@ -45,8 +43,8 @@ points:
|
||||
|
||||
# If the BLTouch is used to home the Z axis, then define a
|
||||
# homing_override section, use probe:z_virtual_endstop as the
|
||||
# endstop_pin in the stepper_z section, and set the position_endstop
|
||||
# in the stepper_z section to match the probe's z_offset.
|
||||
# endstop_pin in the stepper_z section, and do not set
|
||||
# position_endstop in the stepper_z section.
|
||||
#[homing_override]
|
||||
#set_position_z: 5
|
||||
#axes: z
|
||||
|
||||
Reference in New Issue
Block a user