def test_download_dragon(): data = examples.download_dragon() assert data.n_cells
p = pv.Plotter() p.add_mesh(mesh) p.show_grid() p.show(auto_close=False) viewup = [0.5, 0.5, 1] path = p.generate_orbital_path(factor=2.0, shift=10000, viewup=viewup, n_points=36) p.open_gif("orbit.gif") p.orbit_on_path(path, write_frames=True, viewup=[0, 0, 1]) p.close() ############################################################################### mesh = examples.download_dragon() viewup = [0, 1, 0] ############################################################################### p = pv.Plotter() p.add_mesh(mesh) p.show(auto_close=False) path = p.generate_orbital_path(factor=2.0, n_points=36, viewup=viewup, shift=0.2) p.open_gif("orbit.gif") p.orbit_on_path(path, write_frames=True, viewup=viewup) p.close()