mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Reverse Y axis
When an AMF file was imported, the Y axis was reversed, creating a mirrored object. This reverses the Y axis so the object is correctly imported.
This commit is contained in:
parent
cadc145008
commit
9158857477
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class AMFReader(MeshReader):
|
|||
if t.tag == "x":
|
||||
v[0] = float(t.text) * scale
|
||||
elif t.tag == "y":
|
||||
v[2] = float(t.text) * scale
|
||||
v[2] = - float(t.text) * scale
|
||||
elif t.tag == "z":
|
||||
v[1] = float(t.text) * scale
|
||||
amf_mesh_vertices.append(v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue