From the course: Grasshopper and Rhino: Python Scripting

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Lofting

Lofting

From the course: Grasshopper and Rhino: Python Scripting

Start my 1-month free trial

Lofting

- [Narrator] We now have two surfaces, one from the grid we created earlier, and the other has been scaled, moved, and rotated from the original. One way to use these two forms to create what could be a frame is by lofting the two surface boundaries, creating a unique form for each frame. Let's give this a try by learning how to loft in Python. As we'll be lofting the two panels that we created in the last Python component we'll add our code into here. So let's double click to open that up. To determine how to create a loft let's have a look at the Rhino Common Documentation online as we have in previous videos. We're going to help, help for Rhino Script Syntax, and then API, Rhino Common, and in the top right let's search for loft. Cool, so it looks like there's a few ways to loft from the Brep class. Let's select Brep.CreateFromLoft. This looks exactly like what we need. It creates a loft based on a set of curves which we can extract from our surfaces. Next we need a loft type…

Contents