Working with VRML Files#

Import a VRML file directly into a PyVista plotting scene. For more details regarding the VRML format, see:

from __future__ import annotations

import pyvista
from pyvista import examples

sextant_file = examples.vrml.download_sextant()

Set up the plotter and import VRML file. Use pyvista.Plotter.import_vrml() to import file.

pl = pyvista.Plotter()
load vrml

Total running time of the script: (0 minutes 0.664 seconds)

Gallery generated by Sphinx-Gallery