From the course: Grasshopper: Generative Design for Architecture

Unlock the full course today

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

Sine surface points

Sine surface points

From the course: Grasshopper: Generative Design for Architecture

Start my 1-month free trial

Sine surface points

So we've diagrammed out our parametric model. Now we'll begin implementing within Grasshopper. The first two things to build are a Sine Wave surface logic and the site constraints. I've added the site constraints to the script already. It's really just the surrounding buildings and the boundary of the site. The first thing I want to do is create three sliders. These sliders are going to be the inputs that control the input parameters for our Sine Wave. The first will be the interval. The Sine is a periodic function so we can change that interval and get a different piece of the Sine Wave to define the surface. The next is going to be the translation. So we can move the Sine Wave logic around and cut out different pieces of it for our surface. And last will be the rotation. So we can orient the curvature in different directions on the site. It's important that we have these three inputs because we'll hand these off to our evolutionary solver, the optimizer surface. Next, we wanted to…

Contents