[Grasshopper] How to use Surface Points to get control points on a Surface

[Grasshopper] How to use Surface Points to get control points on a Surface Grasshopper component EN

This article explains how to use Surface Points to get control points on a Surface.

Surface Points1
Surface Points2

On the Grasshopper, it is represented by either of the two above.


↑Youtube Channel

Acquire surface control points

Using Surface Points allows you to obtain the control points of a surface.

the data on Rhino

This time, we will use the data on Rhino in the image above.

PointsOn command

When you check the control points using the PointsOn command in Rhino, it will look like the image above.

Acquire surface control points

Components used: ①Surface ②Surface Points ③Point

サーフェスを格納

First, set the surface on Rhino to the Surface.

obtain the control points of the surface

Then connect the Surface to the Surface Points.

Then, as shown in the image above, we were able to obtain the control points of the surface.

The acquired control points are output as point data from Surface Points(P).

W

Additional Component: ①List Item

The W terminal outputs the weight values for each control point.

The higher the weight value, the more the surface is pulled toward the control point.

This time, we have set one control point to 4 on Rhino.

Since the weight for the index number 12 is 4, let’s retrieve the 12th point in the List Item.

Connect the Point connected to the Surface Points(P) to the List Item(L).

Then, enter 12 into the List Item(i).

obtain one control point

Then, as shown in the image above, we were able to obtain one control point.

The weight value is higher than other control points

The weight value is higher than other control points, indicating that the surface is being pulled more.

G

The G terminal of Surface Points outputs point data that has been flattened from control points.

It is created on the XY plane as if projected from directly above.

Top

The image shows the points as viewed from the top view.

This makes it easy to count the number of points in both the vertical and horizontal directions.

U and V

The U and V terminals output numerical values representing the number of control points in two directions.

In the image above, both are output as 5.

5×5

Upon inspection, you can confirm that the control points are arranged in a 5×5 grid.

List of Grasshopper articles using Surface Points component↓

Comment

Translate »