"or a list containing two Numpy arrays "
"[vertex coordinates, face indices]")
return [coords, faces]
def _check_mesh(mesh):
Check that mesh data is either a str, or a dict with sufficient
After Change
"array containing the indices (into coords) of "
"the mesh faces. The input was a list with "
"%r elements.") % len(surf_mesh))
elif (hasattr(surf_mesh, "faces") and hasattr(surf_mesh, "coordinates")):
coords, faces = surf_mesh.coordinates, surf_mesh.facesmesh = Mesh(coordinates=coords, faces=faces)
else:
raise ValueError("The input type is not recognized. "
"Valid inputs are one of the following file "