diff options
author | supermerill <merill@free.fr> | 2021-12-22 19:47:53 +0300 |
---|---|---|
committer | supermerill <merill@free.fr> | 2021-12-22 21:09:59 +0300 |
commit | 9198f9e26eb4f49296d3a88e6f182ae95c908968 (patch) | |
tree | 670f454c2e29b251b1d267f1a780309abcec34b1 /src/libslic3r/PrintConfig.cpp | |
parent | 5b2cda2e9c5ace970b4b7e33c205203e28d45770 (diff) |
Fix 'avoid crossing perimeters' when wipe enabled.
Also add a new setting to say if the wipe is really needed if 'avoid crossing perimeters' activated & no crossing.
supermerill/SuperSlicer#1069
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r-- | src/libslic3r/PrintConfig.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index c80317961..a707ab94c 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -4579,6 +4579,14 @@ void PrintConfigDef::init_fff_params() def->is_vector_extruder = true; def->set_default_value(new ConfigOptionBools{ false }); + def = this->add("wipe_only_crossing", coBools); + def->label = L("Wipe only when crossing perimeters"); + def->category = OptionCategory::extruders; + def->tooltip = L("Don't wipe when you don't cross a perimeter."); + def->mode = comAdvanced; + def->is_vector_extruder = true; + def->set_default_value(new ConfigOptionBools{ true }); + def = this->add("wipe_speed", coFloats); def->label = L("Wipe speed"); def->category = OptionCategory::extruders; @@ -4843,7 +4851,7 @@ void PrintConfigDef::init_fff_params() "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", // bools - "retract_layer_change", "wipe", + "retract_layer_change", "wipe", "wipe_only_crossing", // percents "retract_before_wipe", // floatsOrPercents @@ -4896,6 +4904,7 @@ void PrintConfigDef::init_extruder_option_keys() "tool_name", "wipe", "wipe_extra_perimeter", + "wipe_only_crossing", "wipe_speed", }; @@ -4913,6 +4922,7 @@ void PrintConfigDef::init_extruder_option_keys() "seam_gap", "wipe", "wipe_extra_perimeter", + "wipe_only_crossing", "wipe_speed", }; assert(std::is_sorted(m_extruder_retract_keys.begin(), m_extruder_retract_keys.end())); @@ -6112,6 +6122,7 @@ std::unordered_set<std::string> prusa_export_to_remove_keys = { "wipe_advanced_nozzle_melted_volume", "wipe_advanced", "wipe_extra_perimeter", +"wipe_only_crossing", "wipe_speed", "wipe_tower_brim", "xy_inner_size_compensation", |