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.

Evaluating surfaces

Evaluating surfaces

From the course: Grasshopper and Rhino: Python Scripting

Start my 1-month free trial

Evaluating surfaces

- [Instructor] So far in the course, we've learned the basics of Python and working with different modules and libraries available. Let's now turn our attention to some of the common workflows used in Grasshopper, utilizing Python as we go. In this video, we'll start by taking the surface which we created in video five of section three and we'll create a grid of points based on the UV directions, much like the divide surface component does. By creating the component in Python, we'll learn how to re-parametrize a surface and control the UV points. If you haven't used UV divisions on a surface before, U and V are basically a method of defining a position on a surface, much like we define XY coordinates on a 2d plane. Say we had a piece of graph paper with grids in two directions. One direction would be the U direction and the other perpendicular direction would be the V direction. Based on where these two directions intersect, we can create points at these UV coordinates. In this…

Contents