mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
fix: don't expand disallowed areas when using none platform adhesion (CURA-759)
This commit is contained in:
parent
337cd127dc
commit
995705f82b
2 changed files with 4 additions and 0 deletions
|
@ -653,6 +653,8 @@ class BuildVolume(SceneNode):
|
||||||
bed_adhesion_size += value
|
bed_adhesion_size += value
|
||||||
elif adhesion_type == "raft":
|
elif adhesion_type == "raft":
|
||||||
bed_adhesion_size = self._getSettingFromAdhesionExtruder("raft_margin")
|
bed_adhesion_size = self._getSettingFromAdhesionExtruder("raft_margin")
|
||||||
|
elif adhesion_type == "none":
|
||||||
|
bed_adhesion_size = 0
|
||||||
else:
|
else:
|
||||||
raise Exception("Unknown bed adhesion type. Did you forget to update the build volume calculations for your new bed adhesion type?")
|
raise Exception("Unknown bed adhesion type. Did you forget to update the build volume calculations for your new bed adhesion type?")
|
||||||
|
|
||||||
|
|
|
@ -236,6 +236,8 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||||
extra_margin = max(0, self._getSettingProperty("raft_margin", "value"))
|
extra_margin = max(0, self._getSettingProperty("raft_margin", "value"))
|
||||||
elif adhesion_type == "brim":
|
elif adhesion_type == "brim":
|
||||||
extra_margin = max(0, self._getSettingProperty("brim_line_count", "value") * self._getSettingProperty("skirt_brim_line_width", "value"))
|
extra_margin = max(0, self._getSettingProperty("brim_line_count", "value") * self._getSettingProperty("skirt_brim_line_width", "value"))
|
||||||
|
elif adhesion_type == "none":
|
||||||
|
extra_margin = 0
|
||||||
elif adhesion_type == "skirt":
|
elif adhesion_type == "skirt":
|
||||||
extra_margin = max(
|
extra_margin = max(
|
||||||
0, self._getSettingProperty("skirt_gap", "value") +
|
0, self._getSettingProperty("skirt_gap", "value") +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue