pyvista.Plotter.import_vrml#

Plotter.import_vrml(filename)[source]#

Import a VRML file into the plotter.

Parameters:
filenamestr | Path

Path to the VRML file.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> sextant_file = (
...     examples.vrml.download_sextant()
... )  
>>> pl = pv.Plotter()  
>>> pl.import_vrml(sextant_file)  
>>> pl.show()  

See Working with VRML Files for a full example using this method.