pyvista.PLYReader

Contents

pyvista.PLYReader#

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

PLY Reader for reading .ply files.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_lobster(load=False)
>>> filename.split("/")[-1]  # omit the path
'lobster.ply'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-PLYReader-1_00_00.png

Methods

Attributes