Plotter.import_vrml#
- Plotter.import_vrml(filename: str | Path) None[source]#
Import a VRML file into the plotter.
- Parameters:
- filename
str|Path Path to the VRML file.
- filename
See also
pyvista.VRMLReaderRead VRML file as a mesh.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> sextant_file = examples.download_sextant(load=False)
>>> pl = pv.Plotter()
>>> pl.import_vrml(sextant_file)
>>> pl.show()
See Working with VRML Files for a full example using this method.