OpenSeesPy Model Visualization

Currently, Module opstool.vis provides two major roles, OpenSeesPy model (including responses) visualization and fiber section (including responses) visualization. Before visualization, class GetFEMdata is needed to get data from the current domain of OpenSeesPy. The class GetFEMdata automatically generates the result files in the specified output directory, which is read automatically by the visualization class OpsVisPlotly, OpsVisPyvista, and FiberSecVis.

Tip

The module opstool.vis provides two plotting engines to visualize the OpenSeesPy model, including plotly and pyvista. The visualization classes are OpsVisPlotly and OpsVisPyvista respectively. Plotly renders images based on the web, and pyvista is a python wrapper for the C++ visualization package VTK. In general, plotly renders a bit slower than pyvista, but provides powerful interactivity. The choice depends on your preference, but both have almost the same interface.

Here are some guidelines on model visualization and fiber section visualization.