mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	ENH: support load and edit with virtual tray
Change-Id: I36cd8d9f6da719526c38b7479625ed0fa868f63b Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									71ef9e946c
								
							
						
					
					
						commit
						b731ac8db8
					
				
					 8 changed files with 226 additions and 44 deletions
				
			
		|  | @ -178,6 +178,8 @@ public: | |||
|                 if (digit1 == -1 || digit2 == -1) break; | ||||
|                 ret[j] = float(digit1 * 16 + digit2); | ||||
|             } | ||||
|         } else { | ||||
|             return wxColour(255, 255, 255); | ||||
|         } | ||||
|         return wxColour(ret[0], ret[1], ret[2]); | ||||
|     } | ||||
|  | @ -216,6 +218,8 @@ public: | |||
|     void update_color_from_str(std::string color); | ||||
|     wxColour get_color(); | ||||
| 
 | ||||
|     void reset(); | ||||
| 
 | ||||
|     bool is_tray_info_ready(); | ||||
|     bool is_unset_third_filament(); | ||||
|     std::string get_display_filament_type(); | ||||
|  | @ -464,7 +468,7 @@ public: | |||
|     int   ams_version = 0; | ||||
|     std::string m_ams_id;           // local ams  : "0" ~ "3"
 | ||||
|     std::string m_tray_id;          // local tray id : "0" ~ "3"
 | ||||
|     std::string m_tray_now;         // tray_now : "0" ~ "15" or "255"
 | ||||
|     std::string m_tray_now;         // tray_now : "0" ~ "15" or "254", "255"
 | ||||
|     std::string m_tray_tar;         // tray_tar : "0" ~ "15" or "255"
 | ||||
| 
 | ||||
|     int extrusion_cali_hold_count = 0; | ||||
|  | @ -634,6 +638,7 @@ public: | |||
|     bool is_support_1080dpi {false}; | ||||
|     bool is_support_ai_monitoring {false}; | ||||
|     bool is_support_ams_humidity {true}; | ||||
|     bool is_support_filament_edit_virtual_tray {true}; | ||||
| 
 | ||||
|     /* sdcard */ | ||||
|     MachineObject::SdcardState sdcard_state { NO_SDCARD }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stone Li
						Stone Li