Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Selection): Add paraview remote rendering selection example
- Loading branch information
Showing
12 changed files
with
166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Running example require ParaView 5.10+ | ||
|
||
Setup a local venv with `trame` installed | ||
|
||
```python | ||
python3.9 -m venv .venv | ||
source .venv/bin/activate | ||
pip install -U pip | ||
pip install trame | ||
|
||
export PV_VENV=$PWD/.venv | ||
``` | ||
|
||
Assuming you are in the directory that contains the `pv_selection.py` file you should be able to execute the following command to start the example application: | ||
|
||
```bash | ||
# My local ParaView setup | ||
export PVPYTHON=/Applications/ParaView-5.11.0.app/Contents/bin/pvpython | ||
|
||
$PVPYTHON -m paraview.apps.trame --trame-app pv_selection | ||
``` | ||
|
||
## Runtime error | ||
|
||
You may have to patch the method listed on the Python exception by replacing the method content by just a `pass`. That method is supposed to extract all the build settings and fail to import a file that get deleted at install phase. For ParaView it is safe to skip that method content. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
examples/07_paraview/Picking/icons/pqPolygonSelectSurfaceCell.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
examples/07_paraview/Picking/icons/pqPolygonSelectSurfacePoint.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
examples/07_paraview/Picking/icons/pqSurfaceSelectionCellInteractive.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.