Plotter.export_vrml#
- Plotter.export_vrml(filename: str | Path) None[source]#
Export the current rendering scene as a VRML file.
See vtkVRMLExporter for limitations regarding the exporter.
- Parameters:
- filename
str|Path Filename to export the scene to.
- filename
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(examples.load_hexbeam())
>>> pl.export_vrml('sample')