Welcome to the first lesson in our module on Visual Programming with Grasshopper. In our previous module, we concluded by drawing a critical distinction between mesh geometry, common in programs like Blender, and the mathematically precise NURBS geometry that forms the foundation of Rhino. You learned that NURBS surfaces have an intrinsic parametric quality, an internal coordinate system of U and V parameters. This lesson marks our transition from direct modeling in Rhino to algorithmic design, where we will harness that parametric power directly.
Our goal today is to get you comfortable in the Grasshopper environment. By the end of this lesson, you will be able to navigate the Grasshopper canvas, understand the role of its fundamental building blocks—components—and connect them to create your first simple parametric definition. This is the first and most crucial step into the world of generative architectural design.
Entering the World of Visual Programming
Grasshopper is not a separate modeling program; it's a graphical algorithm editor that runs inside Rhino. Instead of typing commands or clicking icons to create an object, you build a logical "recipe" or "script" using a visual interface. This script defines the relationships between parameters and geometry, allowing you to generate and control complex forms.
Let's begin by seeing how Grasshopper and Rhino work together.
Getting Started with Grasshopper 3D - BEGINNERS START HERE!
This clip from The Rhino Essentials channel shows you how to launch Grasshopper and provides an excellent overview of its relationship with Rhino.
To start, open Rhino. You can launch Grasshopper by typing Grasshopper into the Rhino command line. As the video shows, Grasshopper opens in a new window. It's common practice to arrange your screen so you can see both the Rhino viewports and the Grasshopper canvas. Watch the segment from how to access grasshopper. The key idea to absorb is that you will build a set of commands (a "definition") in the Grasshopper window, and the geometric result will appear as a live preview in the Rhino window.
The process you will learn involves defining parameters and rules in Grasshopper, which then generates a preview of the geometry in Rhino. When you're satisfied with the result, you can "Bake" it, turning the preview into actual, editable Rhino geometry.

The Anatomy of the Grasshopper Canvas
The Grasshopper interface consists of a few key areas. At the top, you have the component palettes, organized into tabs like "Params" (for inputs), "Maths," "Vector," "Curve," and "Surface." The large, grid-covered area is the canvas, where you will build your definition.
To build a definition, you place components on the canvas and connect them with wires.
- Components are the building blocks of Grasshopper. Each component is a small program that performs a specific task. It has inputs on the left and outputs on the right.
- Wires connect the output of one component to the input of another, creating a flow of data from left to right.

To truly understand how to work with Grasshopper, you must first understand the structure of its components. The following video from ParametricCamp provides an exceptionally clear breakdown. Your mathematical background will help you appreciate this structured, function-like approach where inputs are processed to produce a clear output.
3.1 Structure of Grasshopper Components - Introduction to Parametric Modeling
This video dissects a component into its three parts—inputs, process, and outputs—and explains how to "read" a component to understand its function.
Watch the segment from how to learn how they work. Pay close attention to these key skills: Hovering for information: Mousing over inputs and outputs reveals the type of data they expect or produce (e.g., a number, a point, a curve). Reading Icons: The small icons on the inputs and outputs are visual cues for the data type. Right-Clicking: Accessing the central part of a component with a right-click brings up options like enabling/disabling the preview. The Help Menu: Right-clicking and selecting "Help" provides a description of what the component does, what it needs, and what it creates. This is an invaluable tool for self-learning.
The core skill you are developing is the ability to break down a design goal into a series of logical steps that can be represented by components and their connections.
Building Your First Parametric Definition
Now, let's put this theory into practice by building a simple, yet complete, parametric definition. We will create a point in space defined by X, Y, and Z coordinates that we can control dynamically.
First, you need to learn how to place components on the canvas. The most efficient way is to double-click anywhere on the empty canvas and type the name of the component you're looking for.
Let's begin by building a point from its raw coordinates.
An Introduction to Grasshopper – Brendan Harmon
This guide by Brendan Harmon clearly illustrates the steps to construct a point using the fundamental Construct Point and Number Slider components.
Follow the steps in the section titled "Points". Focus on the first example, constructing a point from x, y, and z coordinates. Recreate this definition on your own canvas: Double-click the canvas and search for Construct Point. Place it on the canvas. Double-click again and search for Number Slider. Place it. You will need three of these. Connect the output of each slider to the X, Y, and Z inputs of the Construct Point component.
As you drag the handles on the number sliders, you should see the point moving in your Rhino viewport. You have just created your first parametric model! The position of the point is no longer a fixed value; it is a function of the values provided by the sliders.
This simple network demonstrates the core principle of parametric design: data flows through a network of operations to produce a geometric result.
From Data Flow to Geometric Form
A single point is a start, but the real power comes from chaining components together. The output of one component becomes the input for the next. Let's extend our definition to draw a vertical line whose starting point and length are parametrically controlled.
- Keep your existing
Construct Pointdefinition. The point it generates will be the starting point of our line. - Double-click the canvas and add a
Line SDLcomponent. This component creates a line from a Start point, a Direction vector, and a Length. - Connect the
P(Point) output of yourConstruct Pointcomponent to theS(Start) input of theLine SDLcomponent. - For the direction, we need a vector. Double-click and add a
Unit Zcomponent. This creates a vector pointing straight up. Connect itsV(Vector) output to theD(Direction) input of theLine SDL. - For the length, add another
Number Sliderand connect it to theL(Length) input of theLine SDL.
Now, you have a complete parametric definition. The sliders for the Construct Point component control the line's origin, and the new slider controls its length. All the geometry in the Rhino viewport updates in real-time as you adjust these input parameters.
Making It Real: Baking Geometry
The red geometry you see in Rhino is only a temporary preview generated by Grasshopper. You cannot select or edit it directly in Rhino. To convert this preview into actual Rhino geometry, you need to Bake it.
Getting Started with Grasshopper 3D - BEGINNERS START HERE!
This clip explains the crucial concept of "Baking" Grasshopper geometry into the Rhino environment.
Watch the segment from one thing you might have noticed. To bake your line, right-click the central part of the Line SDL component and select "Bake". A dialog will appear asking which Rhino layer to place the object on. After clicking OK, you will have a normal, selectable NURBS curve in your Rhino model that is a snapshot of the Grasshopper preview at that moment.
Baking creates a one-way transfer. The new Rhino object is no longer linked to your Grasshopper definition. If you change the sliders again, the baked line will not update; instead, the Grasshopper preview will simply show you the new potential geometry.
Conclusion
In this foundational lesson, we have taken our first steps into visual programming with Grasshopper. You have moved from being a direct modeler to an algorithm designer.
Here are the key takeaways:
- Grasshopper is a visual editor for creating algorithms that generate geometry in Rhino.
- The canvas is where you build definitions by connecting components with wires.
- Components have inputs (left) and outputs (right), and data flows from left to right.
- The geometry you see in Rhino is a live preview that updates as you change input parameters.
- To create permanent, editable Rhino geometry, you must Bake the output of a component.
This lesson was about learning the basic mechanics of the interface. We've only scratched the surface of what's possible.
In our next lesson, we will dive deeper into the most common type of input: the Number Slider. You'll learn how to configure sliders precisely and use them as the primary drivers for your parametric models, unlocking the ability to rapidly iterate through design options.