You have reached one of our paid video tutorials for the course:

Introduction To Python In Rhino

You can either log in to view it or learn more about our memberships.

Lists

9m 2s

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 summarylog in to access this content in full.

And first, we're going to start by creating this variable called points, and it's just going to be an empty list, and the way that we create a list is just by including these two square brackets. So, if I go back into my, my Rhino viewport, remember this can be considered a list, so this is the index of the list, and these are the values of the list. So in this case, I have one, five, seven, eight, 12 and so on.

Log in to access files

From the course:
Introduction To Python In Rhino

Level 1

Duration: 3h 23m

Author: David Tracy