File: vtk_data.rst

package info (click to toggle)
python-pyvista 0.44.1-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 159,804 kB
  • sloc: python: 72,164; sh: 118; makefile: 68
file content (16 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Using Local VTK-Data
====================

Normally, the PyVista examples will be downloaded from the
`pyvista/vtk-data repository <https://github.com/pyvista/vtk-data>`_.
Alternatively, the entire pyvista/vtk-data repository can be supplied as a local folder.
If the ``PYVISTA_VTK_DATA`` environment variable is set to the folder path, the examples will
instead be copied from the local folder.

This example uses a cloned vtk-data repository:

.. code-block:: bash

    git clone https://github.com/pyvista/vtk-data.git path/to/repo/vtk-data  # change the path
    export PYVISTA_VTK_DATA=path/to/repo/vtk-data  # change the path