Grasshopper is a visual programming language and environment developed by David Rutten at Robert McNeel & Associates, that runs within the Rhinoceros 3D computer-aided design (CAD) application. Programs are created by dragging components onto a canvas. The outputs to these components are then connected to the inputs of subsequent components.
Grasshopper is primarily used to build generative algorithms, such as for generative art. Many of Grasshopper's components create 3D geometry. Programs may also contain other types of algorithms including numeric, textual, audio-visual and haptic applications.
Advanced uses of Grasshopper include parametric modelling for structural engineering, parametric modelling for architecture and fabrication, lighting performance analysis for eco-friendly architecture and building energy consumption.
The first version of Grasshopper was released in September 2007, and titled Explicit History. Grasshopper has become part of the standard Rhino toolset in Rhino 6.0 and later.
AEC Magazine stated that Grasshopper is "Popular among students and professionals, McNeel Associate's Rhino modelling tool is endemic in the architectural design world. The new Grasshopper environment provides an intuitive way to explore designs without having to learn to script."
Video Grasshopper 3D
User Interface
Grasshopper features an advanced user interface. The main window consist mainly of the component 'palettes' and the 'canvas'. Since Grasshopper is a plug-in to Rhinoceros 3D, the layout of the main window is kept minimal.
GUI elements include:
- Component Palettes - All installed commands appear within component palettes, with each group of commands in one tab. Additional component palettes may be installed with various grasshopper add-ons. Commands are dragged out of these palettes onto the canvas.
- Node Based Editor - Programs are edited in grasshopper using a node-based interface. Components are dragged out of palettes, and placed onto the canvas. Each component node represents a certain function, with input and output pins. Pins can be interconnected to form programs.
- Zooming User Interface - Some objects drawn on the canvas adjust their display based on the zoom-level. This results in a less detailed view when zoomed out and additional information when zoomed in.
- Find Dialog - The search function lists both exact and similar matches. The Find dialog provides both textual and spatial feedback regarding the search hits. Objects are highlighted on the canvas by a Metaball outline and arrows on the dialog point towards the location of the search results.
- Color Picker - The in-built color picker supports and displays color values and transparency values.
- Command Prediction - A Markov chain database is maintained of all the add actions of the user. This enables Grasshopper to predict with a reasonable level of accuracy which command(s) will be called upon next.
- Multi Document Interface - The multiple document interface menu contains small preview images of the documents currently open
- Recently Used Documents - The MRU menu maintains not just a large collection of previously used documents, but also checks each file for availability. Files which are no longer present on the system are shown greyed out. In addition, the history of the MRU is categorized into distinct period such as "Just Now", "Today", "Thursday" and "Last Week".
Maps Grasshopper 3D
Node based editor
The main interface for algorithm design in Grasshopper is the node-based editor. Data is passed from component to component via connecting wires which always connect an output grip with an input grip. Data can either be defined locally as a constant, or it can be imported from the Rhino document or a file on the computer. Data is always stored in parameters, which can either be free-floating or attached to a component as input and outputs objects.
In the image above we see three free-floating parameters that are hooked up to a subtraction component. The two yellow boxes on the left both define a set of numeric constants. The top-most panel contains four integers (6, 7, 8 and 12) while the bottom-most panel contains only a single value. These floating parameters supply the subtraction component with input data, which results in four output values (6-5=1, 7-5=2, 8-5=3 and 12-5=7). The same result can be achieved using textual expressions and an evaluator component. In this fashion Grasshopper allows users to combine both visual and textual programming within the same environment.
See also
- Architectural engineering
- Design computing
- Comparison of CAD software
- Visual programming language
- Generative Design
References
Further reading
- K Lagios, J Niemasz and C F Reinhart, "Animated Building Performance Simulation (ABPS) - Linking Rhinoceros/Grasshopper with Radiance/Daysim", Accepted for Publication in the Proceedings of SimBuild 2010, New York City, August 2010 (full article).
- J Niemasz, J Sargent, C F Reinhart, "Solar Zoning and Energy in Detached Residential Dwellings", Proceedings of SimAUD 2011, Boston, April 2011
- Arturo Tedeschi, Architettura Parametrica - Introduzione a Grasshopper, II edizione, Le Penseur, Brienza 2010, ISBN 978-88-95315-08-9 (in Italian)
- Arturo Tedeschi, Parametric Architecture with Grasshopper, Le Penseur, Brienza 2011, ISBN 978-88-95315-10-2
- Arturo Tedeschi, AAD Algorithms-Aided Design, Parametric Strategies using Grasshopper, Le Penseur, Brienza 2014, ISBN 978-88-95315-30-0
External links
- Grasshopper Community Website
- Official Grasshopper Blog
- EXPLODE_BREPS is a site with Grasshopper Tutorials and a Catalog of Experiential Grasshopper Definitions from the UVa School of Architecture
- Example projects
Source of the article : Wikipedia