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:
Kevin O'Connor
2022-01-29 19:13:31 -05:00
parent 189188e3ca
commit 9ec9742484
9 changed files with 60 additions and 19 deletions

View File

@@ -303,11 +303,13 @@ extruder.
#### SET_EXTRUDER_ROTATION_DISTANCE
`SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=<config_name>
[DISTANCE=<distance>]`: Set a new value for the provided extruder's
"rotation distance". Value is not retained on Klipper reset. Use with
caution as small changes can result in excessive pressure between
extruder and hot end. Do proper calibration with filament before use.
If 'DISTANCE' value is not included command will return current
rotation distance.
"rotation distance". If the rotation distance is a negative number
then the stepper motion will be inverted (relative to the stepper
direction specified in the config file). Changed settings are not
retained on Klipper reset. Use with caution as small changes can
result in excessive pressure between extruder and hot end. Do proper
calibration with filament before use. If 'DISTANCE' value is not
included command will return current rotation distance.
#### SET_EXTRUDER_STEP_DISTANCE
`SET_EXTRUDER_STEP_DISTANCE EXTRUDER=<config_name>