Skip to content

Commit

Permalink
Added new Outer/Outer/Inner wall sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
skuep committed Jan 23, 2024
1 parent d3210a4 commit 3f0b0fe
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions localization/i18n/OrcaSlicer.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8717,6 +8717,9 @@ msgstr ""
msgid "Inner/Outer/Inner"
msgstr ""

msgid "Outer/Outer/Inner"
msgstr ""

msgid "Print infill first"
msgstr ""

Expand Down
3 changes: 3 additions & 0 deletions localization/i18n/en/OrcaSlicer_en.po
Original file line number Diff line number Diff line change
Expand Up @@ -9145,6 +9145,9 @@ msgstr ""
msgid "Inner/Outer/Inner"
msgstr ""

msgid "Outer/Outer/Inner"
msgstr ""

msgid "Print infill first"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/libslic3r/PrintConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(WallInfillOrder)
static t_config_enum_values s_keys_map_WallSequence {
{ "inner wall/outer wall", int(WallSequence::InnerOuter) },
{ "outer wall/inner wall", int(WallSequence::OuterInner) },
{ "inner-outer-inner wall", int(WallSequence::InnerOuterInner)}

{ "inner-outer-inner wall", int(WallSequence::InnerOuterInner) },
{ "outer-outer-inner wall", int(WallSequence::OuterOuterInner) }
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(WallSequence)

Expand Down Expand Up @@ -1446,9 +1446,11 @@ void PrintConfigDef::init_fff_params()
def->enum_values.push_back("inner wall/outer wall");
def->enum_values.push_back("outer wall/inner wall");
def->enum_values.push_back("inner-outer-inner wall");
def->enum_values.push_back("outer-outer-inner wall");
def->enum_labels.push_back(L("Inner/Outer"));
def->enum_labels.push_back(L("Outer/Inner"));
def->enum_labels.push_back(L("Inner/Outer/Inner"));
def->enum_labels.push_back(L("Outer/Outer/Inner"));
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionEnum<WallSequence>(WallSequence::InnerOuter));

Expand Down
1 change: 1 addition & 0 deletions src/libslic3r/PrintConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ enum class WallSequence {
InnerOuter,
OuterInner,
InnerOuterInner,
OuterOuterInner,
Count,
};
//BBS
Expand Down

0 comments on commit 3f0b0fe

Please sign in to comment.