Feature: Ability to set flow ratio for brims (#11876)

Fixes #11853

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Valerii Bokhan
2026-04-24 08:19:14 +02:00
committed by GitHub
parent 1eb9a8efbd
commit c30276ef24
9 changed files with 48 additions and 17 deletions

View File

@@ -707,6 +707,7 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
bool have_brim_width = (config->opt_enum<BrimType>("brim_type") != btNoBrim) && config->opt_enum<BrimType>("brim_type") != btAutoBrim &&
config->opt_enum<BrimType>("brim_type") != btPainted;
toggle_field("brim_width", have_brim_width);
toggle_field("brim_flow_ratio", have_brim);
// wall_filament uses the same logic as in Print::extruders()
toggle_field("wall_filament", have_perimeters || have_brim);