BasicTools.IO.VtkReader module

Vtu and Vtk file reader

BasicTools.IO.VtkReader.CheckIntegrity()[source]
class BasicTools.IO.VtkReader.VtkReader(fileName=None)[source]

Bases: ReaderBase

Vtk Reader class

Read(fileName: str | None = None) UnstructuredMesh[source]

Function that performs the reading mesh using vtk, the reader is selected based on the file_extension. Current files supported are vtk, stl

Parameters:

fileName (str, optional) – name of the file to be read, by default None

Returns:

output unstructured mesh object containing reading result

Return type:

UnstructuredMesh