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).
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.
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!