Plotter.import_3ds#
- Plotter.import_3ds(filename: str | Path) None[source]#
Import a 3DS file into the plotter.
Added in version 0.44.0.
- Parameters:
- filename
str|Path Path to the 3DS file.
- filename
See also
pyvista.ThreeDSReaderRead 3DS file as a mesh.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> file_3ds = examples.download_flamingo(load=False)
>>> pl = pv.Plotter()
>>> pl.import_3ds(file_3ds)
>>> pl.show()