3.7. Mesh
Meshes in Grasshopper
A Mesh is a collection of quadrilaterals (quads) and triangles that represents a surface or solid geometry.
This section discusses the structure of a mesh object, which includes vertices
, edges
, and faces
.
Anatomy of a Mesh
Is a collection of points which are grouped into polygons. To create a mesh we need a list of vertices and a system of grouping those vertices into faces.
The Points of a mesh are called Vertices
Vertices are interconnected with Edges
The polygons are called Faces
![Vertices](../../grasshopper/08_vertices_edge_faces.png)
Vertices
Is a list of points that is ordered sequentially [0,1,2,3]
.
![Vertices list](../../grasshopper/08_vertices_list.png)
Edges
Lines connecting any two consecutive vertices in a face.
![Edges](../../grasshopper/08_edges_list.png)
Faces
Is an ordered list of three or four vertices.
Important to pay attention to the order of the indices when constructing a mesh face.
Remember Right hand Rule
![Faces](../../grasshopper/08_faces_list-01.png)