Skip to content

Instantly share code, notes, and snippets.

@reox
Created May 3, 2022 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reox/b7d1b1e3a5232a3ac8447818442f8ea7 to your computer and use it in GitHub Desktop.
Save reox/b7d1b1e3a5232a3ac8447818442f8ea7 to your computer and use it in GitHub Desktop.
Paraview: Programmable Filter to display the CellType of unstructured grids
# This programmable filter can be used on an unstructured grid to display the
# numerical value of the cell type (i.e., tet, hex, wedge, ...)
output.CellData.append(inputs[0].CellTypes, 'Cell_type')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment