pyvista.FacetReader

class FacetReader(filename)

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.read()

Read data in file.

Attributes

FacetReader.reader

Return the vtk Reader object.