PLYReader#
- class PLYReader(*args, **kwargs)[source]#
PLY Reader for reading .ply files.
Wraps vtkPLYReader.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> from pathlib import Path
>>> filename = examples.download_lobster(load=False)
>>> Path(filename).name
'lobster.ply'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
Inherited Attributes#
Return mapping from regex pattern matching associated with this class. |
|
Return the file extensions associated with this class. |
|
Return or set the filename or directory of the reader. |
|
Return the vtk Reader object. |
Inherited Methods#
Hide the progress bar when loading the file. |
|
Read data in file. |
|
Show a progress bar when loading the file. |