mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
ENH: [STUDIO-4062] print status supplement
Change-Id: I298d4fcfda51b48c90c62936185efc1a6bf459f0
This commit is contained in:
parent
d3d5751814
commit
fc3891d6a4
1 changed files with 32 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
namespace pt = boost::property_tree;
|
namespace pt = boost::property_tree;
|
||||||
|
|
||||||
const int PRINTING_STAGE_COUNT = 20;
|
const int PRINTING_STAGE_COUNT = 32;
|
||||||
std::string PRINTING_STAGE_STR[PRINTING_STAGE_COUNT] = {
|
std::string PRINTING_STAGE_STR[PRINTING_STAGE_COUNT] = {
|
||||||
"printing",
|
"printing",
|
||||||
"bed_leveling",
|
"bed_leveling",
|
||||||
|
@ -42,7 +42,19 @@ std::string PRINTING_STAGE_STR[PRINTING_STAGE_COUNT] = {
|
||||||
"user_pause",
|
"user_pause",
|
||||||
"toolhead_shell_off_pause",
|
"toolhead_shell_off_pause",
|
||||||
"scanner_laser_para_cali",
|
"scanner_laser_para_cali",
|
||||||
"extruder_absolute_flow_cali"
|
"extruder_absolute_flow_cali",
|
||||||
|
"hotend_temperature_error_pause", // 20
|
||||||
|
"heated_bed_temperature_error_pause",
|
||||||
|
"filament_unloading",
|
||||||
|
"skip_step_pause",
|
||||||
|
"filament_loading",
|
||||||
|
"motor_noise_calibration",
|
||||||
|
"ams_lost_pause",
|
||||||
|
"heat_break_fan_pause",
|
||||||
|
"chamber_temperature_control_error_pause",
|
||||||
|
"chamber_cooling",
|
||||||
|
"user_insert_gcode_pause",
|
||||||
|
"motor_noise_showoff"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,6 +109,24 @@ wxString get_stage_string(int stage)
|
||||||
return _L("Paused due to nozzle temperature malfunction");
|
return _L("Paused due to nozzle temperature malfunction");
|
||||||
case 21:
|
case 21:
|
||||||
return _L("Paused due to heat bed temperature malfunction");
|
return _L("Paused due to heat bed temperature malfunction");
|
||||||
|
case 22:
|
||||||
|
return _L("Filament unloading");
|
||||||
|
case 23:
|
||||||
|
return _L("Skip step pause");
|
||||||
|
case 24:
|
||||||
|
return _L("Filament loading");
|
||||||
|
case 25:
|
||||||
|
return _L("Motor noise calibration");
|
||||||
|
case 26:
|
||||||
|
return _L("Paused due to AMS lost");
|
||||||
|
case 27:
|
||||||
|
return _L("Paused due to low speed of the heat break fan");
|
||||||
|
case 28:
|
||||||
|
return _L("Paused due to chamber temperature control error");
|
||||||
|
case 29:
|
||||||
|
return _L("Cooling chamber");
|
||||||
|
case 30:
|
||||||
|
return _L("Motor noise showoff");
|
||||||
default:
|
default:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue