From cfaee988179dfc5dc1e7313610f7d6e0b91126b9 Mon Sep 17 00:00:00 2001 From: SoftFever <103989404+SoftFever@users.noreply.github.com> Date: Sun, 7 May 2023 15:54:00 +0800 Subject: [PATCH] support full_fan_speed_layer --- src/libslic3r/PrintConfig.cpp | 10 +++++----- src/slic3r/GUI/Tab.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 31d122cf26f..d2c41e31070 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -1643,13 +1643,13 @@ void PrintConfigDef::init_fff_params() def = this->add("full_fan_speed_layer", coInts); def->label = L("Full fan speed at layer"); - //def->tooltip = L("Fan speed will be ramped up linearly from zero at layer \"close_fan_the_first_x_layers\" " - // "to maximum at layer \"full_fan_speed_layer\". " - // "\"full_fan_speed_layer\" will be ignored if lower than \"close_fan_the_first_x_layers\", in which case " - // "the fan will be running at maximum allowed speed at layer \"close_fan_the_first_x_layers\" + 1."); + def->tooltip = L("Fan speed will be ramped up linearly from zero at layer \"close_fan_the_first_x_layers\" " + "to maximum at layer \"full_fan_speed_layer\". " + "\"full_fan_speed_layer\" will be ignored if lower than \"close_fan_the_first_x_layers\", in which case " + "the fan will be running at maximum allowed speed at layer \"close_fan_the_first_x_layers\" + 1."); def->min = 0; def->max = 1000; - def->mode = comDevelop; + def->mode = comAdvanced; def->set_default_value(new ConfigOptionInts { 0 }); def = this->add("fuzzy_skin", coEnum); diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 4b4feb1480a..529c0e78702 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2738,7 +2738,7 @@ void TabFilament::build() //optgroup->append_line(line); optgroup = page->new_optgroup(L("Cooling for specific layer"), L"param_cooling"); optgroup->append_single_option_line("close_fan_the_first_x_layers", "auto-cooling"); - //optgroup->append_single_option_line("full_fan_speed_layer"); + optgroup->append_single_option_line("full_fan_speed_layer"); optgroup = page->new_optgroup(L("Part cooling fan"), L"param_cooling_fan"); line = { L("Min fan speed threshold"), L("Part cooling fan speed will start to run at min speed when the estimated layer time is no longer than the layer time in setting. When layer time is shorter than threshold, fan speed is interpolated between the minimum and maximum fan speed according to layer printing time") };