pyvista.examples.downloads.download_tri_quadratic_hexahedron#

download_tri_quadratic_hexahedron(load=True)[source]#

Download tri quadratic hexahedron dataset.

Parameters:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
pyvista.UnstructuredGrid | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> dataset = examples.download_tri_quadratic_hexahedron()
>>> dataset.plot()
../../../_images/pyvista-examples-downloads-download_tri_quadratic_hexahedron-1_00_00.png

Show non-linear subdivision.

>>> surf = dataset.extract_surface(nonlinear_subdivision=5)
>>> surf.plot(smooth_shading=True)
../../../_images/pyvista-examples-downloads-download_tri_quadratic_hexahedron-1_01_00.png

See also

Tri Quadratic Hexahedron Dataset

See this dataset in the Dataset Gallery for more info.