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 Six examples using VB scripting, with increasing difficulty starting from simple expression all the way to using functions. I did multiple methods for some of them to show various ways to get the 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 shapes. 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 a 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 three 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 nNmbers 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...
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 ground level by level. The super high-rise building is not only the breakthrough of land use restriction, but also the unfolding 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 seemed impossible. But now, it’s not a dream anymore. With research in aerodynamics and precise sunlight analysis, we designed a balcony system which provides a 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 in 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 composition, the student uses volume to replay Jinmao Tower’s emphasis on line and Global Financial Center’s emphasis on plane. In metaphor, the student uses stacks of stone in ancient Chinese Garden to replay Jinmao Tower’s metaphor of pagoda and Global Financial Center’s metaphor of moon gate. Deduction, volume, and stacks of stone remind the student of 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 compared with its basic point. Use the advantage point in the down-layer as their benchmark, then establish the road network in the up-layer. This makes the disadvantage point in the down-layer change to be the advantage point in the up-layer. With this method, the forming city of this superposition’s valuation dramatically rises 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 self-supplied energy for skyscrapers. Using the superior height of skyscrapers, 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 wind energy so that the electricity supply is continuous. The tower shape 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 The traditional sewage treatment plant not only takes up a large land area, it also isolates itself from visitors. To improve land area use, 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 attracts tourists to visit. This lets residents 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 on-site skyscrapers tried to improve the pedestrian streets' wind environment through a qualitative analysis of computational fluid dynamic and parametric design. 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: 2020/08/14 (external edit)