Variable tool change purge (#14618)
This commit is contained in:
committed by
Scott Lahteine
parent
cbe4bf2ba8
commit
ce02c6cee2
@ -868,13 +868,16 @@
|
||||
#define MSG_AUTORETRACT _UxGT("AutoRetr.")
|
||||
#endif
|
||||
#ifndef MSG_FILAMENT_SWAP_LENGTH
|
||||
#define MSG_FILAMENT_SWAP_LENGTH _UxGT("Retract Distance")
|
||||
#define MSG_FILAMENT_SWAP_LENGTH _UxGT("Swap Length")
|
||||
#endif
|
||||
#ifndef MSG_FILAMENT_PURGE_LENGTH
|
||||
#define MSG_FILAMENT_PURGE_LENGTH _UxGT("Purge Length")
|
||||
#endif
|
||||
#ifndef MSG_TOOL_CHANGE
|
||||
#define MSG_TOOL_CHANGE _UxGT("Tool Change")
|
||||
#define MSG_TOOL_CHANGE _UxGT("Tool Change")
|
||||
#endif
|
||||
#ifndef MSG_TOOL_CHANGE_ZLIFT
|
||||
#define MSG_TOOL_CHANGE_ZLIFT _UxGT("Z Raise")
|
||||
#define MSG_TOOL_CHANGE_ZLIFT _UxGT("Z Raise")
|
||||
#endif
|
||||
#ifndef MSG_SINGLENOZZLE_PRIME_SPD
|
||||
#define MSG_SINGLENOZZLE_PRIME_SPD _UxGT("Prime Speed")
|
||||
|
@ -109,7 +109,15 @@ static void lcd_factory_settings() {
|
||||
START_MENU();
|
||||
MENU_BACK(MSG_CONFIGURATION);
|
||||
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
||||
MENU_ITEM_EDIT(float3, MSG_FILAMENT_SWAP_LENGTH, &toolchange_settings.swap_length, 0, 200);
|
||||
static constexpr float max_extrude =
|
||||
#if ENABLED(PREVENT_LENGTHY_EXTRUDE)
|
||||
EXTRUDE_MAXLENGTH
|
||||
#else
|
||||
500
|
||||
#endif
|
||||
;
|
||||
MENU_ITEM_EDIT(float3, MSG_FILAMENT_SWAP_LENGTH, &toolchange_settings.swap_length, 0, max_extrude);
|
||||
MENU_ITEM_EDIT(float3, MSG_FILAMENT_PURGE_LENGTH, &toolchange_settings.extra_prime, 0, max_extrude);
|
||||
MENU_MULTIPLIER_ITEM_EDIT(int4, MSG_SINGLENOZZLE_RETRACT_SPD, &toolchange_settings.retract_speed, 10, 5400);
|
||||
MENU_MULTIPLIER_ITEM_EDIT(int4, MSG_SINGLENOZZLE_PRIME_SPD, &toolchange_settings.prime_speed, 10, 5400);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user