diff options
author | supermerill <merill@free.fr> | 2022-02-16 05:20:55 +0300 |
---|---|---|
committer | supermerill <merill@free.fr> | 2022-02-17 01:59:42 +0300 |
commit | bc5979afef6fa6b7ad4b7530946252c36e0df852 (patch) | |
tree | 2646b3e489b6ce5282a94ae8afeba57e2671b51e /src/libslic3r/PrintConfig.cpp | |
parent | f5afec0a5edc8109244b416d271a3946baf50f32 (diff) |
Fix raft flow problem & raft double sheath, also
Now sheath infill is printed just after the perimeter sheath
remove support_material_solid_first_layer as there is no a % and there is always a sheath
supermerill/SuperSlicer#2394
supermerill/SuperSlicer#2400
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r-- | src/libslic3r/PrintConfig.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 6626cefa6..d52c00c20 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -3963,13 +3963,6 @@ void PrintConfigDef::init_fff_params() def->mode = comExpert; def->set_default_value(new ConfigOptionFloat(3.)); - def = this->add("support_material_solid_first_layer", coBool); - def->label = L("Solid first layer"); - def->category = OptionCategory::support; - def->tooltip = L("Use a solid layer instead of a raft for the layer that touches the build plate."); - def->mode = comAdvanced; - def->set_default_value(new ConfigOptionBool(false)); - def = this->add("raft_layers", coInt); def->label = L("Raft layers"); def->category = OptionCategory::support; @@ -6808,6 +6801,11 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va opt_key = ""; return; } + //in ps 2.4, the raft_first_layer_density is now more powerful than the support_material_solid_first_layer, also it always does the perimeter. + if ("support_material_solid_first_layer" == opt_key) { + opt_key = "raft_first_layer_density"; + value = "100"; + } //prusa if ("gcode_flavor" == opt_key) { @@ -7033,7 +7031,6 @@ std::unordered_set<std::string> prusa_export_to_remove_keys = { "support_material_contact_distance_type", "support_material_interface_acceleration", "support_material_interface_pattern", -"support_material_solid_first_layer", "thin_perimeters_all", "thin_perimeters", "thin_walls_acceleration", |