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.

Iteration instead of data trees

Iteration instead of data trees

- [Instructor] Welcome. I have my exercise file open already. In this video, I want to talk about one of the problems that often arises when dealing with data trees in Grasshopper. I have a script set up here. The input is just a box, so let me create a box in Rhino. So this script takes any input box and it generates this form within it. It's based out of a one way cell. It's a waffle structure. Not critical what the geometry is. The important thing is that it takes a little while to calculate this geometry and the output has its own data tree structure. So the problem is if input multiple boxes, this script will likely freak out and not work as expected. So to test that, I'm going to go to transform, array, box array. I have a box here that's being generated parametrically, so it's just a zero, zero, zero one, one, one. So it's a zero by one box. I'm going to plug that in here. I just want to create two boxes to start…

Contents