mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 22:54:10 -06:00
extruder: Support SYNC_STEPPER_TO_EXTRUDER on extruder objects
Refactor the extruder_stepper support so that it uses the ExtruderStepper class defined in extruder.py. Support the SYNC_STEPPER_TO_EXTRUDER command on steppers defined in either extruder_stepper or extruder config sections. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
ffbd2698fe
commit
eb2a67cb95
3 changed files with 33 additions and 42 deletions
|
@ -182,6 +182,11 @@ The following standard commands are supported:
|
|||
result in excessive pressure between extruder and hot end. Do proper
|
||||
calibration steps with filament before use. If 'DISTANCE' value is
|
||||
not included command will return current step distance.
|
||||
- `SYNC_STEPPER_TO_EXTRUDER STEPPER=<name> [EXTRUDER=<name>]`: This
|
||||
command will cause the given extruder STEPPER (as specified in an
|
||||
[extruder](Config_Reference#extruder) or
|
||||
[extruder stepper](Config_Reference#extruder_stepper) config
|
||||
section) to become synchronized to the given EXTRUDER.
|
||||
- `SET_STEPPER_ENABLE STEPPER=<config_name> ENABLE=[0|1]`: Enable or
|
||||
disable only the given stepper. This is a diagnostic and debugging
|
||||
tool and must be used with care. Disabling an axis motor does not
|
||||
|
@ -344,16 +349,6 @@ enabled:
|
|||
future G-Code movement commands may run in parallel with the stepper
|
||||
movement.
|
||||
|
||||
### Extruder stepper Commands
|
||||
|
||||
The following command is available when an
|
||||
[extruder_stepper config section](Config_Reference.md#extruder_stepper)
|
||||
is enabled:
|
||||
- `SYNC_STEPPER_TO_EXTRUDER STEPPER=<extruder_stepper config_name>
|
||||
[EXTRUDER=<extruder config_name>]`: This command will cause the given
|
||||
STEPPER to become synchronized to the given EXTRUDER, overriding
|
||||
the extruder defined in the "extruder_stepper" config section.
|
||||
|
||||
### Probe
|
||||
|
||||
The following commands are available when a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue