Shadow analysis

rhino
shadows
grasshopper
unhandled

(Ziadhulk) #1

im new to grasshopper.
is there a way to get the shade and shadow area from doing the sunlight analysis?

sec.3dm (118.1 KB)


Grasshopper shadow area calculation
#2

Try Mesh Shadow.

MeshShadow_re.gh (18.7 KB)


Grasshopper shadow area calculation
#3

The top half of this code uses the ‘Azimuth’ and ‘Altitude’ sliders (blue group) to position a yellow planar surface “in the sky”. The bottom half (purple group) divides that yellow surface based on the ‘resolution’ slider to create parallel “sun rays” and uses the IVRay component to find where those rays collide with either the ‘obstacles’ or ‘Srf (ground)’.


shadows_2018Feb6a.gh (33.3 KB) (geometry is internalized, no need for Rhino file)


#4

Wow! Very good. RDiff here is brilliant.

@ziadhulk - Add this to @HS_Kim’s code to change ‘Azimuth’ and ‘Altitude’ of the “sun” vector.

azalt_vector_2018Feb6a
azalt_vector_2018Feb6a.gh (6.2 KB)


(Ziadhulk) #5

thank you so much but is it possible doing it using ladybug tool to do simulations?


(Ziadhulk) #6

thank you so much but is it possible doing it using ladybug tool to do simulations???


#7

Would be better to ask your questions to here. http://discourse.ladybug.tools/