Skip to content

Latest commit

 

History

History
84 lines (56 loc) · 2.71 KB

README.rst

File metadata and controls

84 lines (56 loc) · 2.71 KB

Visualizer

Test and Release

Visualizer is a Web frontend to ParaView based on trame. The current project is currently incomplete. You can see it as an alpha version of what it could be. To make it fully functional we need more time and possibly funding. But rather than waiting for it to be ready to release it, we are putting it out there as it does provide some very good example of what can be done with ParaView and trame.

If you would like us to push it forward or want some help creating something similar, feel free to reach out to kitware so we can see how we can help you.

image_1 image_2 image_3

License

This software is distributed under a BSD-3 license

Installing for Development

Build and install the Vue components

export NODE_OPTIONS=--openssl-legacy-provider
cd vue-components
npm i
npm run build
cd -

Create a virtual environment to use with your ParaView 5.10+

python3.9 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
pip install -e .

Installing from release

Create a virtual environment to use with your ParaView 5.10+

python3.9 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip pv-visualizer

Running the application

Run the application using ParaView: pvpython executable

export PVPYTHON=/Applications/ParaView-5.10.0.app/Contents/bin/pvpython # Using macOS install path as example
export PV_VENV=$PWD/.venv
export TRAME_APP=pv_visualizer.app

$PVPYTHON -m paraview.apps.trame --data ~

Or you can use command line arguments instead of environment variables

$PVPYTHON -m paraview.apps.trame \
    --venv $PWD/.venv \
    --trame-app pv_visualizer.app \
    --data ~