ENH: support nozzle refresh for H2D Pro

Jira: [STUDIO-13185]
Change-Id: Ib8b5905c32f83b1f849ad4ed327c9d77826d6a18
(cherry picked from commit c603e0f88be71a301ed2fc7f6fff2a34398b6708)
This commit is contained in:
hemai
2025-10-13 21:28:16 +08:00
committed by Noisyfox
parent 2e00237a97
commit fb62e8782c
2 changed files with 7 additions and 0 deletions

View File

@@ -60,6 +60,7 @@
"support_chamber_temp_switch_heating": 40, "support_chamber_temp_switch_heating": 40,
"support_extrusion_cali": false, "support_extrusion_cali": false,
"support_user_preset": false, "support_user_preset": false,
"support_refresh_nozzle": true,
"support_ams_ext_mix_print": true "support_ams_ext_mix_print": true
}, },
"model_id": "O1E", "model_id": "O1E",

View File

@@ -23,6 +23,12 @@ namespace Slic3r
friend class DevNozzleSystemParser; friend class DevNozzleSystemParser;
public: public:
DevNozzleSystem(MachineObject* owner) : m_owner(owner) {} DevNozzleSystem(MachineObject* owner) : m_owner(owner) {}
private:
enum Status : int
{
NOZZLE_SYSTEM_IDLE = 0,
NOZZLE_SYSTEM_REFRESHING = 1,
};
public: public:
bool ContainsNozzle(int id) const { return m_nozzles.find(id) != m_nozzles.end(); } bool ContainsNozzle(int id) const { return m_nozzles.find(id) != m_nozzles.end(); }