Fix Snapmaker AMS filament profile matching (Snapmaker agent only!) #825

Open
opened 2026-04-05 16:32:17 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Argolein on 2/10/2026

Summary

Fixes Snapmaker "AMS" sync selecting wrong filament presets, especially with vendor/subtype variants and U1 vs Dual naming.

Changes

  • Add sync_agent_id + filament_vendor to AMS tray config.
  • Include tray vendor in Moonraker AMS payload.
  • Improve Snapmaker filament parsing (vendor/type/subtype, base URL resolution).
  • Update PresetBundle::sync_ams_list with Snapmaker-only matching/tie-break logic:
  • gated by sync_agent_id == "snapmaker"
  • robust vendor/type/subtype matching
  • safer fallback when filament_id is missing/incompatible

Scope and testing

  • Only Snapmaker sync path is affected; other printer agents keep existing behavior.
  • Tested on ARM macOS and Windows for printer Snapmaker U1
*Originally created by @Argolein on 2/10/2026* ## Summary Fixes Snapmaker "AMS" sync selecting wrong filament presets, especially with vendor/subtype variants and U1 vs Dual naming. ## Changes - Add `sync_agent_id` + `filament_vendor` to AMS tray config. - Include tray vendor in Moonraker AMS payload. - Improve Snapmaker filament parsing (vendor/type/subtype, base URL resolution). - Update `PresetBundle::sync_ams_list` with Snapmaker-only matching/tie-break logic: - gated by `sync_agent_id == "snapmaker"` - robust vendor/type/subtype matching - safer fallback when `filament_id` is missing/incompatible ## Scope and testing - **Only Snapmaker sync path is affected**; other printer agents keep existing behavior. - Tested on ARM macOS and Windows for printer Snapmaker U1
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#825