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
- [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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Evaluating surfaces9m 45s
-
(Locked)
Creating panels5m 13s
-
(Locked)
Splitting11m 35s
-
(Locked)
Sorting8m 49s
-
(Locked)
Attractors10m 2s
-
(Locked)
Transforming11m 49s
-
(Locked)
Lofting9m 46s
-
(Locked)
Analysis12m 35s
-
(Locked)
Accessing the Rhino document2m 33s
-
(Locked)
Baking form13m 56s
-
(Locked)
Adding text9m 3s
-
(Locked)
Animating form6m 7s
-
(Locked)
Animating renders8m 22s
-
(Locked)
-