From the course: Learning Algorithmic Design with Grasshopper

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Rotating text labels

Rotating text labels

From the course: Learning Algorithmic Design with Grasshopper

Start my 1-month free trial

Rotating text labels

- [Instructor] In the last video, we spent some time creating labels for each of our individual panel profiles of each one or so, in a pattern here. Now in this video, I'd like to go a little bit further with that part of the definition, by rotating the labels so that they line up with the orientation of each individual panel. So, let's think through how we'd like to rotate all these labels. You can see, some of these line up pretty well, like these ones that are almost horizontal, but, it's pretty messy, it's a little bit hard to see. What I'd like to have happen, is for the label to line up with the angle of each panel. So let's take a look at our definition here. And where I can start to build in some rotation, is in the location input of this text tag 3D. So let's pull up a rotate plane component. And this's going to let us take the polygon center, that right now is giving us the center point, of each of those panel profiles, and basically rotate it. So I'm going to take that area…

Contents