klipper-dgus/test/klippy/extruders.test

47 lines
1.0 KiB
Plaintext

# Extruder tests
DICTIONARY atmega2560.dict
CONFIG extruders.cfg
# Extrude only
G1 E5
G1 E-2
G1 E7
# Home and extrusion moves
G28
G1 X20 Y20 Z1
G1 X25 Y25 E7.5
# Update step_distance
SET_EXTRUDER_STEP_DISTANCE EXTRUDER=extruder DISTANCE=.005
G1 X30 Y30 E8.0
# Disable extruder stepper motor
SYNC_STEPPER_TO_EXTRUDER STEPPER=extruder EXTRUDER=
G1 X35 Y35 E8.5
# Disable my_extra_stepper stepper motor
SYNC_STEPPER_TO_EXTRUDER STEPPER=my_extra_stepper EXTRUDER=
G1 X40 Y40 E9.0
# Enable extruder stepper motor
SYNC_STEPPER_TO_EXTRUDER STEPPER=extruder EXTRUDER=extruder
G1 X45 Y45 E9.5
# Switch to just my_extra_stepper stepper motor
SYNC_STEPPER_TO_EXTRUDER STEPPER=extruder EXTRUDER=
SYNC_STEPPER_TO_EXTRUDER STEPPER=my_extra_stepper EXTRUDER=extruder
G1 X50 Y50 E10.0
# Test pressure advance move
SET_PRESSURE_ADVANCE EXTRUDER=my_extra_stepper ADVANCE=0.020
G1 X55 Y55 E0
G1 X55 Y55 E0.5
G1 X60 Y60 E1.1
G1 X50 Y50
SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=0.025
G1 X55 Y55 E1.5
G1 X50 Y50
G1 X55 Y55 E2.0
G1 X50 Y50