export_vrml#

Plotter.export_vrml(filename)#

Export the current rendering scene as a VRML file.

See vtk.VRMLExporter for limitations regarding the exporter.

Parameters
filenamestr

Filename to export the scene to.

Examples

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