Convert Brep face to mesh C#

It seems to work with that :

List meshes = new List();

foreach(BrepFace f in brep.Faces){

  Brep newFace = f.DuplicateFace(false);
  Mesh mesh = Mesh.CreateFromBrep(newFace, MeshingParameters.Default)[0];
  meshes.Add(mesh);
}

A = meshes;

cf.

brep face to mesh per face.gh (80.6 KB)