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.

Piping with Random Radii

13m 56s

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.

So, the first thing I'm gonna do is, because my parameter counter is at first equal to zero, I'm going to set parameters dot append and I'm gonna just add my parameter counter because I'm adding a number to my list at point zero zero and then, what I want to do is I want to iterate on that value, that parameter counter value so, that it only goes from zero to one through my whole list of points. One way I can do that is I can iterate on my parameter counter by one over the length of my list. So, basically, I'm incrementing on my parameter counter by some fractional value that's proportional to the size of my list.

Log in to access files

From the course:
Introduction To Python In Rhino

Level 1

Duration: 3h 23m

Author: David Tracy