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-04-13 20:42:49 +0300
committersupermerill <merill@free.fr>2022-04-15 13:34:01 +0300
commit45ab973c6018011681bfd874f51f2f22a43590f4 (patch)
tree2ac831fb5781a05f57d3189ae61ae9906be77a36 /src/libslic3r/PrintConfig.cpp
parent8d4feed33c75dbe68dba046d68520913935449a8 (diff)
wipe_inside_depth setting to control the depth of wipe move.
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index 9397ab789..84e4d2a6d 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -5471,6 +5471,18 @@ void PrintConfigDef::init_fff_params()
def->is_vector_extruder = true;
def->set_default_value(new ConfigOptionBools{ true });
+ def = this->add("wipe_inside_depth", coPercents);
+ def->label = L("Max Wipe deviation");
+ def->full_label = L("Maximum Wipe deviation to the inside");
+ def->category = OptionCategory::extruders;
+ def->tooltip = L("By how much the 'wipe inside' can dive inside the object (if possible)?"
+ "\nIn % of the perimeter width."
+ "\nNote: don't put a value higher than 50% if you have only one perimeter, or 150% for two perimeter, etc... or it will ooze instead of wipe.");
+ def->sidetext = L("%");
+ def->mode = comAdvancedE | comSuSi;
+ def->is_vector_extruder = true;
+ def->set_default_value(new ConfigOptionPercents{ 50 });
+
def = this->add("wipe_only_crossing", coBools);
def->label = L("Wipe only when crossing perimeters");
def->category = OptionCategory::extruders;
@@ -5757,7 +5769,7 @@ void PrintConfigDef::init_fff_params()
// floats
"retract_length", "retract_lift", "retract_lift_above", "retract_lift_below", "retract_speed", "deretract_speed", "retract_restart_extra", "retract_before_travel",
"wipe_extra_perimeter", "wipe_speed",
- "wipe_inside_end", "wipe_inside_start",
+ "wipe_inside_depth", "wipe_inside_end", "wipe_inside_start",
// bools
"retract_layer_change", "wipe", "wipe_only_crossing",
// percents
@@ -5811,7 +5823,8 @@ void PrintConfigDef::init_extruder_option_keys()
"seam_gap",
"tool_name",
"wipe",
- "wipe_extra_perimeter",
+ "wipe_extra_perimeter",
+ "wipe_inside_depth",
"wipe_inside_end",
"wipe_inside_start",
"wipe_only_crossing",
@@ -5832,6 +5845,7 @@ void PrintConfigDef::init_extruder_option_keys()
"seam_gap",
"wipe",
"wipe_extra_perimeter",
+ "wipe_inside_depth",
"wipe_inside_end",
"wipe_inside_start",
"wipe_only_crossing",
@@ -7215,6 +7229,7 @@ std::unordered_set<std::string> prusa_export_to_remove_keys = {
"wipe_advanced_nozzle_melted_volume",
"wipe_advanced",
"wipe_extra_perimeter",
+"wipe_inside_depth",
"wipe_inside_end",
"wipe_inside_start",
"wipe_only_crossing",