ENH: update extruder unprintable tip before slice

jira:none

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I3a47e1505c3410e1ba41e4d12903ccf4db486240
(cherry picked from commit 086e977d897c2a9022321e2611c82f39147462be)
This commit is contained in:
xun.zhang
2025-01-15 18:08:59 +08:00
committed by Noisyfox
parent fe204f972f
commit c8fa5e1e4e
4 changed files with 117 additions and 64 deletions

View File

@@ -85,6 +85,8 @@ enum class NotificationType
BBLGeneralError,
// Object partially outside the print volume. Cannot slice.
PlaterError,
LeftExtruderUnprintableError,
RightExtruderUnprintableError,
// Object fully outside the print volume, or extrusion outside the print volume. Slicing is not disabled.
PlaterWarning,
// Progress bar instead of text.
@@ -238,7 +240,6 @@ public:
// Closes error or warning of the same text
void close_plater_error_notification(const std::string& text);
void close_plater_warning_notification(const std::string& text);
// GCode exceeds the printing range of the extruder
void push_slicing_customize_error_notification(NotificationType type, NotificationLevel level, const std::string &text);
void close_slicing_customize_error_notification(NotificationType type, NotificationLevel level);