From cpa
Jump to: navigation, search

MSc2 CS 2020: Cyber-physical Space 4.0


The following tutorials give a brief introduction to certain tools in Rhino and Grasshopper. A voronoi structure is generated on a fragment of a larger geometry. It is informed by structural analysis and a skin pattern is generated informed by geometrical input with the potential to use other sources. The generated geometry is constructed taking into consideration requirements from the used production tool, a 3D printer.

The tutorials consist of Rhino/Grasshopper files as well as videos. The videos aim to explain the design on a strategic level by visualizing it diagrammatically. The grasshopper files show how it can be scripted. This is done by creating titled groups and subgroups to order the file, with additional textual descriptions. In many of the groups a visualization subgroup is added which can be turned on or off.

Because (at the time of writing) the structural analysis plug-in for Grasshopper 'Karamba' is not working with the relatively new Rhino 7 yet, this file needs to be opened with Rhino 6.

Rhino: Structural Analysis.3dm
Grasshopper: Structural Analysis.gh

Rhino: Voronoi Structure.3dm
Grasshopper: Offset Mesh.gh and Structural Analysis Field.gh and Voronoi Structure.gh

Rhino: Toolpaths.3dm
Grasshopper: Toolpaths.gh and Continuous Toolpath.gh


Grasshopper Conventions

Described here are some drawing conventions we use in the Robotic Building Lab for Grasshopper. The aim is to create clear organizational structures and descriptions of how and why a script is developed in a certain way so that it is easy to understand. A template using these conventions is provided here:
File:1.GH Conventions-GH Template.gh


The Grasshopper scripts are organized according to certain principles considering the layout. Every script starts with a title and abstract:
1.GH Conventions-1.0.png
This should be a general description of the script does and for what purpose. Make sure to save the file while in this view so this is visible when the file is openend.

The components are organized and ordered in groups and subgroups. Every group has at least a title. If required it also contains a textual description in a panel. In general, the groups are colored white. The smallest groups are titled in the group header, a level above that by a scribble with font-size 25, and the main groups with a scribble with font-size 50. All the wires which reduce the readability of the script are set to display 'Hidden'.
1.GH Conventions-2.0.png

The panels containing the textual descriptions are also white:
1.GH Conventions-3.0.png

Data Management

Often the script is part of a sequence of scripts, each with a specific task. To create a fluid workflow and be sure the correct data is referred to, certain rules are maintained. Geometry is baked using the baking components of the plug-in Elefront. A layer and a name is assigned, so that the geometry is easy to be referred to in succeeding scripts and it is overwritten each time the component bakes.
1.GH Conventions-4.0.png

In this way, the geometry can be referred to using the geometry pipeline, and is updated accordingly. Always use the geometry pipeline and the combination between Rhino- and Grasshopper files, since internalizing geometry in a Grasshopper container greatly affects the speed of the script.
1.GH Conventions-5.0.png