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.
Transforming
- [Instructor] In the last video, we used the transform object to scale our panels. As transforming geometry is something that we regularly do in Grasshopper, let's try a couple more such as moving and rotating our panels, which we can later use to generate some interesting forms. Where we left off is with a list of scaled panels, as we can see from the Python component output. Let's continue on from this Python component to perform some more transforms. Go ahead and double-click to open it up. In the last exercise, we scaled the panel in H4 loop and appended it to a list. In this exercise, we'll be moving and rotating the surface. Therefore, we need to copy the panel surface, so that we still have a reference to the original panel and its properties. Let's have a look at the surface class in the geometry namespace to see if there's a copy method. There doesn't appear to be a copy method. But if we scroll down a bit, there is a duplicate method. Let's select that and then open…
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)
-