In this course, David Tracy will teach you how to use the Python programming language with Rhino to automate tasks, create complex forms, and simulate physical phenomena. This course will serve as a gentle introduction to programming to unlock capabilities for generative computational design with Rhino, Python, and Grasshopper.
First, you will be introduced to the core concepts of using Python in Rhino, such as drawing shapes with code, transformation, and variables. Then you will learn how to use classes and object oriented programming. Finally, you will learn how to integrate Grasshopper into your Python and Rhino workflow.
When we’re done, you will understand the core concepts of programming with Python, be able to author your own scripts, and create custom components in Grasshopper.
Transcript summary — log in to access this content in full.
And this is just gonna return, and this is just gonna be called getlocation, and it's just gonna take a reference to itself, and we're going to create a class variable. We're gonna change shape into a class variable, self.shape, and so we're going to return, again, self.shape. So, in addition to drawing the point onto the screen, we're also going to add it to a list.
Log in to access files
From the course:
Introduction To Python In Rhino
Duration: 3h 23m
Author: David Tracy