klipper/test/klippy/z_virtual_endstop.test

39 lines
478 B
Plaintext

# Test case for probe:z_virtual_endstop support
CONFIG z_virtual_endstop.cfg
DICTIONARY atmega2560-16mhz.dict
# Start by homing the printer.
G28
G1 F6000
# Z / X / Y moves
G1 Z1
G1 X1
G1 Y1
# Run bed_mesh_calibrate
BED_MESH_CALIBRATE
# Move again
G1 Z5 X0 Y0
# Do regular probe
PROBE
QUERY_PROBE
# Test PROBE_CALIBRATE
PROBE_CALIBRATE
ABORT
PROBE_CALIBRATE SPEED=7.3
TESTZ Z=-.2
TESTZ Z=-.3
TESTZ Z=+.1
TESTZ Z=++
TESTZ Z=--
TESTZ Z=+
TESTZ Z=-
ACCEPT
# Move again
G1 Z9