def METHOD_NAME(mesh, path, name):
    """
    Write the mesh to .obj
    :param MeshData mesh: the mesh to save
    :param str path: the path for the file
    :param str name: the name for the object
    """
    with open(path, "w") as fout:
        fout.write("o {}\n".format(name))
        for vertex in mesh.vertexes():
            fout.write("v {} {} {}\n".format(*vertex))
        for normal in mesh.vertexNormals():
            fout.write("vn {} {} {}\n".format(*normal))
        for index in mesh.faces():
            fout.write("f {0}//{0} {1}//{1} {2}//{2}\n".format(*(i + 1 for i in index)))