pyvista.FacetReader

Contents

pyvista.FacetReader#

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

Facet Reader for .facet files.

Examples

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

Methods

Attributes