support full_fan_speed_layer

This commit is contained in:
SoftFever 2023-05-07 15:54:00 +08:00 committed by SoftFever
parent ef83e47612
commit 7d122fb479
2 changed files with 6 additions and 6 deletions

View file

@ -1643,13 +1643,13 @@ void PrintConfigDef::init_fff_params()
def = this->add("full_fan_speed_layer", coInts); def = this->add("full_fan_speed_layer", coInts);
def->label = L("Full fan speed at layer"); 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\" " 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\". " "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 " "\"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."); "the fan will be running at maximum allowed speed at layer \"close_fan_the_first_x_layers\" + 1.");
def->min = 0; def->min = 0;
def->max = 1000; def->max = 1000;
def->mode = comDevelop; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionInts { 0 }); def->set_default_value(new ConfigOptionInts { 0 });
def = this->add("fuzzy_skin", coEnum); def = this->add("fuzzy_skin", coEnum);

View file

@ -2738,7 +2738,7 @@ void TabFilament::build()
//optgroup->append_line(line); //optgroup->append_line(line);
optgroup = page->new_optgroup(L("Cooling for specific layer"), L"param_cooling"); 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("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"); 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") }; 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") };