meshio
meshio copied to clipboard
Does Meshio support unv file format (Could not deduce file format from path)?
I need to convert a unv mesh file to another format. I have Installed the latest version of meshio (ver. 5.3.5) on python ver. 10, with the latest update of h5py. I have tried to read this mesh file by
mesh = meshio.read(str(os.path.join(os.environ['USERPROFILE'], "Desktop", "Mesh.unv")))
but it gets the following error:
Traceback (most recent call last):
File "C:\Users\Ali\Desktop\Mesh convertion.py", line 8, in <module>
mesh = meshio.read(str(os.path.join(os.environ['USERPROFILE'], "Desktop", "Mesh.unv")))
File "C:\Users\Ali\anaconda3\envs\Py_10\lib\site-packages\meshio\_helpers.py", line 71, in read
return _read_file(Path(filename), file_format)
File "C:\Users\Ali\anaconda3\envs\Py_10\lib\site-packages\meshio\_helpers.py", line 96, in _read_file
possible_file_formats = _filetypes_from_path(path)
File "C:\Users\Ali\anaconda3\envs\Py_10\lib\site-packages\meshio\_helpers.py", line 56, in _filetypes_from_path
raise ReadError(f"Could not deduce file format from path '{path}'.")
meshio._exceptions.ReadError: Could not deduce file format from path 'C:\Users\Ali\Desktop\Mesh.unv'.
Does it still not support unv file extension? The example file: Mesh.zip