Grasshopper Python Training Level 1 by Agata Migalska and Damian Paszkowski
February 19-21, 2018
10 AM-6 PM
McNeel Europe S.L.
Roger de Flor, 32-34 bajos
08018 Barcelona (Spain)
They will introduce
Python, a modern programming language meant to be a simple language to read and write. It runs both the
Windows and Mac versions of Rhino. So, the same Python scripts can run on both versions of Rhino.
The main focus of the workshop will be on how to run Python within a Grasshopper component to create your custom components within a larger grasshopper definition. The
GhPython component contains a Python script editor and direct access to Python, Rhino, and
Grasshopper functions.
Day 1
Exploration of the core concepts of Python and writing of simple programs to make you feel at ease with Python syntax and get you in the mood of algorithmic thinking.
Python core: data types, variable declaration, and assignment, flow control, loops, list comprehensions, built-in functions, functions, and classes.
Day 2
Practice, practice, practice. We will work on a number of various use cases including automated geometry creation and manipulation as well as all kinds of utility scripting. At the end of the day, these are small scripts that automate those boring tasks that you benefit the most from. We will code both in Rhino (Rhino Python Editor) and in Grasshopper (GhPython component) and explore the possibilities each of these tools give.
Scope: Recursion and fractals generation, randomness, reading/writing files, geometry baking, panellization, camera moving, and more.
Day 3
Exploration of the concept of “Node in Code” and rewrite whole Grasshopper definition into a single script. We will look at the Python universe outside of Grasshopper. Finally, you will use the knowledge you gained during the workshop to work on your own problems and ideas.
Exploiting the concept of “Node in Code” (that is, every Grasshopper component is a function), Coding in Python outside of Grasshopper: Python distributions, PyPI, Integrated Development Environments (IDE), Jupyter Notebooks.
Hacking afternoon + presentation of results
Course Fee: EUR 795 (+VAT); full-time students, university teachers (
proof of status required) and remote attendees will get a 50% discount.
Please note your seat is only confirmed once payment has been cleared.
Max. Number of Participants: 10 + 5 remote participants. If there is no quorum, the course will be canceled 15 days before.
Language: English