mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-01 03:31:25 +02:00
3MF slicer estimates are now the primary tracking source for ALL spools (BL and non-BL), with AMS remain% delta as fallback. Per-layer G-code analysis provides accurate partial usage for failed/cancelled prints. Fix wrong-spool tracking bug: 3MF slot_id was mapped directly to AMS tray position, but the printer remaps slicer slots at print time. Now uses queue ams_mapping for queue prints and tray_now from printer state for single-filament non-queue prints. Add filament_grams, filament_details, and progress template variables to print_complete, print_failed, and print_stopped notification events. Webhook payloads include per-slot filament breakdown. Per-slot data stored in archive extra_data during 3MF parsing.