ThreeDSReader

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:
pathstr

Path of the 3DS to read.

See also

pyvista.Plotter.import_3ds

Import a 3DS file into a plotter.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> from pathlib import Path
>>> filename = examples.download_3ds.download_iflamigm()
>>> Path(filename).name
'iflamigm.3ds'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-ThreeDSReader-b9d4460da7a7417d_00_01.png

Methods#

Attributes#