Inspired by Frei Otto's sun-shade machine, this grasshopper definiton generates the shadow of mesh objects for a given geographical location, date, and time. North is in positive y-direction.
Download the file here
"The sun-shade machine, [...] is an extremly flexible tool for determining in the first phase of planning the areas of insolation and shade. [...] the sun-shade machine offers an infinitely variable adjustment for three parameters: geographical location, month, nd time of the day." IL 30 Vela, Toldos, sun and shade (1986)