Matching issue calculation Altitude/Azimuth compared to Sunpath Ladybug

Hi @crz_06, welcome to the forum!

The vector you’ve calculated is the negative of what LB is generating. The LB vector I would say is the correct result, as the z is negative - ie the sun is shining down from above.

The reason you’re getting the opposite is that grasshopper rotation follows the “right hand rule”, ie rotation is counter clockwise not clockwise.

Right-hand rule - Wikipedia

image

1 Like