pyvista.examples.vrml.download_grasshopper

pyvista.examples.vrml.download_grasshopper#

download_grasshopper()[source]#

Download the grasshoper example.

Added in version 0.45.

Returns:
str

Filename of the VRML file.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> vrml_file = examples.vrml.download_grasshopper()
>>> pl = pv.Plotter()
>>> pl.import_vrml(vrml_file)
>>> pl.camera_position = pv.CameraPosition(
...     position=(25.0, 32.0, 44.0),
...     focal_point=(0.0, 0.931, -6.68),
...     viewup=(-0.20, 0.90, -0.44),
... )
>>> pl.show()
../../../_images/pyvista-examples-vrml-download_grasshopper-eb03c6e5d0e1effd_00_00.png