pyvista.PLYReader#

class PLYReader(filename)[source]#

PLY Reader for reading .ply files.

Examples

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

Methods

PLYReader.hide_progress()

Hide the progress bar.

PLYReader.read()

Read data in file.

PLYReader.show_progress([msg])

Show a progress bar.

Attributes

PLYReader.reader

Return the vtk Reader object.