ENH: Add parameters for extruder page of printer preset

jira: none
Change-Id: I8eb37e41bdc4b2b1f2328acee324c6fad30e391c
(cherry picked from commit d0f89eb8628b4225fc2c6a7b9f2a2eb49bb4f05a)
This commit is contained in:
zhimin.zeng
2025-02-08 16:13:45 +08:00
committed by Noisyfox
parent 595d67761e
commit 5458e0ea6c
3 changed files with 49 additions and 19 deletions

View File

@@ -663,13 +663,13 @@ void PrintConfigDef::init_common_params()
def->set_default_value(new ConfigOptionFloat(100.0));
def = this->add("extruder_printable_height", coFloats);
def->label = L("Printable height");
def->tooltip = L("Maximum printable height which is limited by mechanism of printer");
def->label = L("Extruder printable height");
def->tooltip = L("Maximum printable height of the extruder");
def->sidetext = L("mm");
def->min = 0;
def->max = 1000;
def->mode = comSimple;
def->set_default_value(new ConfigOptionFloatsNullable{});
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloatsNullable{0});
def = this->add("unprintable_filament_types", coStrings);
def->label = L("Unprintable filament type");
@@ -7384,6 +7384,7 @@ std::set<std::string> printer_extruder_options = {
};
std::set<std::string> printer_options_with_variant_1 = {
"nozzle_volume",
"retraction_length",
"z_hop",
"retract_lift_above",