add "overhang_reverse_internal_only"

This commit is contained in:
Wang YB
2024-05-24 13:50:59 +08:00
parent 201cb4a2fd
commit 783b825007
7 changed files with 36 additions and 7 deletions

View File

@@ -385,6 +385,7 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig* config)
bool has_overhang_reverse = config->opt_bool("overhang_reverse");
bool allow_overhang_reverse = has_detect_overhang_wall && !has_spiral_vase;
toggle_field("overhang_reverse", allow_overhang_reverse);
toggle_field("overhang_reverse_internal_only", allow_overhang_reverse && has_overhang_reverse);
toggle_field("overhang_reverse_threshold", allow_overhang_reverse && has_overhang_reverse);
}

View File

@@ -1462,6 +1462,7 @@ void TabPrint::build()
//w38
optgroup->append_single_option_line("overhang_reverse");
optgroup->append_single_option_line("overhang_reverse_internal_only");
optgroup->append_single_option_line("overhang_reverse_threshold");
optgroup = page->new_optgroup(L("Advanced"));