pyvista.Plotter.export_vrml

pyvista.Plotter.export_vrml#

Plotter.export_vrml(filename) None[source]#

Export the current rendering scene as a VRML file.

See vtk.VRMLExporter for limitations regarding the exporter.

Parameters:
filenamestr | Path

Filename to export the scene to.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(examples.load_hexbeam())
>>> pl.export_vrml('sample')