Skip to content

Commit

Permalink
Remove prime tower brim from used extruder check.
Browse files Browse the repository at this point in the history
The `prime_tower_brim_enable` setting does not make a brim anymore, but a flared base, and does not use the `skirt_brim_extruder_nr`.
  • Loading branch information
Frederic98 committed Sep 20, 2024
1 parent 1fab5b8 commit c482ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cura/Settings/ExtruderManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ def getUsedExtruderStacks(self) -> List["ExtruderStack"]:
adhesion_type = global_stack.getProperty("adhesion_type", "value")
if adhesion_type == "skirt" and (global_stack.getProperty("skirt_line_count", "value") > 0 or global_stack.getProperty("skirt_brim_minimal_length", "value") > 0):
used_adhesion_extruders.add("skirt_brim_extruder_nr") # There's a skirt.
if (adhesion_type == "brim" or global_stack.getProperty("prime_tower_brim_enable", "value")) and (global_stack.getProperty("brim_line_count", "value") > 0 or global_stack.getProperty("skirt_brim_minimal_length", "value") > 0):
used_adhesion_extruders.add("skirt_brim_extruder_nr") # There's a brim or prime tower brim.
if adhesion_type == "brim" and (global_stack.getProperty("brim_line_count", "value") > 0 or global_stack.getProperty("skirt_brim_minimal_length", "value") > 0):
used_adhesion_extruders.add("skirt_brim_extruder_nr") # There's a brim.
if adhesion_type == "raft":
used_adhesion_extruders.add("raft_base_extruder_nr")
if global_stack.getProperty("raft_interface_layers", "value") > 0:
Expand Down

0 comments on commit c482ced

Please sign in to comment.