polyxios.helper#

Functions

read_blocks(path)

Read every mesh a VTK index file names, one PolyData per sub-file.

read_multiblock(path)

Read a VTK index file and merge every mesh it names into one.

read_multiblock_vtp(path)

Load a vtkMultiBlockDataSet .vtp index file and merge its components.

read_polydata(filename)

Read a PolyData object from the given file, resolving fetches and VTP index files.

resolve_path(filename)

Resolve a filename to a local path, fetching it from the catalog if needed.

visualize_mesh(polydata, *[, lines, points])

Visualize a PolyData mesh using FURY.

Exceptions

Traversal

A sub-file reference that points outside its own index's directory.