Label each overhang speed with the overhang it applies at (#18038)

This commit is contained in:
Ian Bassi authored and GitHub committed 2026-11-30 14:06:23 -03:00
1 parent 8ce5eb7b12
commit a28a42dc17
2 files changed
+23 -18

No files matched your search

+22 -17
View File
@@ -2004,17 +2004,25 @@ void PrintConfigDef::init_fff_params()
"3. If artifacts still appear, enable Extrusion Rate Smoothing (ERS) to further smooth the flow transitions.\n\n"
"Note: When this option is enabled, overhang perimeters are treated like overhangs, meaning the overhang speed is "
"applied even if the overhanging perimeter is part of a bridge.\n"
"For example, when the perimeters are 100% overhanging, with no wall supporting them from underneath, the 75% overhang speed will be applied, limited by the bridge speed.");
"For example, when the perimeters are 100% overhanging, with no wall supporting them from underneath, the 75-87% overhang speed will be applied, limited by the bridge speed.");
def->mode = comAdvanced;
def->nullable = true;
def->set_default_value(new ConfigOptionBoolsNullable{ false });
// xgettext:no-c-format, no-boost-format
const char *overhang_speed_tooltip = L("Speeds for walls that overhang the layer below, by how much of their line width overhangs. "
"The speed blends from the wall speed at 10% to each speed in turn, and reaches each one at the "
"top of its range.\n"
"Above 87%, the last speed holds while \"Slow down for curled perimeters\" is on. Otherwise the "
"speed blends into the external bridge speed at 100%.\n"
"A percentage is taken of the outer wall speed for outer walls, and of the inner wall speed for "
"inner walls. 0 keeps the wall speed at that point.");
def = this->add("overhang_1_4_speed", coFloatsOrPercents);
def->label = "10%";
def->label = "10-25%";
def->category = L("Speed");
def->full_label = "10%";
//def->tooltip = L("Speed for line of wall which has degree of overhang between 10% and 25% line width. "
// "0 means using original wall speed.");
def->full_label = "10-25%";
def->tooltip = overhang_speed_tooltip;
def->sidetext = L("mm/s or %");
def->ratio_over = "outer_wall_speed";
def->min = 0;
@@ -2023,11 +2031,10 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloatsOrPercentsNullable{FloatOrPercent(0, false)});
def = this->add("overhang_2_4_speed", coFloatsOrPercents);
def->label = "25%";
def->label = "25-50%";
def->category = L("Speed");
def->full_label = "25%";
//def->tooltip = L("Speed for line of wall which has degree of overhang between 25% and 50% line width. "
// "0 means using original wall speed.");
def->full_label = "25-50%";
def->tooltip = overhang_speed_tooltip;
def->sidetext = L("mm/s or %");
def->ratio_over = "outer_wall_speed";
def->min = 0;
@@ -2036,11 +2043,10 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloatsOrPercentsNullable{FloatOrPercent(0, false)});
def = this->add("overhang_3_4_speed", coFloatsOrPercents);
def->label = "50%";
def->label = "50-75%";
def->category = L("Speed");
def->full_label = "50%";
//def->tooltip = L("Speed for line of wall which has degree of overhang between 50% and 75% line width. "
// "0 means using original wall speed.");
def->full_label = "50-75%";
def->tooltip = overhang_speed_tooltip;
def->sidetext = L("mm/s or %");
def->ratio_over = "outer_wall_speed";
def->min = 0;
@@ -2049,11 +2055,10 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloatsOrPercentsNullable{FloatOrPercent(0, false)});
def = this->add("overhang_4_4_speed", coFloatsOrPercents);
def->label = "75%";
def->label = "75-87%";
def->category = L("Speed");
def->full_label = "75%";
//def->tooltip = L("Speed for line of wall which has degree of overhang between 75% and 100% line width. "
// "0 means using original wall speed.");
def->full_label = "75-87%";
def->tooltip = overhang_speed_tooltip;
def->sidetext = L("mm/s or %");
def->ratio_over = "outer_wall_speed";
def->min = 0;