3.8. 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
Is a list of points that is ordered sequentially [0,1,2,3]
.
Edges
Lines connecting any two consecutive vertices in a face.
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