algorithmic modeling for Rhino
A mesh face is a list of 4 integers. If the last two integers are identical, the face represents a triangle, if they are different, the face represents a quad.
The numbers refer to vertex indices. Say you have a mesh with 100 vertices (points). The first one is at index 0, the second one at index 1, then 2, 3 etc. all the way to 99. A face might connect vertices 0, 1, 22 and 23.
You typically don't use this kind of low level method to create a mesh, though of course there's nothing stopping you. Most meshes are either the result of some operation on existing meshes, the approximate mesh of a surface/brep or based on one of the mesh primitives such as Plane, Box or Sphere.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by