ENH: fix the warning msg of nozzle hrc check

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0cb6d10e002b3053624a970ecca12801576d8250
This commit is contained in:
qing.zhang 2022-11-01 14:10:19 +08:00 committed by Lane.Wei
parent b95959b8b2
commit d0def61ca0
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
namespace Slic3r {
// slice warnings enum strings
#define THE_ACTUAL_NOZZLE_HRC_SMALLER_THAN_THE_REQUAIRED_NOZZLE_HRC "the_actual_nozzle_hrc_smaller_than_the_required_nozzle_hrc"
#define NOZZLE_HRC_CHECKER "the_actual_nozzle_hrc_smaller_than_the_required_nozzle_hrc"
#define BED_TEMP_TOO_HIGH_THAN_FILAMENT "bed_temperature_too_high_than_filament"
enum class EMoveType : unsigned char

View File

@ -2577,7 +2577,7 @@ wxString Plater::get_slice_warning_string(GCodeProcessorResult::SliceWarning& wa
{
if (warning.msg == BED_TEMP_TOO_HIGH_THAN_FILAMENT) {
return _L("The bed temperature exceeds filament's vitrification temperature. Please open the front door of printer before printing to avoid nozzle clog.");
} else if (warning.msg == THE_ACTUAL_NOZZLE_HRC_SMALLER_THAN_THE_REQUAIRED_NOZZLE_HRC) {
} else if (warning.msg == NOZZLE_HRC_CHECKER) {
return _L("The nozzle hardness required by the filament is higher than the default nozzle hardness of the printer. Please replace the hardened nozzle or filament, otherwise, the nozzle will be attrited or damaged.");
} else {
return wxString(warning.msg);