ENH: supporting encoded filament color

jira: [STUDIO-12346]
Change-Id: I7f5ce7806acb6fdeb3e3d9db52a0b96e5fadd759
(cherry picked from commit a7bdc2707d3825327258965c90c33836a7da628b)
This commit is contained in:
xin.zhang
2025-06-25 16:38:43 +08:00
committed by Noisyfox
parent 98a32f57aa
commit 88eae5d217
8 changed files with 8138 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ struct wxLanguageInfo;
namespace Slic3r {
class AppConfig;
class FilamentColorCodeQuery;
class PresetBundle;
class PresetUpdater;
class ModelObject;
@@ -303,6 +304,7 @@ private:
VersionInfo privacy_version_info;
static std::string version_display;
HMSQuery *hms_query { nullptr };
FilamentColorCodeQuery* m_filament_color_code_query{ nullptr };
boost::thread m_sync_update_thread;
std::shared_ptr<int> m_user_sync_token;
@@ -337,6 +339,7 @@ public:
Slic3r::TaskManager* getTaskManager() { return m_task_manager; }
HMSQuery* get_hms_query() { return hms_query; }
NetworkAgent* getAgent() { return m_agent; }
FilamentColorCodeQuery* get_filament_color_code_query();
bool is_editor() const { return m_app_mode == EAppMode::Editor; }
bool is_gcode_viewer() const { return m_app_mode == EAppMode::GCodeViewer; }
bool is_recreating_gui() const { return m_is_recreating_gui; }