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.

Spacing panels in the Y dimension

Spacing panels in the Y dimension

From the course: Learning Algorithmic Design with Grasshopper

Start my 1-month free trial

Spacing panels in the Y dimension

- [Instructor] In the last video, we worked on calculating Y offsets to make our panel array of all of our three dimensional panels. That's going to be a great step towards getting these cut on a CNC router. In this video, I'm continuing where I left off. What I'd like to work on in this video is adding a little bit of a spacing factor in between each of my rows, so that they're not butting right up against one another. In Grasshopper, a pretty reasonable place to start would be to make a number slider. Let's start it at zero and maybe take it up to, oh I don't know, something like 25 should be plenty. Let's think through exactly how we need the spacing factor to get applied to our panel array here. Now think about it. The first row, I don't actually want the spacing. I'd like that array just on the origin. The second row, I would apply the spacing factor. Let's say in this case it's five, right? So that first row would get bumped down five units. This next row would get moved down…

Contents