Hello
May I ask if there is a good way to get the index of a face if I know the indices of its 3 or 4 vertices? Currently I am doing the following, which is not very neat:
vertexIds = [273, 69, 188]# the vertices of the face I am looking for
faceThatConnectsVertices = None
for faceId in mesh.TopologyVertices.ConnectedFaces(vertexIds[0]):
if all(faceVertexId in vertexIds for faceVertexId in mesh.Faces.GetTopologicalVertices(faceId)):
faceThatConnectsVertices = faceId
Thanks!