Access to Mesh Face details

I am trying to parse a 3dm file for Mesh details.

I have access to a mesh geometry ( r3mesh) and can access


Now I would have expected to access some Face details, which gave me 3 or 4 index into the Vertices, but cannot see this from the documentation.

Please can you point me in the right direction.

I’m not sure whether you’re using Python or C#. But I guess Mesh.Faces[item] is what you’re looking for:

import Rhino.Geometry as rg
mesh = rg.Mesh.CreateFromSphere(rg.Sphere(rg.Point3d(0,0,0),10),10,10)
mf = mesh.Faces[0]
for i in mf:
    print mesh.Vertices[i]


I have made a prior rm2 = r3mesh.Faces.ConvertQuadsToTriangles()
and your code gives seems to give me access to the faces before the conversion.
Where will the ConvertQuadsToTriangles have done the work as it returns
success or failure?

Mesh.CreateFromSphere automatically creates a mesh consists of both quadrangular and triangular faces: