Skip to main content

VTK Local Rendering using WASM

Project description

VTK Local Rendering using VTK/WASM to match server side rendering pipeline on the client side. The current code base is still at its infancy but we aim to make it the default implementation for local rendering using VTK/ParaView with trame.

License

This library is OpenSource and follow the Apache Software License

Installation

pip install trame-vtklocal

# We need a VTK that has its wasm counterpart
# This is the first version available with it
# For ParaView (not yet supported), VTK don't need to be installed
pip install "vtk==9.3.20240418.dev0" --extra-index-url https://wheels.vtk.org

Development

Build and install the Vue components

cd vue-components
npm i
npm run build
cd -

Install the library

pip install -e .

Running examples

pip install trame trame-vtklocal trame-vuetify trame-vtk

# We need a VTK that has its wasm counterpart
# This is the first version available with it
# For ParaView (not yet supported), VTK don't need to be installed
pip install "vtk==9.3.20240418.dev0" --extra-index-url https://wheels.vtk.org

# regular trame app
python ./examples/vtk/cone.py

Some example are meant to test and validate WASM rendering. Some will default for remote rendering but if you want to force them to use WASM just run export USE_WASM=1 before executing them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trame-vtklocal-0.2.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

trame_vtklocal-0.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file trame-vtklocal-0.2.0.tar.gz.

File metadata

  • Download URL: trame-vtklocal-0.2.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/43.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.2.1 tqdm/4.66.4 importlib-metadata/7.1.0 keyring/25.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.14

File hashes

Hashes for trame-vtklocal-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8395f288b313c44079801e883550aa65431fc3a12b09cdc63846c6746bb01fdc
MD5 068afbbe91af2aa21b09ee7778aa8e38
BLAKE2b-256 16b0fabcef58b093f0ad6a755a6433a33bb7a6ab3500b8c33a66f187d4b32e8e

See more details on using hashes here.

Provenance

File details

Details for the file trame_vtklocal-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: trame_vtklocal-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/43.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.2.1 tqdm/4.66.4 importlib-metadata/7.1.0 keyring/25.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.14

File hashes

Hashes for trame_vtklocal-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a957110d8201fecdf359a74a0024dd3daf916faa5f22a3cc10b9daac0fd1ab7e
MD5 9078e45ea63de0fbc1592e5f74a24eaf
BLAKE2b-256 a66e2be9289a0c3598b862e6a4079b9096c1c1163b5c159ecd7d46c4a37f11a4

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page