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, ... )
メソッド
アトリビュート