# paraview-visualizer
**Repository Path**: winston600/paraview-visualizer
## Basic Information
- **Project Name**: paraview-visualizer
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2022-03-29
- **Last Updated**: 2022-03-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: Kitware
## README
==========
Visualizer
==========
Web frontend to ParaView
|image_1| |image_2| |image_3|
.. |image_1| image:: https://raw.githubusercontent.com/Kitware/paraview-visualizer/master/documentation/gallery/pv_visualizer_00.jpg
:width: 30%
.. |image_2| image:: https://raw.githubusercontent.com/Kitware/paraview-visualizer/master/documentation/gallery/pv_visualizer_01.jpg
:width: 30%
.. |image_3| image:: https://raw.githubusercontent.com/Kitware/paraview-visualizer/master/documentation/gallery/pv_visualizer_02.jpg
:width: 30%
* Free software: BSD license
Development
------------
Build and install the Vue components
.. code-block:: console
cd vue-components
npm i
npm run build
cd -
Create a virtual environment to use with your `ParaView 5.10+ `_
.. code-block:: console
python3.9 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
pip install -e .
Run the application using `ParaView: pvpython `_ executable
.. code-block:: console
export PV_VENV=$PWD/.venv
/Applications/ParaView-5.10.0.app/Contents/bin/pvpython \ # Using macOS install path as example
pv_run.py \
--data ~ \
--server --dev
Run application
----------------
Create a virtual environment to use with your `ParaView 5.10.1+ `_
.. code-block:: console
python3.9 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
pip install pv-visualizer
Run the application using `ParaView: pvpython `_ executable with environment variables:
.. code-block:: console
export PV_VENV=$PWD/.venv
export TRAME_APP=pv_visualizer
pvpython -m paraview.apps.trame --data ~
Or with command line arguments:
.. code-block:: console
pvpython -m paraview.apps.trame \
--venv $PWD/.venv \
--trame-app pv_visualizer \
--data ~