pyvista_wasm.examples.download_damaged_helmet

pyvista_wasm.examples.download_damaged_helmet#

pyvista_wasm.examples.download_damaged_helmet() PolyData#

Download the damaged helmet glTF example.

Downloads DamagedHelmet.gltf from the KhronosGroup glTF-Sample-Models repository and returns it as a PolyData mesh, mirroring the pyvista.examples.gltf.download_damaged_helmet API.

Returns:

The damaged helmet mesh.

Return type:

pyvista_wasm.PolyData

See also

using-download-damaged-helmet

Interactive browser tutorial for glTF rendering.

Examples

>>> from pyvista_wasm import examples
>>> mesh = examples.download_damaged_helmet()
>>> type(mesh).__name__
'_GLTFMesh'