pyvista.PNMReader#

class PNMReader(*args, **kwargs)[ソース]#

.pnmファイル用のPNMReaderです.

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

メソッド

アトリビュート