mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-10 07:15:10 -06: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:
parent
189188e3ca
commit
9ec9742484
9 changed files with 60 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue