Port automatic hole to polyhole conversion from SuperSlicer

Co-authored-by: supermerill <merill@free.fr>
This commit is contained in:
LovelyTwo 2023-10-06 19:26:53 +11:00 committed by Julian Tyler
parent ee9f651511
commit 3359dadd32
10 changed files with 189 additions and 2 deletions

View file

@ -721,6 +721,9 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
toggle_line("exclude_object", gcflavor == gcfKlipper);
toggle_line("min_width_top_surface",config->opt_bool("only_one_wall_top"));
for (auto el : { "hole_to_polyhole_threshold", "hole_to_polyhole_twisted" })
toggle_line(el, config->opt_bool("hole_to_polyhole"));
}
void ConfigManipulation::update_print_sla_config(DynamicPrintConfig* config, const bool is_global_config/* = false*/)