mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 18:27:59 -05:00
Fix extruder printable area placement checks for non-BBL multi-nozzle printers (#14140)
Non-Bambu printers do not regroup filaments, but the placement check before slicing treated them as if they did. In auto map mode it only flagged a filament that fits on no extruder, so an object outside its own extruder's printable area got no warning until slicing failed. On these printers the check now uses the filament map from get_effective_exclusion_filament_maps(), the same map the exclusion-volume check and arrange use. A conflict on a third or later extruder now shows a generic message. Before, it blocked slicing with no message. The "Click here to regroup" link is hidden on non-Bambu printers. Fixes #14070
This commit is contained in:
1 parent
be4eff43f4
commit
c7bc1b27a5
3 files changed
+26
-4
No files matched your search
@@ -12,6 +12,7 @@
|
||||
#include "Tab.hpp"
|
||||
#include "libslic3r/Config.hpp"
|
||||
#include "libslic3r/PrintBase.hpp"
|
||||
#include "libslic3r/PresetBundle.hpp"
|
||||
#include "format.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
@@ -3620,7 +3621,9 @@ void NotificationManager::bbl_show_filament_map_invalid_notification_before_slic
|
||||
return false;
|
||||
};
|
||||
|
||||
push_notification_data({ type,NotificationLevel::ErrorNotificationLevel,0,_u8L("Error:") + "\n" + text,_u8L("Click here to regroup"),callback }, 0);
|
||||
// Only Bambu printers can regroup; without the link the callback is unreachable.
|
||||
const std::string regroup = wxGetApp().preset_bundle->is_bbl_vendor() ? _u8L("Click here to regroup") : "";
|
||||
push_notification_data({ type,NotificationLevel::ErrorNotificationLevel,0,_u8L("Error:") + "\n" + text,regroup,callback }, 0);
|
||||
}
|
||||
|
||||
void NotificationManager::bbl_close_filament_map_invalid_notification_before_slice(const NotificationType type)
|
||||
@@ -3643,7 +3646,9 @@ void NotificationManager::bbl_show_filament_map_invalid_notification_after_slice
|
||||
return false;
|
||||
};
|
||||
|
||||
push_notification_data({ type,NotificationLevel::ErrorNotificationLevel,0,_u8L("Error:") + "\n" + text,_u8L("Click here to regroup"),callback }, 0);
|
||||
// Only Bambu printers can regroup; without the link the callback is unreachable.
|
||||
const std::string regroup = wxGetApp().preset_bundle->is_bbl_vendor() ? _u8L("Click here to regroup") : "";
|
||||
push_notification_data({ type,NotificationLevel::ErrorNotificationLevel,0,_u8L("Error:") + "\n" + text,regroup,callback }, 0);
|
||||
}
|
||||
|
||||
void NotificationManager::bbl_close_filament_map_invalid_notification_after_slice(const NotificationType type)
|
||||
|
||||
Reference in new issue
Block a user