From c240f42b643566cb42834f8720b636fd087b6d88 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 28 Oct 2016 16:19:53 +0200 Subject: [PATCH] 3MF files are now correctly loaded inside the build platform CURA-382 --- plugins/3MFReader/ThreeMFReader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/3MFReader/ThreeMFReader.py b/plugins/3MFReader/ThreeMFReader.py index 1dde3828b5..c296f14a52 100644 --- a/plugins/3MFReader/ThreeMFReader.py +++ b/plugins/3MFReader/ThreeMFReader.py @@ -141,12 +141,12 @@ class ThreeMFReader(MeshReader): flip_matrix = Matrix() flip_matrix._data[1, 1] = 0 flip_matrix._data[1, 2] = 1 - flip_matrix._data[2, 1] = 1 + flip_matrix._data[2, 1] = -1 flip_matrix._data[2, 2] = 0 result.setTransformation(flip_matrix) if global_container_stack: translation = Vector(x=-global_container_stack.getProperty("machine_width", "value") / 2, z=0, - y=global_container_stack.getProperty("machine_depth", "value") / 2) + y=-global_container_stack.getProperty("machine_depth", "value") / 2) result.translate(translation) result.setEnabled(False) # The result should not be moved in any way, so disable it. return result