Muscat.Bridges.PyVistaBridge module

CheckIntegrity(GUI: bool = False)[source]
MeshToPyVista(mesh, TagsAsFields=False)[source]
PlotMesh(mesh, TagsAsFields: bool = False, **kargs)[source]

Plot a mesh using PyVista

Parameters:
  • mesh (Mesh, vtk mehs or a pyvista mesh) – the mesh to be plotted

  • TagsAsFields (bool, optional) – if True the tags of the mesh (in the case of a Muscat Mesh) are converted to fields, by default False

PyVistaToMesh(pvmesh, FieldsAsTags=False)[source]