mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: add warning info when bed temperature is too high
Add bed temperature checker in gcode processer. And save slice warning into GcodeProcessorResult. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Iee96e4ab165a3171a5a1e165450bfc360401647f
This commit is contained in:
parent
48aed7fbe5
commit
99974c7f59
7 changed files with 115 additions and 12 deletions
|
@ -2540,7 +2540,7 @@ wxColour Plater::get_next_color_for_filament()
|
|||
return colors[curr_color_filamenet++ % 7];
|
||||
}
|
||||
|
||||
wxString Plater::get_slice_warning_string(GCodeProcessorResult::SliceWarnings& warning)
|
||||
wxString Plater::get_slice_warning_string(GCodeProcessorResult::SliceWarning& warning)
|
||||
{
|
||||
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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue