plot_eigen_animation¶
- opstool.vis.pyvista.plot_eigen_animation(mode_tag, odb_tag=None, n_cycle=5, framerate=3, savefig='EigenAnimation.gif', off_screen=True, cpos='iso', solver='-genBandArpack', **kargs)[source]¶
Modal animation visualization.
Parameters¶
- mode_tag: int
The mode tag to display.
- odb_tag: Union[int, str], default: None
Tag of output databases (ODB) to be visualized. If None, data will be saved automatically.
- n_cycle: int, default: five
Number of cycles for the display.
- framerate: int, default: three
Framerate for the display, i.e., the number of frames per second.
- savefig: str, default: EigenAnimation.gif
Path to save the animation. The suffix can be
.gifor.mp4.- off_screen: bool, default: True
Whether to display the plotting window. If True, the plotting window will not be displayed.
- cpos: str, default: iso
Model display perspective, optional: “iso”, “xy”, “yx”, “xz”, “zx”, “yz”, “zy”. If 3d, defaults to “iso”. If 2d, defaults to “xy”.
- solverstr, optional,
OpenSees’ eigenvalue analysis solver, by default “-genBandArpack”.
- kargs: dict, optional parameters,
see
plot_eigen.
Returns¶
Plotting object of PyVista to display vtk meshes or numpy arrays. See pyvista.Plotter.
You can use Plotter.show. to display the plotting window.
You can also use Plotter.export_html. to export this plotter as an interactive scene to an HTML file.