Note
Go to the end to download the full example code
Working with VRML Files#
Import a VRML file directly into a PyVista plotting scene. For more details regarding the VRML format, see: https://en.wikipedia.org/wiki/VRML
import pyvista
from pyvista import examples
sextant_file = examples.vrml.download_sextant()
Set up the plotter and import VRML file.
pl = pyvista.Plotter()
pl.import_vrml(sextant_file)
pl.show()
![load vrml](https://d33wubrfki0l68.cloudfront.net/de515b5bf8e4cfb0a66b8381685f912a6944f0c3/53da4/_images/sphx_glr_load-vrml_001.png)
Total running time of the script: (0 minutes 0.923 seconds)