mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Ensure that the skirt_brim_line_width is selected from right extruder
This fixes CURA-7835 and Fixes #8716
This commit is contained in:
parent
49effbcd80
commit
037b5d5b44
1 changed files with 8 additions and 1 deletions
|
@ -1068,7 +1068,14 @@ class BuildVolume(SceneNode):
|
||||||
adhesion_type = adhesion_override
|
adhesion_type = adhesion_override
|
||||||
if adhesion_type is None:
|
if adhesion_type is None:
|
||||||
adhesion_type = container_stack.getProperty("adhesion_type", "value")
|
adhesion_type = container_stack.getProperty("adhesion_type", "value")
|
||||||
skirt_brim_line_width = self._global_container_stack.getProperty("skirt_brim_line_width", "value")
|
|
||||||
|
# Skirt_brim_line_width is a bit of an odd one out. The primary bit of the skirt/brim is printed
|
||||||
|
# with the adhesion extruder, but it also prints one extra line by all other extruders. As such, the
|
||||||
|
# setting does *not* have a limit_to_extruder setting (which means that we can't ask the global extruder what
|
||||||
|
# the value is.
|
||||||
|
adhesion_extruder = self._global_container_stack.getProperty("adhesion_extruder_nr", "value")
|
||||||
|
skirt_brim_line_width = self._global_container_stack.extruderList[int(adhesion_extruder)].getProperty("skirt_brim_line_width", "value")
|
||||||
|
|
||||||
initial_layer_line_width_factor = self._global_container_stack.getProperty("initial_layer_line_width_factor", "value")
|
initial_layer_line_width_factor = self._global_container_stack.getProperty("initial_layer_line_width_factor", "value")
|
||||||
# Use brim width if brim is enabled OR the prime tower has a brim.
|
# Use brim width if brim is enabled OR the prime tower has a brim.
|
||||||
if adhesion_type == "brim":
|
if adhesion_type == "brim":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue