Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2022-02-09 01:04:49 +0300
committersupermerill <merill@free.fr>2022-02-09 01:06:23 +0300
commit0380a91ea2f16d714b5b64daf1f7eb08889d674e (patch)
tree8e4212c2b9fd3171c0090dd061282930a04f7190 /src/libslic3r/PrintConfig.cpp
parent293e96ac363e3961923af28a10ab5224e4c4b33d (diff)
Change thin_perimeter and thin_perimeter_all to percent type
Now you can choose the threshold instead of 0% / 100% switch.
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index 996f44831..728f70b36 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -5050,21 +5050,27 @@ void PrintConfigDef::init_fff_params()
def->mode = comExpert;
def->set_default_value(new ConfigOptionFloat(-1));
- def = this->add("thin_perimeters", coBool);
+ def = this->add("thin_perimeters", coPercent);
def->label = L("Overlapping external perimeter");
def->full_label = L("Overlapping external perimeter");
def->category = OptionCategory::perimeter;
- def->tooltip = L("Allow outermost perimeter to overlap itself to avoid the use of thin walls. Note that flow isn't adjusted and so this will result in over-extruding and undefined behavior.");
+ def->tooltip = L("Allow outermost perimeter to overlap itself to avoid the use of thin walls. Note that flow isn't adjusted and so this will result in over-extruding and undefined behavior."
+ "\n100% means that perimeters can overlap completly on top of each other."
+ "\n0% will deactivate this setting");
+ def->sidetext = "%";
def->mode = comExpert;
- def->set_default_value(new ConfigOptionBool(true));
+ def->set_default_value(new ConfigOptionPercent(80));
- def = this->add("thin_perimeters_all", coBool);
+ def = this->add("thin_perimeters_all", coPercent);
def->label = L("Overlapping all perimeters");
def->full_label = L("Overlapping all perimeters");
def->category = OptionCategory::perimeter;
- def->tooltip = L("Allow all perimeters to overlap, instead of just external ones.");
+ def->tooltip = L("Allow all perimeters to overlap, instead of just external ones."
+ "\n100% means that perimeters can overlap completly on top of each other."
+ "\n0% will deactivate this setting");
+ def->sidetext = "%";
def->mode = comExpert;
- def->set_default_value(new ConfigOptionBool(false));
+ def->set_default_value(new ConfigOptionPercent(20));
def = this->add("thin_walls", coBool);
def->label = L("Thin walls");