From the course: Grasshopper: Architectural Prototyping

Unlock the full course today

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

Organizing your scripts

Organizing your scripts - Grasshopper Tutorial

From the course: Grasshopper: Architectural Prototyping

Start my 1-month free trial

Organizing your scripts

- [Instructor] Scripts you download or develop over time, are often a mess. There's a lot going on that can make it difficult to quickly see what's happening and debug. In this video, we'll look at some of the ways you can organize your scripts and make them easier, for you or anyone else to use effectively. If you open the exercise file, you can see it's now calculating completely without error. A first step in figuring out how to organize this script effectively, is to determine what's happening where. We can do this by visualizing components using preview, hovering over outputs to see the data structure, and using text boxes to visualize the data. If I start from left to right, I can turn off the components that are being visualized. And see that the output for this section of the script are the two surfaces, front and back. I can see the output for this area above the surfaces are a set of 2D curves that are being generated as the original Voronoi pattern. So I'll separate this…

Contents