This article explains how to use Mesh Face to set mesh face data.


On the Grasshopper, it is represented by either of the two above.
Setting mesh face data
Mesh Face can be used to set mesh face data.

Components used: (1) Mesh Sphere (2) Deconstruct Mesh (3) Mesh Face
This time, the mesh sphere created with Mesh Sphere is deconstructed with Deconstruct Mesh, and the mesh faces are extracted.

Using Deconstruct Mesh, the mesh will look like this.
Connect the Mesh Face to the Deconstruct Mesh(F).
This allows us to set the mesh face data.

Additional Component: (1) List Item
Let’s take a look at the face data.
If you look at it in Panel, you will see that data like T{0;2;1} is output.
This number is the index number of the point data of the mesh vertices.
Since the Deconstruct Mesh(V) outputs the vertex point data, let’s extract the points corresponding to the index number using List Item.
The List Item(L) is connected to the Deconstruct Mesh(V), and 0, 1, and 2 are input to the List Item(i).

Then, three points were extracted as shown here.
Looking at the three points, we can see that a face (plane) is formed from the three points.

Now let’s look at Q{1;2;22;21}, which has four values.
We have entered 1, 2, 22, and 21 in the List Item(i).

Then, four points were extracted like this.
If you look at it, you can see that a face is created from the four points.
Thus, we see that the data set in the Mesh Face is the data of a face composed of vertex points.
List of Grasshopper articles using Mesh Face component↓
Comment