def addFacesGivenVertexes(triangleMesh, vertexIndexTable, vertexes):
 for vertexIndex in xrange(0, len(vertexes), 3):
  triangleMesh.faces.append(getFaceGivenLines(triangleMesh, vertexIndex, vertexIndexTable, vertexes))

def addFacesGivenVertexes ( triangleMesh , vertexIndexTable , vertexes ) : for vertexIndex in xrange ( 0 , len ( vertexes ) , 3 ) : triangleMesh . faces . append ( getFaceGivenLines ( triangleMesh , vertexIndex , vertexIndexTable , vertexes ) )
add faces given stl text .