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.

While Loops

5m 48s

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, while we can say count is less than 100, and we'll create a variable called count equals zero, while count is less than 100 and we use the colon to create the scope for this while loop, we're going to do something so the first thing we're going to do is we're gonna rotate this object. So we already have this prompt to rotate the object so we know it takes a shape, a point, and a degree of rotation. So we're gonna just do this over and over again.

Log in to access files

From the course:
Introduction To Python In Rhino

Level 1

Duration: 3h 23m

Author: David Tracy