Shadow study on a curved surface

Hi!
Been streaming through the forums for some time now and still haven’t found a clear solution for this one.


On the picture you can see a simple solution with a Mesh_Shadow component. This one projects a shadow on a plane as it can not accept a curved surface for a shadow receiving geometry. Green are the Mesh_shadow output curves projected back onto curved surface in the direction of a light source. This solution only works if the incident angle of the sun ray is big enough so it does not pass through the surface twice. However, if that is not the case, geometry projected backwards appear twice on a surface (case 1), and geometries positioned behind the surface crest give inaccurate shadow outline (case 2).

I have also tried the Ladybugs’ shadow_study component without any success (after a long calculation for only 4 breps it fails to deliver any result).

Am I missing something?

sjena proplanak.gh (418.5 KB)

hi, i m stuck on your same problems.

and I did by get this MeshOutline then project to the surface.


Seems like using List Item on the data coming out of Project consistently grabs the first intersection?

I really like your strategy by the way! Very clever.

As for Ladybug (and Kangaroo) I have found it always better to use an example file as a starting point.

HRV_PG_Omisalj-Rijeka.AP.131160_TMYx.epw (1.5 MB)

sjena proplanak_NL.gh (451.6 KB)

I’ve attached the EPW file I used as reference, but obviously you can put whatever you want in there.
Careful with the setting you use for the ‘analysis period’. You can easily make your script take hours which feels the same as GH crashing.

The ‘grid size’ is your resolution, so if you want crisper shadows, you can reduce this number. Obviously the higher the resolution, the longer it will take to compute.
The ‘offset distance’ confuses me quite frankly, but it seems to negatively effect the results if the number is too high or too low, so feel free to play around with it.


Seems like using List Item on the data coming out of Project consistently grabs the first intersection?

I really like your strategy by the way! Very clever.

As for Ladybug (and Kangaroo) I have found it always better to use an example file as a starting point.

HRV_PG_Omisalj-Rijeka.AP.131160_TMYx.epw (1.5 MB)

sjena proplanak_NL.gh (451.6 KB)

I’ve attached the EPW file I used as reference, but obviously you can put whatever you want in there.
Careful with the setting you use for the ‘analysis period’. You can easily make your script take hours which feels the same as GH crashing.

The ‘grid size’ is your resolution, so if you want crisper shadows, you can reduce this number. Obviously the higher the resolution, the longer it will take to compute.
The ‘offset distance’ confuses me quite frankly, but it seems to negatively effect the results if the number is too high or too low, so feel free to play around with it.
Edit: Oh I didn’t realize this thread was 8 years old lool
Hope it still helps!