mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 17:57:55 -06:00
revert 0 buildvolume edgedisallowedsize for one_at_a_time
Turns out that the artificial disallowed area around the inside of the build volume was necessary to take the brim into account when deciding whether a model was outside the buildvolume. The issue for which I removed this in the first place seems not to be an issue anymore due to other commits Reverts ande5fb9fb8
ande5c9bca
CURA-6522
This commit is contained in:
parent
4ad954f23e
commit
dd8993e88c
2 changed files with 2 additions and 2 deletions
|
@ -1102,7 +1102,7 @@ class BuildVolume(SceneNode):
|
|||
|
||||
# If we are printing one at a time, we need to add the bed adhesion size to the disallowed areas of the objects
|
||||
if container_stack.getProperty("print_sequence", "value") == "one_at_a_time":
|
||||
return 0
|
||||
return 0.1
|
||||
|
||||
bed_adhesion_size = self._calculateBedAdhesionSize(used_extruders)
|
||||
support_expansion = self._calculateSupportExpansion(self._global_container_stack)
|
||||
|
|
|
@ -386,5 +386,5 @@ class TestGetEdgeDisallowedSize:
|
|||
build_volume._global_container_stack = self.createMockedStack()
|
||||
with patch("cura.Settings.ExtruderManager.ExtruderManager.getInstance"):
|
||||
with patch.dict(self.setting_property_dict, {"print_sequence": {"value": "one_at_a_time"}}):
|
||||
assert build_volume.getEdgeDisallowedSize() == 0.0
|
||||
assert build_volume.getEdgeDisallowedSize() == 0.1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue