pyvista.AVSucdReader#

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

AVSucdReader for .inp files.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_cells_nd(load=False)
>>> filename.split("/")[-1]  # omit the path
'cellsnd.ascii.inp'
>>> reader = pyvista.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot(cpos="xy")
../../../_images/pyvista-AVSucdReader-1_00_00.png

Methods

AVSucdReader.hide_progress()

Hide the progress bar when loading the file.

AVSucdReader.read()

Read data in file.

AVSucdReader.show_progress([msg])

Show a progress bar when loading the file.

Attributes

AVSucdReader.path

Return or set the filename or directory of the reader.

AVSucdReader.reader

Return the vtk Reader object.