add max_bridge_length

This commit is contained in:
Wang YB
2024-04-25 09:57:55 +08:00
parent cc68470ac8
commit b9452a91a2
12 changed files with 189 additions and 3 deletions

View File

@@ -868,6 +868,17 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(true));
//w28
def = this->add("max_bridge_length", coFloat);
def->label = L("Max bridge length");
def->category = L("Support material");
def->tooltip = L("Max length of bridges that don't need support. Set it to 0 if you want all bridges to be supported, and set it to a "
"very large value if you don't want any bridges to be supported.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(10));
def = this->add("duplicate_distance", coFloat);
def->label = L("Distance between copies");
def->tooltip = L("Distance used for the auto-arrange feature of the plater.");