From 45ab973c6018011681bfd874f51f2f22a43590f4 Mon Sep 17 00:00:00 2001 From: supermerill Date: Wed, 13 Apr 2022 19:42:49 +0200 Subject: wipe_inside_depth setting to control the depth of wipe move. --- src/libslic3r/PrintConfig.cpp | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src/libslic3r/PrintConfig.cpp') 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 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", -- cgit v1.2.3