Ted Ngai has posted many interesting RhinoScript and Grasshopper examples on his blog atelier nGai. Especially worth mentioning are two tutorials that experiment with a generative approach using Ecotect solar simulation data to drive the creation of geometry in Rhino. In this instance solar access data was used to determine the size of skylights in a roof based on their orientation.

Direct links to tutorials pages: ecotect mesh data 2 rhino, ecotect mesh data 2 rhino 2