NEW: add concentric infill pattern for ironing

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Icd9f9fe0e39d86725faa98dd3eae82a4189130e0
This commit is contained in:
qing.zhang 2023-04-21 11:32:47 +08:00 committed by Lane.Wei
parent b5c7532700
commit 7b12dcb6ea
6 changed files with 41 additions and 16 deletions

View file

@ -1649,6 +1649,17 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionEnum<IroningType>(IroningType::NoIroning));
def = this->add("ironing_pattern", coEnum);
def->label = L("Ironing Pattern");
def->category = L("Quality");
def->enum_keys_map = &ConfigOptionEnum<InfillPattern>::get_enum_values();
def->enum_values.push_back("concentric");
def->enum_values.push_back("zig-zag");
def->enum_labels.push_back(L("Concentric"));
def->enum_labels.push_back(L("Rectilinear"));
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipRectilinear));
def = this->add("ironing_flow", coPercent);
def->label = L("Ironing flow");
def->category = L("Quality");