mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
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
This commit is contained in:
parent
be168bace0
commit
dcb33be89f
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue