From 41cc78af1a0687523ec6ecadddea9da1e7120fe5 Mon Sep 17 00:00:00 2001 From: "j.delarago" Date: Fri, 24 Jun 2022 15:00:42 +0200 Subject: [PATCH] Add at a minumum a very small border around the edges of the build plate. Otherwise models with shrinkage compensation (or any model with disallowed areas around it) can be placed so that the output model is off the build plate. CURA-9271 --- cura/BuildVolume.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 95674763c5..776d92a1f6 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -983,6 +983,9 @@ class BuildVolume(SceneNode): half_machine_width = self._global_container_stack.getProperty("machine_width", "value") / 2 half_machine_depth = self._global_container_stack.getProperty("machine_depth", "value") / 2 + # We need at a minimum a very small border around the edge so that models can't go off the build plate + border_size = max(border_size, 0.1) + if self._shape != "elliptic": if border_size - left_unreachable_border > 0: result[extruder_id].append(Polygon(numpy.array([