Added brim width setting for tree support

This commit is contained in:
SoftFever 2023-03-12 21:05:59 +08:00
parent a47c756112
commit 11c1c17245
7 changed files with 29 additions and 5 deletions

View file

@ -3049,6 +3049,19 @@ void PrintConfigDef::init_fff_params()
def->category = L("Quality");
def->tooltip = L("Enabling this option means the height of tree support layer except the first will be automatically calculated ");
def->set_default_value(new ConfigOptionBool(1));
def = this->add("tree_support_auto_brim", coBool);
def->label = L("Auto brim width");
def->category = L("Quality");
def->tooltip = L("Enabling this option means the width of the brim for tree support will be automatically calculated");
def->set_default_value(new ConfigOptionBool(1));
def = this->add("tree_support_brim_width", coFloat);
def->label = L("Tree support brim width");
def->category = L("Quality");
def->min = 0.0;
def->tooltip = L("Distance from tree branch to the outermost brim line");
def->set_default_value(new ConfigOptionFloat(3));
def = this->add("tree_support_branch_diameter", coFloat);
def->label = L("Tree support branch diameter");