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


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 (31.6 KB)


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 (36.5 KB)