Plotter.import_3ds

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:
filenamestr | Path

Path to the 3DS file.

See also

pyvista.ThreeDSReader

Read 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()
../../../_images/pyvista-Plotter-import_3ds-b009693feee38c55_00_00.png