How to change analysis period with off hours for sunpath analysis in ladybug

Hello,

I need a daily analysis period of 9-12, 16-18 for the sun path analysis. However, it seems that on off hours is accepted for the analysis. Only continues hours are acceptable. Is there anyway to achieve my idea?

how to change ladybug ananlysis period.gh (31.6 KB)

Thanks

Hi, @ruoxiaoz.
It is so easy to make it . You can use month/day/hour input instead of analysis period.

Here is the grasshooper definiton screeshot and the preview of sunpath.
custom hours.gh (36.5 KB)

3 Likes