From dcb33be89ffc4e7d4073b818c321acc4d29f2b1f Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Thu, 23 Apr 2015 14:03:39 +0200 Subject: [PATCH] Invert the Y axis when sending data to the engine, not Z Since we just swapped Y and Z it is Y that needs to be inverted, not Z --- CuraEngineBackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CuraEngineBackend.py b/CuraEngineBackend.py index 68a2914d6a..1f637568c0 100644 --- a/CuraEngineBackend.py +++ b/CuraEngineBackend.py @@ -140,7 +140,7 @@ class CuraEngineBackend(Backend): verts = numpy.array(mesh_data.getVertices(), copy=True) verts[:,[1,2]] = verts[:,[2,1]] - verts[:,[2]] *= -1 + verts[:,1] *= -1 obj.vertices = verts.tostring() #if meshData.hasNormals():