Introduce a new seam alignment option: Aligned back (#10255)

* Introduce a new seam alignment option: spAlignedBack.
This commit is contained in:
SoftFever
2025-07-29 21:11:35 +08:00
committed by GitHub
parent 6f407d5874
commit c1cab71215
3 changed files with 22 additions and 12 deletions

View File

@@ -270,8 +270,9 @@ CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(SupportType)
static t_config_enum_values s_keys_map_SeamPosition {
{ "nearest", spNearest },
{ "aligned", spAligned },
{ "aligned_back", spAlignedBack },
{ "back", spRear },
{ "random", spRandom },
{ "random", spRandom }
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(SeamPosition)
@@ -4365,10 +4366,12 @@ void PrintConfigDef::init_fff_params()
def->enum_keys_map = &ConfigOptionEnum<SeamPosition>::get_enum_values();
def->enum_values.push_back("nearest");
def->enum_values.push_back("aligned");
def->enum_values.push_back("aligned_back");
def->enum_values.push_back("back");
def->enum_values.push_back("random");
def->enum_labels.push_back(L("Nearest"));
def->enum_labels.push_back(L("Aligned"));
def->enum_labels.push_back(L("Aligned back"));
def->enum_labels.push_back(L("Back"));
def->enum_labels.push_back(L("Random"));
def->mode = comSimple;