Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Meshio support unv file format (Could not deduce file format from path)? #1475

Open
alisheikholeslam opened this issue Jun 26, 2024 · 0 comments

Comments

@alisheikholeslam
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant