add max_bridge_length

This commit is contained in:
Wang YB
2024-04-25 09:57:55 +08:00
parent cc68470ac8
commit b9452a91a2
12 changed files with 189 additions and 3 deletions

View File

@@ -316,6 +316,9 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig* config)
toggle_field("support_material_threshold", have_support_material_auto);
toggle_field("support_material_bottom_contact_distance", have_support_material && ! have_support_soluble);
toggle_field("support_material_closing_radius", have_support_material && support_material_style == smsSnug);
//w28
bool can_remove_bridge = have_support_material && !config->opt_bool("dont_support_bridges");
toggle_field("max_bridge_length", can_remove_bridge);
const bool has_organic_supports = support_material_style == smsOrganic &&
(config->opt_bool("support_material") ||