The rotation you're searching for should be (0|-180|0).
These two functions might help for automatic processing of .ide's:
(Keep in mind that math.toeuler takes w as first parameter, while in .ide's W is the last rotation parameter)
-- Return order is w, x, y, z
function math.toquaternion(x, y, z)
x = math.rad(x)/2
y = math.rad(y)/2
z = math.rad(z)/2
return
math.cos(x) * math.cos(y) * math.cos(z) - math.sin(x) * math.sin(y) * math.sin(z),
math.sin(x) * math.sin(y) * math.cos(z) + math.cos(x) * math.cos(y) * math.sin(z),
math.sin(x) * math.cos(y) * math.cos(z) + math.cos(x) * math.sin(y) * math.sin(z),
math.cos(x) * math.sin(y) * math.cos(z) - math.sin(x) * math.cos(y) * math.sin(z)
end
function math.toeuler(w, x, y, z)
return
math.deg(math.atan2(2*(y*w-x*z), 1-2*y^2-2*z^2)),
math.deg(math.asin(2*(x*y+z*w))),
math.deg(math.atan2(2*x*w-2*y*z,1-2*x^2-2*z^2))
end