Welcome to our next lesson on generative modeling. In our previous session, we saw how to use mathematical functions, like the sine function, to directly calculate the coordinates of points and form undulating surfaces. This function-driven approach, where , is a powerful method for creating mathematically pure forms.
Today, we will build directly on that foundation. We'll formalize the process of creating surfaces from collections of points and curves using some of Grasshopper's most fundamental and powerful components. You will learn the two primary methods for generating complex surfaces: first, by constructing a surface from a structured grid of points, and second, by creating a "skin" over a network of profile curves. Mastering these techniques is essential for moving from abstract generative concepts to buildable architectural forms.
By the end of this lesson, you will be able to create a parametric surface from both a grid of points and a network of curves, understanding the critical role that data structure plays in each method.
Method 1: Creating a Surface from a Grid of Points
In the last lesson, we generated a mesh by displacing the vertices of a grid. This is one way to create a surface from points. Grasshopper, however, provides a more direct component for creating smooth NURBS surfaces: Surface From Points (SrfGrid). This component takes a list of points and interprets them as a control point grid for a surface.
The key challenge is providing the points in the correct order. The component needs to know how many points make up one row of the surface (the "U" direction) so it can correctly wrap the single list of points into a 2D grid.
Let's walk through a classic architectural and mathematical example: creating a hyperbolic paraboloid, or "hypar," surface. Its form is defined by the equation , a function of two variables you'll recognize from multivariable calculus.
This guide from the University of Virginia's School of Architecture provides an excellent, detailed walkthrough of generating a hyperbolic parabolic surface in Grasshopper. It directly applies the concept of using a mathematical expression to generate a point grid, and then uses the Surface From Points component to complete the process.
Please read through the following sections to build the definition: Start at Section 2, which introduces the concept of using algebraic expressions for surface topology. Follow the instructions in Example 1, which details setting up the sliders and the rectangular point grid (RecGrid). Pay attention to how the Decompose component is used to extract the x and y coordinates of each grid point. Continue through the section that explains how to use the Fx component to apply the hyperbolic paraboloid equation, generating the new Z-coordinates and constructing the final 3D point grid. Finally, read Step 4 carefully. This is the crucial part where the Surface From Points component is used. Note the two most important inputs: the list of points P, which must be flattened, and the U count, which is set to the number of X-cells plus one.
Understanding the Surface From Points Input
The two details from Step 4 of the reading are critical. The Surface From Points (SrfGrid) component expects a "flattened" list of points, meaning a single, simple list without any branching data tree structure. It then relies on the U input to understand how to reconstruct the 2D grid from this list.
The image below illustrates this perfectly. A standard data tree for a grid organizes points into rows (left). However, SrfGrid needs a single list. The U value tells it when to "break the line" and start a new row. The path it traces through the flattened points often follows a zig-zag pattern to maintain surface continuity.

Since you have already covered data trees in Module 8, you'll recognize that Flatten is the operation that removes the tree structure {path;index} and creates one long list. The U count is what re-imposes the grid logic onto that flat data.
This method of generating a point grid through a mathematical function and then creating a surface is incredibly versatile. As the resource LINK shows in its final section, you can swap out the hyperbolic paraboloid equation for a sine function, an elliptical paraboloid, or any other function to generate a vast array of different surface topologies.
Method 2: Creating a Surface from a Network of Curves
The second fundamental approach to surface creation is to define a set of profile curves and then generate a surface that spans between them. This is akin to stretching a fabric over a frame. The primary tool for this in Grasshopper is the Loft component. In the previous lesson, we briefly used Loft to create a surface between two sine curves. Now, we'll explore a more dynamic and generative application of this technique.
This workflow is common in architectural design for creating facades, roofs, and landscape elements with flowing, organic forms. The following video demonstrates how to generate two random, wavy curves and then loft a surface between them.
Rhino Grasshopper Creating surface from curves
This tutorial from the "How to Rhino" channel provides a clear, step-by-step process for creating a parametric surface by lofting between two randomly generated NURBS curves.
Please watch the following segments: Concept: First, watch the explanation of the concept from the beginning. The goal is to create two sets of points, randomize their positions, and draw smooth curves through them. Generating the First Curve: From this section, observe how a Series of points is created and then displaced randomly in the X-direction using a Random component. Notice the use of Construct Domain to control the range of randomness. Finally, see how a NURBS curve is used to create a smooth path through these displaced points. The video also contrasts this with a Polyline, which connects points with straight segments. Lofting the Surface: The final key step is explained from this segment. A second curve is generated using the same logic but with different random seeds and displacement values. The Loft component is then used to connect these two profile curves, creating the final surface.
The power of the Loft component lies in its ability to smoothly interpolate a surface between any number of profile curves. The order and direction of the curves you provide are important. Grasshopper will create the surface by connecting the first curve to the second, the second to the third, and so on, based on the order of the curves in the input list.
Other Methods for Surface Creation from Curves
While Loft is extremely versatile, Grasshopper offers several other tools for creating surfaces from curves, each with specific uses. The Ruled Surface component, for example, is similar to Loft but is optimized specifically for creating a surface between two curves.
The video below gives a quick tour of several other useful surface components.
Grasshopper Tutorial 10 | Other Ways to Create Surfaces
This video from "Individualized Production in Architecture" provides a concise overview of various surface creation techniques. We will focus on a few key examples and a crucial concluding thought.
Edge Surface: Watch the demonstration of the Edge Surface component at this timestamp. This component is useful when you need to create a surface patch defined by four distinct boundary curves. Patch Surface: Next, see the Patch component in action from this segment. This component creates a best-fit surface inside a closed boundary curve. It's excellent for filling holes or creating smooth, organic surfaces from a single outline. Notice how the spans parameter affects the surface's fidelity to the input curve. Design for Construction: Finally, pay close attention to the important advice given from this final part. The ability to create complex, free-form surfaces is powerful, but translating them into a buildable reality is the real challenge. Designing with simpler, underlying geometric rules often leads to a more rational and constructible outcome.
This final point about constructability is a vital piece of wisdom in parametric design. Your knowledge of mathematics and physics gives you a unique advantage here. Understanding the underlying geometric and structural principles of a form allows you to design complex aesthetics that are still governed by rational, buildable logic.
Conclusion
Today, we have established two cornerstone techniques for generative surface modeling in Grasshopper. You've seen how your previous work with function plotting directly translates into creating surfaces from point grids, and you've learned how to skin complex forms by lofting between profile curves.
Key Takeaways:
- Surface from Points (
SrfGrid): This method requires a flat list of points and aUcount to define the grid structure. It is ideal for creating surfaces from mathematically defined point grids, such as those generated by functions like . - Surface from Curves (
Loft,RuledSrf): This method creates a surface by spanning between two or more profile curves. It is highly effective for creating flowing, organic forms where the cross-sectional profile is the primary design driver. - Data is Key: Both methods depend heavily on the correct structuring and ordering of the input data (points or curves). For
SrfGrid, this means flattening and specifying theUcount. ForLoft, it means ensuring the curves are in the correct sequence in the data list. - Design with Intent: The ease of creating complex surfaces must be balanced with considerations of fabrication and construction.
You are now equipped to generate a wide variety of sophisticated surfaces. In our next lesson, we will take these surfaces and learn how to subdivide them using their UV coordinates. This is the first step in rationalizing a complex form into a system of smaller, manageable components, a fundamental process in parametric facade design.