From 5d9affc69074e754ec07c8734cb85326029ae558 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 15 Jan 2021 15:21:57 +0100 Subject: [PATCH] Drop objects to buildplate that have been scaled Otherwise they could be floating very high above the buildplate. CURA-7855 --- cura/CuraApplication.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 76d48f9682..7302066550 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1918,6 +1918,11 @@ class CuraApplication(QtApplication): arrange(nodes_to_arrange, self.getBuildVolume(), fixed_nodes) except: Logger.logException("e", "Failed to arrange the models") + + # Ensure that we don't have any weird floaty objects (CURA-7855) + for node in nodes_to_arrange: + node.translate(Vector(0, -node.getBoundingBox().bottom, 0), SceneNode.TransformSpace.World) + self.fileCompleted.emit(file_name) def addNonSliceableExtension(self, extension):