| 1 |
"""Contains 3ds examples.""" |
| 2 |
|
| 3 |
from __future__ import annotations |
| 4 |
|
| 5 |
from .downloads import download_file |
| 6 |
|
| 7 |
|
| 8 |
def download_iflamigm(): # pragma: no cover |
| 9 |
"""Download a iflamigm image. |
| 10 |
|
| 11 |
.. versionadded:: 0.44.0 |
| 12 |
|
| 13 |
Returns |
| 14 |
------- |
| 15 |
str |
| 16 |
Filename of the 3DS file. |
| 17 |
|
| 18 |
Examples |
| 19 |
-------- |
| 20 |
>>> import pyvista as pv |
| 21 |
>>> from pyvista import examples |
| 22 |
>>> download_3ds_file = examples.download_3ds.download_iflamigm() |
| 23 |
>>> pl = pv.Plotter() |
| 24 |
>>> pl.import_3ds(download_3ds_file) |
| 25 |
>>> pl.show() |
| 26 |
|
| 27 |
""" |
| 28 |
return download_file('iflamigm.3ds') |