pyvista.Plotter.import_3ds

pyvista.Plotter.import_3ds#

Plotter.import_3ds(filename) None[source]#

Import a 3DS file into the plotter.

Added in version 0.44.0.

Parameters:
filenamestr | Path

Path to the 3DS file.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> download_3ds_file = examples.download_3ds.download_iflamigm()
>>> pl = pv.Plotter()
>>> pl.import_3ds(download_3ds_file)
>>> pl.show()
../../../_images/pyvista-Plotter-import_3ds-1_00_00.png