Brim filament for features (#17655)

This commit is contained in:
Ian Bassi authored and GitHub committed 2026-11-17 21:58:49 -03:00
1 parent 8b3de0be86
commit 12c9ee813b
18 files changed
+373 -22

No files matched your search

+5
View File
@@ -957,6 +957,11 @@ void ToolOrdering::collect_extruders(const PrintObject &object, const std::vecto
sort_remove_duplicates(firstLayerExtruders);
const_cast<PrintObject&>(object).object_first_layer_wall_extruders = firstLayerExtruders;
// A chosen brim filament prints the plate brim on the object's first layer.
if (object.config().brim_filament_id.value > 0 && object.has_brim() && !object.print()->config().belt_printer.value &&
!object.layers().empty())
this->tools_for_layer(object.layers().front()->print_z).extruders.push_back(object.config().brim_filament_id.value);
// Collect the support extruders.
for (auto support_layer : object.support_layers()) {
LayerTools &layer_tools = this->tools_for_layer(support_layer->print_z);