add make_overhang_printable

This commit is contained in:
Wang YB
2024-04-30 10:38:59 +08:00
parent 8fa61058d4
commit 6121002516
10 changed files with 193 additions and 3 deletions

View File

@@ -377,6 +377,11 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig* config)
//w21
bool is_top_one_wall = config->opt_enum<TopOneWallType>("top_one_wall_type") != TopOneWallType::Disable;
toggle_field("top_area_threshold", is_top_one_wall);
//w31
bool have_make_overhang_printable = config->opt_bool("make_overhang_printable");
toggle_field("make_overhang_printable_angle", have_make_overhang_printable);
toggle_field("make_overhang_printable_hole_size", have_make_overhang_printable);
}
void ConfigManipulation::toggle_print_sla_options(DynamicPrintConfig* config)

View File

@@ -1474,6 +1474,10 @@ void TabPrint::build()
optgroup->append_single_option_line("top_area_threshold");
//w23
optgroup->append_single_option_line("only_one_wall_first_layer");
//w31
optgroup->append_single_option_line("make_overhang_printable");
optgroup->append_single_option_line("make_overhang_printable_angle");
optgroup->append_single_option_line("make_overhang_printable_hole_size");
optgroup = page->new_optgroup(L("Fuzzy skin (experimental)"));
category_path = "fuzzy-skin_246186/#";