mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
The Bambu Cloud API returns the base filament_id for versioned setting IDs (e.g. GFSL99 → GFL99 for all "Generic PLA" variants), so assigning a spool with a specific variant like "Generic PLA Silk" (GFSL99_01) would configure the AMS slot with the base "Generic PLA" profile (GFL99) instead of the correct one (GFL96). Added a post-resolution cross-check: if the resolved filament_id maps to a different name than the spool's stored preset name, reverse-lookup the correct filament_id from the built-in filament table.