fix spiral vase enforce settings

The "ensure vertical shell wall" is enforced in spiral vase mode to extend the bottom of the vase to the vase hull.
supermerill/SuperSlicer#1582
This commit is contained in:
supermerill 2021-09-26 23:58:30 +02:00
parent 9f9f544bb9
commit f711601a66

View File

@ -76,7 +76,7 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
&& config->opt_bool("support_material") == false
&& config->opt_int("support_material_enforce_layers") == 0
&& config->opt_bool("exact_last_layer_height") == false
&& config->opt_bool("ensure_vertical_shell_thickness") == false
&& config->opt_bool("ensure_vertical_shell_thickness") == true
&& config->opt_bool("infill_dense") == false
&& config->opt_bool("extra_perimeters") == false
&& config->opt_bool("extra_perimeters_overhangs") == false
@ -115,7 +115,7 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
else if (this->local_config->get().optptr("exact_last_layer_height"))
new_conf.set_key_value("exact_last_layer_height", new ConfigOptionBool(false));
else if (this->local_config->get().optptr("ensure_vertical_shell_thickness"))
new_conf.set_key_value("ensure_vertical_shell_thickness", new ConfigOptionBool(false));
new_conf.set_key_value("ensure_vertical_shell_thickness", new ConfigOptionBool(true));
else if (this->local_config->get().optptr("infill_dense"))
new_conf.set_key_value("infill_dense", new ConfigOptionBool(false));
else if (this->local_config->get().optptr("extra_perimeters"))
@ -134,7 +134,7 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
new_conf.set_key_value("support_material", new ConfigOptionBool(false));
new_conf.set_key_value("support_material_enforce_layers", new ConfigOptionInt(0));
new_conf.set_key_value("exact_last_layer_height", new ConfigOptionBool(false));
new_conf.set_key_value("ensure_vertical_shell_thickness", new ConfigOptionBool(false));
new_conf.set_key_value("ensure_vertical_shell_thickness", new ConfigOptionBool(true));
new_conf.set_key_value("infill_dense", new ConfigOptionBool(false));
new_conf.set_key_value("extra_perimeters", new ConfigOptionBool(false));
new_conf.set_key_value("extra_perimeters_overhangs", new ConfigOptionBool(false));