Compute sun vector with vertical surface

Hi there,
I’m trying to compute the sun vector with a vertical surface in order to identify where there could be a glare risks on a facade. For a reason that I ignore, the GH compute angle component is not returning the same angle (in degrees) as the angular dimension display component. I’m probably doing somethin wrong.

thank you in advance (395.9 KB)

Are you sure the vector direction for each angle computation is the same? This looks like one of your vectors is being reversed (rotated 180 degrees) for one of the computation methods. That’s why if you subtract the 109.29 angle from 180 you’ll get it to match. i.e 180-109.29 = 70.71.

Man you are so right! What a rookie mistake
thank you