mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-13 03:39:56 +01:00
extruder: Add support for reversing the direction of extruder stepper movement
Extend SET_EXTRUDER_ROTATION_DISTANCE to support reversing the direction of extruder movement. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -13,9 +13,13 @@ G1 X20 Y20 Z1
|
||||
G1 X25 Y25 E7.5
|
||||
|
||||
# Update step_distance
|
||||
SET_EXTRUDER_STEP_DISTANCE EXTRUDER=extruder DISTANCE=.005
|
||||
SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=extruder DISTANCE=33.2
|
||||
G1 X30 Y30 E8.0
|
||||
|
||||
# Reverse step_distance
|
||||
SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=extruder DISTANCE=-33.1
|
||||
G1 X30 Y30 E8.2
|
||||
|
||||
# Disable extruder stepper motor
|
||||
SYNC_STEPPER_TO_EXTRUDER STEPPER=extruder EXTRUDER=
|
||||
G1 X35 Y35 E8.5
|
||||
|
||||
Reference in New Issue
Block a user