File: vtk_data.rst

package info (click to toggle)
python-pyvista 0.46.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176,968 kB
  • sloc: python: 94,346; sh: 216; makefile: 70
file content (16 lines) | stat: -rw-r--r-- 633 bytes parent folder | download | duplicates (2)
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