pyvista.FacetReader#

class FacetReader(filename)[source]#

Facet Reader for .facet files.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_clown(load=False)
>>> filename.split("/")[-1]  # omit the path
'clown.facet'
>>> reader = pyvista.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot(color="red")
../../../_images/pyvista-FacetReader-1_00_00.png

Methods

FacetReader.hide_progress()

Hide the progress bar.

FacetReader.read()

Read data in file.

FacetReader.show_progress([msg])

Show a progress bar.

Attributes

FacetReader.reader

Return the vtk Reader object.