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()
https://d33wubrfki0l68.cloudfront.net/32035eaea08bd14de729e5888d8147126aec6a26/e30cb/_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)
https://d33wubrfki0l68.cloudfront.net/897beddc3acbbe9607949a4d792ee7033f643d66/b1482/_images/pyvista-examples-downloads-download_tri_quadratic_hexahedron-1_01_00.png