Skip to content

Show filament name and left/right nozzle in filament selectors#11221

Open
tompollok wants to merge 1 commit into
bambulab:masterfrom
tompollok:feature/filament-nozzle-labels
Open

Show filament name and left/right nozzle in filament selectors#11221
tompollok wants to merge 1 commit into
bambulab:masterfrom
tompollok:feature/filament-nozzle-labels

Conversation

@tompollok

Copy link
Copy Markdown

Addresses #10354 (Material info not displayed at Material selection on objects view).

What

Across the filament-selection UIs, show the filament display name and, on dual-nozzle printers (H2D/H2C), a right-aligned (L)/(R) indicating which nozzle the filament is loaded on:

  • Object list "Fila." column and its dropdown editor
  • "Change Filament" context menus
  • Support/raft base and Support/raft interface selectors

Why

On dual-nozzle machines it isn't obvious from these menus which nozzle a filament is on, and the object-view material selection showed little material info. This surfaces the filament name and nozzle side consistently, matching the sidebar Left/Right Nozzle view.

How

  • During AMS sync, write the real per-filament nozzle into filament_map (both the overwrite and merge paths) instead of defaulting everything to the left nozzle. The nozzle is derived from each AMS's bound extruder / current filament-switcher position, the same way the Left/Right Nozzle view computes it.
  • Skip empty external-spool slots in build_filament_ams_list so they no longer add phantom filaments (which previously shifted the assignment).
  • Add an opt-in right-aligned text column to the DropDown widget so the (L)/(R) labels line up vertically; other dropdowns are unaffected.
  • Object-tree filament cell tooltip shows the readable color name + AMS location.

Notes

  • The (L)/(R) only shows on dual-nozzle printers once filaments are synced; single-nozzle printers are unchanged.
  • Tested on macOS with a connected H2C (3× AMS + 3× AMS-HT, 2 left / 13 right).

🤖 Generated with Claude Code

Make the filament selection UIs show the filament display name and, on
dual-nozzle printers (e.g. H2D/H2C), a right-aligned (L)/(R) nozzle side:

- Object list "Fila." column and its dropdown editor.
- "Change Filament" / "Change filament" context menus.
- Support/raft base and Support/raft interface selectors.

To make the nozzle side correct, write the real per-filament nozzle into
filament_map during AMS sync (both overwrite and merge paths), derived
from each AMS's bound extruder / current filament-switcher position the
same way the Left/Right Nozzle view does. Empty external-spool slots are
skipped so they no longer add phantom filaments.

Also:
- Add an opt-in right-aligned text column to the DropDown widget so the
  (L)/(R) labels line up vertically.
- Object-tree filament cell tooltip shows the readable color name and the
  AMS location (e.g. "Black - AMS HT-B").

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant