pyvista.Plotter.export_vrml

pyvista.Plotter.export_vrml#

Plotter.export_vrml(filename: str | Path) None[ソース]#

現在のレンダリングシーンをVRMLファイルとしてエクスポートします.

See vtk.VRMLExporter for limitations regarding the exporter.

パラメータ:
filenamestr | Path

シーンのエクスポート先となるファイル名.

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