mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-29 16:36:01 -05:00
Brim filament for features (#17655)
This commit is contained in:
1 parent
8b3de0be86
commit
12c9ee813b
18 files changed
+373
-22
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user