Site Tools


Grasshopper Scripting Gallery

Grasshopper Gallery Pages
Robert McNeel & Associates

Summary: A gallery of examples of Grasshopper Definitions.


Workshop Files

Name Preview Description
VB.NET Code samples Here are six examples with increasing difficulty using VB scripting starting from simple expression all the way to using functions. I did mutiple methods for some of them to show various ways to get same result. Contact Rajaa Issa
VB Switch Gate swith_gh.jpg Explains how to switch between lists.

Curve Generators

Name Preview Description
Spirograph Rose Curves 1 2dspiro.jpg Create both 3d and 2d rose curves
Fractal Curve Generator Experiment by using a Base and Generate Curve to create different fractal shape. Contact Rajaa Issa
Fractal Curve Transformer Experiment by using a Base and Generate points to transform different fractal shapes. Contact Rajaa Issa

Utility Script Definitions

Name Preview Description
Random Curve Divide no preview available Divide a line generally in an equal number, with a little randomness in the spacing.
Create Clamped Nurbs Curve Create open or clamped NURBs curve using GH VB.NET component. Contact Rajaa Issa
Create Periodic Nurbs Curve Create closed or periodic NURBs curve using GH VB.NET component. Contact Rajaa Issa
Create curves from lists of points Create series of curves through connecting points of same index in 3 groups of points using GH VB.NET component. Contact Rajaa Issa
For...Next Loop Example An example explaining the structure of For.. Next loop. Contact Rajaa Issa
Find sum of numbers no preview available An example explaining how to find the sum of a range of numbers using VB.NET. Contact Rajaa Issa
Divide surface An example explaining how to divide surface domain and extract rows of divide points using VB.NET. Contact Rajaa Issa
Sweep surface 1 and 2 An example using VB.NET to sweep a surface. Contact Rajaa Issa
Create a grid of points the extract u and v direction isocurves An example using VB.NET to process a one dimetion grid of points and extract curves in U and V directions. Contact Rajaa Issa

Excel Script Definitions

Name Preview Description
Read Excel Spreadsheet Data into GH excelshot.jpg Divide Read cell values and points out of an Excel Spreadsheet. Based on information from Liquid Tectonics
Grasshopper data linked into Microsoft Excel@@Image(”datastream01sm.jpg”,”Excel Connection”, “750”, “225”)@@Point data from Grasshopper directly into Microsoft Excel. Designer: Zach Downey

Generative Algorithms: Lindenmayer-System (L-System)

(Samples were developed in support of Georgia Tech graduate course on generative design in architecture, Spring 2009)

Name Preview Description
Koch Curve. Grasshopper and RhinoScript samples. download... The algorithm is defined in 2 different methods. the first uses 2 functions. One for generating the string and the other to create points. The second method uses one recursive function to generate points directly. Check wikipedia for theoretical details. . Contact Rajaa Issa
Penrose Tiling. Grasshopper and RhinoScript samples. download... Check wikipedia for theoretical details. . Contact Rajaa Issa
Sierpinski Triangle - V1 and V2. Grasshopper and RhinoScript samples. download... Check wikipedia for theoretical details. . Contact Rajaa Issa
Fractal Plant. Grasshopper and RhinoScript samples. download... Check wikipedia for theoretical details. . Contact Rajaa Issa
Dragon Curve. Grasshopper and RhinoScript samples. download... Check wikipedia for theoretical details. . Contact Rajaa Issa

Generative Algorithms: Cellular Automata (CA)

(Samples were developed in support of Georgia Tech graduate course on generative design in architecture, Spring 2009)

Name Preview Description
Conway Game of Life. Grasshopper and RhinoScript samples. download... The algorithm is Conway's game of life. Check wikipedia for theoretical details. . Contact Rajaa Issa

Digital Design Studio: Conceptual Skyscraper (B. Arch. 8.5 weeks), supervised by dr. Chengyu SUN

(Samples were developed by 4th year undergraduate students, Tongji University, China, Spring 2009.)

