Grasshopper provides generative modeling for Rhino and contains VB.NET, Python and C# scripting components.