ThreeDSReader#
- class ThreeDSReader(*args, **kwargs)[source]#
ThreeDSReader for .3ds files.
Note
This reads the file’s mesh geometry only. Any plot-specific items such as colors or material properties are not read.
Added in version 0.49.
- Parameters:
- path
str Path of the 3DS to read.
- path
See also
pyvista.Plotter.import_3dsImport a 3DS file into a plotter.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> from pathlib import Path
>>> filename = examples.download_flamingo(load=False)
>>> Path(filename).name
'iflamigm.3ds'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()