role_based_wipe_speed and wipe_speed

Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
This commit is contained in:
SoftFever 2023-01-15 21:05:35 +08:00
parent cdbd2fe042
commit 8350895513
10 changed files with 50 additions and 11 deletions

View file

@ -2371,7 +2371,6 @@ void PrintConfigDef::init_fff_params()
def->mode = comSimple;
def->set_default_value(new ConfigOptionEnum<SeamPosition>(spAligned));
def = this->add("seam_gap", coFloatOrPercent);
def->label = L("Seam gap");
def->tooltip = L("When extruding a closed loop, the loop is interrupted and shortened a bit to reduce the seam."
@ -2381,7 +2380,24 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(15,true));
def = this->add("role_based_wipe_speed", coBool);
def->label = L("Role base wipe speed");
def->tooltip = L("The wipe speed is same as the current extrusion role's speed.\n"
"e.g. if wipe action is followed by a outer wall extrusion, the outer wall speed will be used for this wipe action.");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("wipe_speed", coFloatOrPercent);
def->label = L("Wipe speed");
def->tooltip = L("This setting will affect the speed of wipe."
" If expressed as percentage (for example: 80%) it will be calculated "
"on the travel speed setting above. Default value is 80%");
def->sidetext = L("mm/s or %");
def->ratio_over = "travel_speed";
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatOrPercent(80,true));
def = this->add("skirt_distance", coFloat);
def->label = L("Skirt distance");
def->tooltip = L("Distance from skirt to brim or object");