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

Fix readme instructions #1482

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,11 @@ with meshio.xdmf.TimeSeriesReader(filename) as reader:

If you have downloaded a binary version of ParaView, you may proceed as follows.

- Install meshio for the Python major version that ParaView uses (check `pvpython --version`)
- Open ParaView
- Find the file `paraview-meshio-plugin.py` of your meshio installation (on Linux:
`~/.local/share/paraview-5.9/plugins/`) and load it under _Tools / Manage Plugins / Load New_
- Check the version of Python provided by ParaView: `./bin/pvpython -c "import sys; print(sys.version)"`
- Install meshio for that Python version in a dedicated directory: `python3 -m pip install --only-binary=:all: --python-version 3.10.13 --target /path/to/directory meshio`
- Recover [paraview-meshio-plugin.py](https://github.com/nschloe/meshio/blob/main/tools/paraview-meshio-plugin.py)
- run ParaView with `PYTHONPATH=/path/to/directory/ ./bin/paraview`
- In _Tools / Manage Plugins / Load New_, select `paraview-meshio-plugin.py` and load it
- _Optional:_ Activate _Auto Load_

You can now open all meshio-supported files in ParaView.
Expand Down