From e0e714d22acf2efc95d93679e731f2a58acd38f6 Mon Sep 17 00:00:00 2001 From: TheLegendTubaGuy Date: Wed, 1 Apr 2026 03:07:24 -0500 Subject: [PATCH] Add fallback for Max 4 series ID matching The Qidi Max 4 doesn't report that it's a Qidi Max 4 via /server/info like the other Qidi printers apparently do. This means that filament matching is a fool's erand because you'll never actually match anything. this adds a fallback where we just use the configured machine type. I'm not sure why we wouldn't just do that all the time, but I wanted to change as little as possible. --- src/slic3r/Utils/QidiPrinterAgent.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slic3r/Utils/QidiPrinterAgent.cpp b/src/slic3r/Utils/QidiPrinterAgent.cpp index dfd2838513..6b05480194 100644 --- a/src/slic3r/Utils/QidiPrinterAgent.cpp +++ b/src/slic3r/Utils/QidiPrinterAgent.cpp @@ -50,6 +50,10 @@ bool QidiPrinterAgent::fetch_filament_info(std::string dev_id) series_id = infer_series_id(info.model_id, info.dev_name); } } + if (series_id.empty()) { + // Fall back to the configured Orca model if Moonraker doesn't expose a usable identifier. + series_id = infer_series_id(device_info.model_id, device_info.model_name); + } // 2. Fetch filament dictionary QidiFilamentDict dict;