Skip to content

fix: 'Support for ABS' shown as 'ABS' in filament grouping dialog#10829

Open
BenJule wants to merge 4 commits into
bambulab:masterfrom
BenJule:fix/10773-support-filament-name-grouping
Open

fix: 'Support for ABS' shown as 'ABS' in filament grouping dialog#10829
BenJule wants to merge 4 commits into
bambulab:masterfrom
BenJule:fix/10773-support-filament-name-grouping

Conversation

@BenJule
Copy link
Copy Markdown

@BenJule BenJule commented May 20, 2026

Problem

When a project loads both a regular filament (e.g. ABS) and its support variant (e.g. Support for ABS), the filament grouping dialog shows two identical ABS labels, making it impossible to distinguish the two slots.

Root cause

Both preset types store filament_type = "ABS" in config. Two separate code paths read the raw values without checking filament_is_support:

  1. FilamentMapDialog.cpp (try_pop_up_before_slice) — dialog triggered before slicing
  2. Plater.cpp (open_filament_map_setting_dialog) — dialog opened manually

Fix

FilamentMapDialog.cpp: Replace the direct option read with get_filament_type(), which returns the display string including the Sup. prefix for support filaments.

Plater.cpp: After reading raw filament_type values, prepend "Sup." for any slot whose preset has filament_is_support = true — matching the convention used by get_filament_type().

Test plan

  • Load a project with ABS + Support for ABS slots
  • Open the filament grouping dialog manually — verify ABS vs Sup.ABS labels
  • Slice to trigger the dialog automatically — verify same distinct labels
  • Verify pure-regular-filament projects are unaffected

Fixes #10773

BenJule added 4 commits May 21, 2026 10:52
The upstream build_all.yml only listed 'main' as a push trigger.
BenJule/BambuStudio uses 'master' as its default branch, so CI never
fired on fork-local pushes. Adding 'master' alongside 'main' makes
the full multi-platform build run when master is updated.
…ambulab#10773)

Two root causes:

1. FilamentMapDialog read raw filament_type config values directly.
   Support filaments store their base type ("ABS") there, making them
   indistinguishable from regular ABS.  Replace with a loop over
   get_filament_type() so the display name ("Sup.ABS") is used.

2. get_filament_type() handled PLA-S and PA-S in the filament_id-
   present branch but was missing the ABS-S case, causing it to fall
   through to the raw "ABS" return value.

Closes bambulab#10773
…alog

When a project uses both a regular filament (e.g. ABS) and its support
variant (e.g. Support for ABS), both presets share the same filament_type
value ('ABS'). The FilamentMapDialog therefore displayed two identical
'ABS' labels, making it impossible to distinguish the two slots.

Use the filament_is_support config flag (same convention already used by
Preset::get_filament_type()) to prepend 'Sup.' to the type string before
passing it to the grouping dialog, so the labels read 'ABS' and 'Sup.ABS'.
@BenJule BenJule force-pushed the fix/10773-support-filament-name-grouping branch from ef24b0e to 049f233 Compare May 21, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The name of Support for ABS in Filament Grouping is confusing

1 participant