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.

Creating panels

Creating panels

From the course: Grasshopper and Rhino: Python Scripting

Start my 1-month free trial

Creating panels

- [Instructor] There are many different ways we could group the points we created in the last video to penalize the service into shapes, such as rectangles, diamonds, or hexagons. To do this, though, we would need to group our points in structured ways. Using the method which we developed in the last video to evaluate the UV of a surface, let's create groups of four points to then create panels in the surface. In the last video, we created a point at regular steps in the UV space. For each point, we need to create three more points in the UV space to form a rectangle. Let's have a look at how we might solve this. Currently, we are creating a point for each loop in the U direction and V direction. What we want to do for each loop is to create a rectangle with four points. So to do this, we'll need to create each point for the individual rectangle based on the current loop. And, as we know, each point we create is based on the UV parameters. Therefore, as we know the U and V will…

Contents