Skip to content

WIP: Speed up `import vtk`

vtk/init.py no longer imports everything in VTK. This enables developers to import specific modules of interest. There's a module names all that can be imported to import everything.

To convert existing Python scripts without any major changes, one can use the following snippet:

    import vtk import all as vtk

Fixes #16780 (closed).

Merge request reports