mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 15:35:55 +08:00
Fix of #3270 (Confusing cooling hint when min and max fan speed are equal)
This commit is contained in:
parent
97d3c3e00a
commit
fc5560aac2
@ -34,11 +34,17 @@ std::string PresetHints::cooling_description(const Preset &preset)
|
|||||||
"so that no less than %3%s are spent on that layer "
|
"so that no less than %3%s are spent on that layer "
|
||||||
"(however, speed will never be reduced below %4%mm/s)."),
|
"(however, speed will never be reduced below %4%mm/s)."),
|
||||||
slowdown_below_layer_time, max_fan_speed, slowdown_below_layer_time, min_print_speed);
|
slowdown_below_layer_time, max_fan_speed, slowdown_below_layer_time, min_print_speed);
|
||||||
if (fan_below_layer_time > slowdown_below_layer_time)
|
if (fan_below_layer_time > slowdown_below_layer_time) {
|
||||||
out += "\n" +
|
out += "\n";
|
||||||
GUI::format(_L("If estimated layer time is greater, but still below ~%1%s, "
|
if (min_fan_speed != max_fan_speed)
|
||||||
|
out += GUI::format(_L("If estimated layer time is greater, but still below ~%1%s, "
|
||||||
"fan will run at a proportionally decreasing speed between %2%%% and %3%%%."),
|
"fan will run at a proportionally decreasing speed between %2%%% and %3%%%."),
|
||||||
fan_below_layer_time, max_fan_speed, min_fan_speed);
|
fan_below_layer_time, max_fan_speed, min_fan_speed);
|
||||||
|
else
|
||||||
|
out += GUI::format(_L("If estimated layer time is greater, but still below ~%1%s, "
|
||||||
|
"fan will run at %2%%%"),
|
||||||
|
fan_below_layer_time, min_fan_speed);
|
||||||
|
}
|
||||||
out += "\n";
|
out += "\n";
|
||||||
}
|
}
|
||||||
if (preset.config.opt_bool("fan_always_on", 0)) {
|
if (preset.config.opt_bool("fan_always_on", 0)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user