Skip to content

Commit aac4365

Browse files
committed
Remove extra infill lines data
CURA-12361
1 parent c6bb31a commit aac4365

File tree

3 files changed

+0
-32
lines changed

3 files changed

+0
-32
lines changed

include/settings/EnumSettings.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,6 @@ enum class EFillMethod
3131
PLUGIN, // Place plugin after none to prevent it from being tested in the gtest suite.
3232
};
3333

34-
35-
/*!
36-
* Enum for the value of extra_infill_lines_to_support_skins
37-
* This enum defines what extra lines should be added to infill to support
38-
* skins above.
39-
*/
40-
enum class EExtraInfillLinesToSupportSkins
41-
{
42-
WALLS_AND_LINES,
43-
WALLS,
44-
NONE,
45-
};
46-
4734
/*!
4835
* Type of platform adhesion.
4936
*/

src/settings/Settings.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -469,24 +469,6 @@ EPlatformAdhesion Settings::get<EPlatformAdhesion>(const std::string& key) const
469469
}
470470
}
471471

472-
template<>
473-
EExtraInfillLinesToSupportSkins Settings::get<EExtraInfillLinesToSupportSkins>(const std::string& key) const
474-
{
475-
const std::string& value = get<std::string>(key);
476-
using namespace cura::utils;
477-
switch (hash_enum(value))
478-
{
479-
case "walls_and_lines"_sw:
480-
return EExtraInfillLinesToSupportSkins::WALLS_AND_LINES;
481-
case "walls"_sw:
482-
return EExtraInfillLinesToSupportSkins::WALLS;
483-
case "none"_sw:
484-
return EExtraInfillLinesToSupportSkins::NONE;
485-
default:
486-
return EExtraInfillLinesToSupportSkins::WALLS_AND_LINES;
487-
}
488-
}
489-
490472
template<>
491473
ESupportType Settings::get<ESupportType>(const std::string& key) const
492474
{

tests/test_default_settings.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,6 @@ machine_nozzle_heat_up_speed=2.0
750750
jerk_wall_0=20
751751
retraction_extra_prime_amount=0
752752
skin_edge_support_thickness=0
753-
extra_infill_lines_to_support_skins=walls_and_lines
754753
speed_topbottom=40.0
755754
jerk_prime_tower=20
756755
retraction_hop=1

0 commit comments

Comments
 (0)