pyvista.XMLUnstructuredGridReader#

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

.vtuファイル用のXML UnstructuredGridリーダーです.

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_notch_displacement(load=False)
>>> filename.split("/")[-1]  # omit the path
'notch_disp.vtu'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot(
...     scalars="Nodal Displacement",
...     component=0,
...     cpos='xy',
...     show_scalar_bar=False,
... )
../../../_images/pyvista-XMLUnstructuredGridReader-1_00_00.png

メソッド

アトリビュート