Name Preview Description
Hi ! Hydra by Kai BAO RhinoScript & Grasshopper.download... image002.jpg Currently the super high-rise building enjoys rapid development, rising from the level ground one by one. The super high-rise building is not only the breakthrough of land use restriction, but also the unfolds of the technology and even the glory of the city. Meanwhile, architectural ecology has got increasing attention. Architectural form and functional bionic became one way to secure enlightenment of natural ecology for architects. This design begins with Bionics, attempting to seek the new forms of super high-rise building. Contact dr. Chengyu SUN
Pavilion with soothing wind by Junchao LV Grasshopper & Excel VBA.download... image004.jpg For skyscrapers, a comfortable balcony always seems impossible. But now, it’s not a dream anymore. With the research in aerodynamics and precise sunlight analysis, we designed a balcony system which provide decent environment with moderate sunlight and soothing wind. This system provides a complex and reliable structural solution which fits all kinds of building types. Its great flexibility could even hold an urban lobby into the balcony! The weaving pattern of both inside and outside deliver the strength of the structure and an amazing architectural beauty. Contact dr. Chengyu SUN
Boundless Climb by Zhu ZHAO RhinoScript & Grasshopper.download... image006.jpg In the terms of composition, the student uses “volume” to reply Jinmao Tower’s emphases on “line” and Global Financial Center’s emphases on “plane”. In the terms of metaphor, the student uses “stacks of stone” in ancient Chinese Garden to reply Jinmao Tower’s metaphor of pagoda and Global Financial Center’s metaphor of “moon gate”. The conclusion of deducing, “volume” and “stacks of stone” remind the student the figure of Taihu Stone in ancient Chinese Garden. Thus, he finds the reference for the shape of his skyscraper. Contact dr. Chengyu SUN
Layered City by Yeyao LIU RhinoScript & Grasshopper.download... image008.jpg According to the basic principle of the VORONOI diagram, its intersection of the polygon is the farthest point compare with its basic point. Use the advantage point in the down-layer as their benchmark then to establish the road network in the up-layer and this make the disadvantage point which in the down-layer changed to be the advantage point in the up-layer. Under this method, the forming city of this superposition’s valuation has a dramatic rise in the space under the method of superposition. Contact dr. Chengyu SUN
Wind Tower by Siwen XUE RhinoScript & Grasshopper.download...image010.jpg To face the problem of energy crisis in the future, the design tries to find a way of energy self-supply for skyscrapers. Using the height superior of skyscraper, the design creates a green energy system which is a set of vertical wind mill. To fit the monsoon climate in Shanghai, the design ensures that each azimuth of the tower can absorb the energy of wind so that the electricity supply was continuously. The shape of the tower and the inside space can reflect the distribution rule of wind energy source. Using the wind-rose map and wind pressure-height curve to generate the shape. Contact dr. Chengyu SUN
Water Transfer By Zhengwei LUO RhinoScript & Grasshopper.download...image012.jpg Traditional sewage treatment plant not only takes up a large piece of land area, it also isolate itself from visitors. In order to improve land area usage, bring the sewage treatment plant to the upper level of the building, and have the purification process run vertically from top to bottom. Having the sewage treatment tower at the upper levels attract tourists to visit, let residence have a better understanding of the sewage purification process, and also serves as an observation deck. This type of Architecture mainly expresses strong properties of public service. Contact dr. Chengyu SUN
Wind Comb By Sining GONG RhinoScript & Grasshopper.download part1... download part2... download part3...image014.jpg The design of new skyscrapers in site tried to improve pedestrian streets wind environment through a qualitative analysis of computational fluid dynamic and parametric design. The use of aerodynamic knowledge and eco-technology made dedication on the layout of buildings, monomer form of the building and utilization of solar energy and wind power eco-energy. We are trying not only to improve the pedestrian level wind environment, but also to resume a pleasant public parks and green space. Contact dr. Chengyu SUN
labs/grasshoppergallery.txt · Last modified: 2012/08/29 by rajaa