|
@ -140,16 +140,16 @@ void menu_backlash(); |
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE) |
|
|
constexpr float extrude_maxlength = TERN(PREVENT_LENGTHY_EXTRUDE, EXTRUDE_MAXLENGTH, 999); |
|
|
constexpr float extrude_maxlength = TERN(PREVENT_LENGTHY_EXTRUDE, EXTRUDE_MAXLENGTH, 999); |
|
|
|
|
|
|
|
|
EDIT_ITEM_FAST(float3, MSG_FILAMENT_UNLOAD, &fc_settings[active_extruder].unload_length, 0, extrude_maxlength); |
|
|
EDIT_ITEM_FAST(float4, MSG_FILAMENT_UNLOAD, &fc_settings[active_extruder].unload_length, 0, extrude_maxlength); |
|
|
#if HAS_MULTI_EXTRUDER |
|
|
#if HAS_MULTI_EXTRUDER |
|
|
LOOP_L_N(n, EXTRUDERS) |
|
|
LOOP_L_N(n, EXTRUDERS) |
|
|
EDIT_ITEM_FAST_N(float3, n, MSG_FILAMENTUNLOAD_E, &fc_settings[n].unload_length, 0, extrude_maxlength); |
|
|
EDIT_ITEM_FAST_N(float4, n, MSG_FILAMENTUNLOAD_E, &fc_settings[n].unload_length, 0, extrude_maxlength); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
EDIT_ITEM_FAST(float3, MSG_FILAMENT_LOAD, &fc_settings[active_extruder].load_length, 0, extrude_maxlength); |
|
|
EDIT_ITEM_FAST(float4, MSG_FILAMENT_LOAD, &fc_settings[active_extruder].load_length, 0, extrude_maxlength); |
|
|
#if HAS_MULTI_EXTRUDER |
|
|
#if HAS_MULTI_EXTRUDER |
|
|
LOOP_L_N(n, EXTRUDERS) |
|
|
LOOP_L_N(n, EXTRUDERS) |
|
|
EDIT_ITEM_FAST_N(float3, n, MSG_FILAMENTLOAD_E, &fc_settings[n].load_length, 0, extrude_maxlength); |
|
|
EDIT_ITEM_FAST_N(float4, n, MSG_FILAMENTLOAD_E, &fc_settings[n].load_length, 0, extrude_maxlength); |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -279,7 +279,7 @@ void menu_backlash(); |
|
|
#if ENABLED(PID_EXTRUSION_SCALING) |
|
|
#if ENABLED(PID_EXTRUSION_SCALING) |
|
|
#define _PID_BASE_MENU_ITEMS(N) \ |
|
|
#define _PID_BASE_MENU_ITEMS(N) \ |
|
|
__PID_BASE_MENU_ITEMS(N); \ |
|
|
__PID_BASE_MENU_ITEMS(N); \ |
|
|
EDIT_ITEM_N(float3, N, MSG_PID_C_E, &PID_PARAM(Kc, N), 1, 9990) |
|
|
EDIT_ITEM_N(float4, N, MSG_PID_C_E, &PID_PARAM(Kc, N), 1, 9990) |
|
|
#else |
|
|
#else |
|
|
#define _PID_BASE_MENU_ITEMS(N) __PID_BASE_MENU_ITEMS(N) |
|
|
#define _PID_BASE_MENU_ITEMS(N) __PID_BASE_MENU_ITEMS(N) |
|
|
#endif |
|
|
#endif |
|
@ -287,7 +287,7 @@ void menu_backlash(); |
|
|
#if ENABLED(PID_FAN_SCALING) |
|
|
#if ENABLED(PID_FAN_SCALING) |
|
|
#define _PID_EDIT_MENU_ITEMS(N) \ |
|
|
#define _PID_EDIT_MENU_ITEMS(N) \ |
|
|
_PID_BASE_MENU_ITEMS(N); \ |
|
|
_PID_BASE_MENU_ITEMS(N); \ |
|
|
EDIT_ITEM_N(float3, N, MSG_PID_F_E, &PID_PARAM(Kf, N), 1, 9990) |
|
|
EDIT_ITEM_N(float4, N, MSG_PID_F_E, &PID_PARAM(Kf, N), 1, 9990) |
|
|
#else |
|
|
#else |
|
|
#define _PID_EDIT_MENU_ITEMS(N) _PID_BASE_MENU_ITEMS(N) |
|
|
#define _PID_EDIT_MENU_ITEMS(N) _PID_BASE_MENU_ITEMS(N) |
|
|
#endif |
|
|
#endif |
|
@ -348,7 +348,7 @@ void menu_backlash(); |
|
|
#elif ENABLED(LIMITED_MAX_FR_EDITING) |
|
|
#elif ENABLED(LIMITED_MAX_FR_EDITING) |
|
|
DEFAULT_MAX_FEEDRATE |
|
|
DEFAULT_MAX_FEEDRATE |
|
|
#else |
|
|
#else |
|
|
{ 999, 999, 999, 999 } |
|
|
{ 9999, 9999, 9999, 9999 } |
|
|
#endif |
|
|
#endif |
|
|
; |
|
|
; |
|
|
#if ENABLED(LIMITED_MAX_FR_EDITING) && !defined(MAX_FEEDRATE_EDIT_VALUES) |
|
|
#if ENABLED(LIMITED_MAX_FR_EDITING) && !defined(MAX_FEEDRATE_EDIT_VALUES) |
|
@ -360,24 +360,24 @@ void menu_backlash(); |
|
|
START_MENU(); |
|
|
START_MENU(); |
|
|
BACK_ITEM(MSG_ADVANCED_SETTINGS); |
|
|
BACK_ITEM(MSG_ADVANCED_SETTINGS); |
|
|
|
|
|
|
|
|
#define EDIT_VMAX(N) EDIT_ITEM_FAST(float3, MSG_VMAX_##N, &planner.settings.max_feedrate_mm_s[_AXIS(N)], 1, max_fr_edit_scaled[_AXIS(N)]) |
|
|
#define EDIT_VMAX(N) EDIT_ITEM_FAST(float5, MSG_VMAX_##N, &planner.settings.max_feedrate_mm_s[_AXIS(N)], 1, max_fr_edit_scaled[_AXIS(N)]) |
|
|
EDIT_VMAX(A); |
|
|
EDIT_VMAX(A); |
|
|
EDIT_VMAX(B); |
|
|
EDIT_VMAX(B); |
|
|
EDIT_VMAX(C); |
|
|
EDIT_VMAX(C); |
|
|
|
|
|
|
|
|
#if E_STEPPERS |
|
|
#if E_STEPPERS |
|
|
EDIT_ITEM_FAST(float3, MSG_VMAX_E, &planner.settings.max_feedrate_mm_s[E_AXIS_N(active_extruder)], 1, max_fr_edit_scaled.e); |
|
|
EDIT_ITEM_FAST(float5, MSG_VMAX_E, &planner.settings.max_feedrate_mm_s[E_AXIS_N(active_extruder)], 1, max_fr_edit_scaled.e); |
|
|
#endif |
|
|
#endif |
|
|
#if ENABLED(DISTINCT_E_FACTORS) |
|
|
#if ENABLED(DISTINCT_E_FACTORS) |
|
|
LOOP_L_N(n, E_STEPPERS) |
|
|
LOOP_L_N(n, E_STEPPERS) |
|
|
EDIT_ITEM_FAST_N(float3, n, MSG_VMAX_EN, &planner.settings.max_feedrate_mm_s[E_AXIS_N(n)], 1, max_fr_edit_scaled.e); |
|
|
EDIT_ITEM_FAST_N(float5, n, MSG_VMAX_EN, &planner.settings.max_feedrate_mm_s[E_AXIS_N(n)], 1, max_fr_edit_scaled.e); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// M205 S Min Feedrate
|
|
|
// M205 S Min Feedrate
|
|
|
EDIT_ITEM_FAST(float3, MSG_VMIN, &planner.settings.min_feedrate_mm_s, 0, 999); |
|
|
EDIT_ITEM_FAST(float5, MSG_VMIN, &planner.settings.min_feedrate_mm_s, 0, 9999); |
|
|
|
|
|
|
|
|
// M205 T Min Travel Feedrate
|
|
|
// M205 T Min Travel Feedrate
|
|
|
EDIT_ITEM_FAST(float3, MSG_VTRAV_MIN, &planner.settings.min_travel_feedrate_mm_s, 0, 999); |
|
|
EDIT_ITEM_FAST(float5, MSG_VTRAV_MIN, &planner.settings.min_travel_feedrate_mm_s, 0, 9999); |
|
|
|
|
|
|
|
|
END_MENU(); |
|
|
END_MENU(); |
|
|
} |
|
|
} |
|
|