ladybug-tools / ladybug-dynamo

:beetle: :blue_book: Ladybug library and plugin for DynamoBIM
http://www.ladybug.tools/ladybug.html
GNU General Public License v3.0
31 stars 13 forks source link

Changing timestep into numeric number instead of integer number #31

Closed najmehdokhanchi closed 7 years ago

najmehdokhanchi commented 7 years ago

Hello Mostapha , I want to create a sun path for a specific hour of a day for example the hour of 12:34 . Could you please tell me how can I set non integer number for hoursOfYear in Analysis Period node? Best regards, Najmeh

mostaphaRoudsari commented 7 years ago

Hi @najmehdokhanchi,

12:34 is 12 + 34 / 60 = 12.56667

you can use a code block for this calculation.

image

najmehdokhanchi commented 7 years ago

Hello Mostapha , Thank you very much for your help. Best regards, Najmeh