pyvista_wasm.examples.download_cad_model

pyvista_wasm.examples.download_cad_model#

pyvista_wasm.examples.download_cad_model() PolyData#

Download the CAD model dataset.

Downloads 42400-IDGH.stl from the PyVista vtk-data repository and returns it as a PolyData mesh, mirroring the pyvista.examples.download_cad_model API.

Returns:

The CAD model mesh.

Return type:

pyvista_wasm.PolyData

Examples

>>> from pyvista_wasm import examples
>>> mesh = examples.download_cad_model()
>>> type(mesh).__name__
'_STLMesh'