pyvista.TecplotReader#

class TecplotReader(*args, **kwargs)[source]#

Tecplot Reader for ascii .dat files.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_tecplot_ascii(load=False)
>>> reader = pyvista.get_reader(filename)
>>> mesh = reader.read()
>>> mesh[0].plot()
../../../_images/pyvista-TecplotReader-1_00_00.png

Methods

TecplotReader.hide_progress()

Hide the progress bar when loading the file.

TecplotReader.read()

Read data in file.

TecplotReader.show_progress([msg])

Show a progress bar when loading the file.

Attributes

TecplotReader.path

Return or set the filename or directory of the reader.

TecplotReader.reader

Return the vtk Reader object.