From the course: Grasshopper and Rhino: C# Scripting
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating curves
- At this point in the course, we have learned some of the basics of working with the C# programming language. Now let's put it to good use. In this section of the course, we'll be creating a dynamic wall pattern. And in doing so, dig a little bit deeper into working with the Rhino API. So let's start by opening up the exercise file for this lesson. In here, you can see that we simply have a collection of points in this point component, which we'll use to create the base curve for the wall. So let's take a look at the Rhino API to see how we can use these points to create a curve. In the API, let's go to the Rhino.Geometry namespace and then have a look at the Curve Class. There are a few different ways that we can create curves. One of which is not using the constructor methods. This is because these two constructor methods are what we call protected methods, which we can see with the little key next to the name.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.