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

Transforming

From the course: Grasshopper and Rhino: Python Scripting

Start my 1-month free trial

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…

Contents