Bugs: Elements.get.rotation?

Hello,
Have you ever noticed a bug with the Elements.get.rotation node on a MEP accesory?

In my case the angle must be a multiple of 45 °, but gives 180 °

With the node Element.Geometry for this element I have solid, but also a line. Is the problem coming from?