tidy up some codes

This commit is contained in:
SoftFever 2024-07-10 00:32:11 +08:00
parent 860a41baed
commit 18e417b34b
2 changed files with 12 additions and 15 deletions

View file

@ -4901,15 +4901,6 @@ void PrintConfigDef::init_fff_params()
def->min = 0.; def->min = 0.;
def->max = 90.; def->max = 90.;
def->set_default_value(new ConfigOptionFloat(0.)); def->set_default_value(new ConfigOptionFloat(0.));
def = this->add("wipe_tower_extra_spacing", coPercent);
def->label = L("Wipe tower purge lines spacing");
def->tooltip = L("Spacing of purge lines on the wipe tower.");
def->sidetext = L("%");
def->mode = comAdvanced;
def->min = 100.;
def->max = 300.;
def->set_default_value(new ConfigOptionPercent(100.));
def = this->add("wipe_tower_max_purge_speed", coFloat); def = this->add("wipe_tower_max_purge_speed", coFloat);
def->label = L("Maximum wipe tower print speed"); def->label = L("Maximum wipe tower print speed");
@ -4973,9 +4964,19 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(10.)); def->set_default_value(new ConfigOptionFloat(10.));
def = this->add("wipe_tower_extra_spacing", coPercent);
def->label = L("Wipe tower purge lines spacing");
def->tooltip = L("Spacing of purge lines on the wipe tower.");
def->sidetext = L("%");
def->mode = comAdvanced;
def->min = 100.;
def->max = 300.;
def->set_default_value(new ConfigOptionPercent(100.));
def = this->add("wipe_tower_extra_flow", coPercent); def = this->add("wipe_tower_extra_flow", coPercent);
def->label = L("MATHIEU TEST: extra flow"); def->label = L("Extra flow for purging");
def->tooltip = L(""); def->tooltip = L("Extra flow used for the purging lines on the wipe tower. This makes the purging lines thicker or narrower "
"than they normally would be. The spacing is adjusted automatically.");
def->sidetext = L("%"); def->sidetext = L("%");
def->mode = comAdvanced; def->mode = comAdvanced;
def->min = 100.; def->min = 100.;

View file

@ -3465,14 +3465,10 @@ void TabFilament::build()
return sizer; return sizer;
}); });
// Orca: multi tool is not supported yet.
#define ORCA_MULTI_TOOL
#ifdef ORCA_MULTI_TOOL
optgroup = page->new_optgroup(L("Toolchange parameters with multi extruder MM printers")); optgroup = page->new_optgroup(L("Toolchange parameters with multi extruder MM printers"));
optgroup->append_single_option_line("filament_multitool_ramming"); optgroup->append_single_option_line("filament_multitool_ramming");
optgroup->append_single_option_line("filament_multitool_ramming_volume"); optgroup->append_single_option_line("filament_multitool_ramming_volume");
optgroup->append_single_option_line("filament_multitool_ramming_flow"); optgroup->append_single_option_line("filament_multitool_ramming_flow");
#endif
page = add_options_page(L("Notes"), "custom-gcode_note"); // ORCA: icon only visible on placeholders page = add_options_page(L("Notes"), "custom-gcode_note"); // ORCA: icon only visible on placeholders
optgroup = page->new_optgroup(L("Notes"),"note", 0); optgroup = page->new_optgroup(L("Notes"),"note", 0);