From the course: Grasshopper: Tips, Tricks, and Techniques

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Why data trees?

Why data trees?

- [Man] I have my exercise file open already. This is the first in a series of videos focused on data trees. In this first video, I want to talk about why data trees exist in the first place. They're usually the most complex aspect of Grasshopper for new users. So I don't need them at all. As an example, I'm going to use one of the tools that we built in a previous video. So here we have the un-roller tool that we scripted. And we're going to look at how the data coming in and the data coming out is adaptive, how it changes based on the requirements for the component. So if we go inside here, and we look at a normal c-sharp function, which these components in Grasshopper in some ways resemble coded function in a normal programming language. We that, here we have un-roll, perform un-roll, this is the function that's doing the un-rolling. And we have a series of variables and each of these variables are…

Contents