update slic3r

This commit is contained in:
QIDI TECH
2025-05-08 15:05:30 +08:00
parent 126534997a
commit 011619cf23
307 changed files with 55594 additions and 19386 deletions

View File

@@ -80,8 +80,12 @@ enum class NotificationType
// Slicing warnings, issued by the slicing process.
// Slicing warnings are registered for a particular Print milestone or a PrintObject and its milestone.
SlicingWarning,
// QDT: general error
QDTGeneralError,
// 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.
@@ -145,8 +149,11 @@ enum class NotificationType
QDTPreviewOnlyMode,
QDTPrinterConfigUpdateAvailable,
QDTUserPresetExceedLimit,
QDTFilamentPrintableError,
QDTSliceLimitError,
QDTSliceMultiExtruderHeightOutside,
QDTBedFilamentIncompatible,
QDTMixUsePLAAndPETG,
NotificationTypeCount
};
@@ -226,6 +233,9 @@ public:
// Release those slicing warnings, which refer to an ObjectID, which is not in the list.
// living_oids is expected to be sorted.
void remove_slicing_warnings_of_released_objects(const std::vector<ObjectID>& living_oids);
// general error message
void push_general_error_notification(const std::string& text);
void close_general_error_notification(const std::string& text);
// Object partially outside of the printer working space, cannot print. No fade out.
void push_plater_error_notification(const std::string& text);
// Object fully out of the printer working space and such. No fade out.
@@ -233,6 +243,10 @@ 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, const std::string &hypertext = "", std::function<bool(wxEvtHandler*)> callback = std::function<bool(wxEvtHandler*)>());
void close_slicing_customize_error_notification(NotificationType type, NotificationLevel level);
// Object warning with ObjectID, closes when object is deleted. ID used is of object not print like in slicing warning.
void push_simplify_suggestion_notification(const std::string& text, ObjectID object_id, const std::string& hypertext = "",
std::function<bool(wxEvtHandler*)> callback = std::function<bool(wxEvtHandler*)>());
@@ -347,6 +361,12 @@ public:
void qdt_show_bed_filament_incompatible_notification(const std::string& text);
void qdt_close_bed_filament_incompatible_notification();
void qdt_show_filament_map_invalid_notification_before_slice(const NotificationType type, const std::string& text);
void qdt_close_filament_map_invalid_notification_before_slice(const NotificationType type);
void qdt_show_filament_map_invalid_notification_after_slice(const NotificationType type, const std::string& text);
void qdt_close_filament_map_invalid_notification_after_slice(const NotificationType type);
//QDS--sole notification
void qdt_show_sole_text_notification(NotificationType sType,const std::string &text, bool bOverride, int level, bool autohide);
void qdt_chose_sole_text_notification(NotificationType sType);