NEW: add a new slicing warning

Change-Id: I62a31e505318441699141a5c86355c8d41b890f2
This commit is contained in:
Stone Li 2022-10-31 18:19:06 +08:00 committed by Lane.Wei
parent a9ac3657ca
commit e4198ad63a
3 changed files with 6 additions and 5 deletions

View file

@ -2575,8 +2575,9 @@ 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 {
} else if (warning.msg == THE_ACTUAL_NOZZLE_HRC_SMALLER_THAN_THE_REQUAIRED_NOZZLE_HRC) {
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);
}
}