Direct solar hours in room with shades

I want to calculate direct solar hours based on different window/ shade geometry. How can I make the direct solar hour component read the HB model/obj?
Is there any decompose component that can turn HB objects into geometry, to be able to calculate the hours?

windows by orientation_AT.gh (143.7 KB)