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.

Calculating Y offsets

Calculating Y offsets

From the course: Learning Algorithmic Design with Grasshopper

Start my 1-month free trial

Calculating Y offsets

- [Instructor] In the last video, we did some work to calculate the number of rows that we'll need to lay out a gridded array of our three-dimensional panels. And that'll be something that's really useful as we move this project towards CNC routing. In this video, I'm continuing where I left off, so before we go any further here, let's just take those components we made in the last video, select them, right-click on the canvas and group them, and let's give this group a title. We'll call this Calculate Rows. So, to calculate our Y offsets, we could start very simply just with a multiplication component. And I can multiply the range of rows that we made in the last video, and that's something I'm setting with the slider, way at the beginning of my definition over here with my Shelf Parameters. So I want that Shelf Depth Slider. So I'll grab that output and then I'm clicking and holding while I zoom out with my mouse scroll wheel, and that just helps get to the other end of the…

Contents