Initial Commit for OrcaPrinterAgent AMS Sync

This commit is contained in:
Lam Wei Lun
2026-09-18 15:46:35 +08:00
parent a7ab01b815
commit 6f5856f06c
14 changed files with 1500 additions and 412 deletions
@@ -6,6 +6,7 @@
#include <atomic>
#include <cstdint>
#include <string>
#include <vector>
namespace Slic3r {
@@ -28,6 +29,12 @@ private:
// Combine filament_type + filament_sub_type into a unified type string
static std::string combine_filament_type(const std::string& type, const std::string& sub_type);
// Resolve tray_info_idx for the collected trays. Reads the GUI preset
// bundle, so it is invoked on the main thread from within the shared
// build_ams_payload_for_device() (never on the fetch worker).
static void resolve_snapmaker_tray_info(std::vector<AmsTrayData>& trays,
const std::vector<std::string>& vendors);
void start_camera_monitor();
void on_status_loop_tick(const std::string& dev_id) override;