Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.08 KB

ModelRendering.rst

File metadata and controls

19 lines (15 loc) · 1.08 KB

A Procedure to Render 2D or 3D OpenSees Model and Mode Shapes

  1. The source code is developed by Anurag Upadhyay from University of Utah.
  2. The source code can be downloaded :download:`here </pyExamples/3DFrame_Rendering.py>`.
  3. Below is an example showing how to visualize an OpenSeesPy model.
  4. Import by writing in the model file, "from openseespy.postprocessing.Get_Rendering import * ". (see line 11 in below example)
  5. Plot the model by writing "plot_model()" after defining all the nodes and elements. (see line 115 in below example)
  6. Plot mode shapes by writing "plot_modeshape(mode_number)" after performing the eigen analysis. (see line 114 in below example)
  7. Update openseespy to the latest version to get this function.

/_static/Model_Plot3D.png

/_static/ModeShape_5_Plot3D.png

.. literalinclude:: /pyExamples/3DFrame_Rendering.py
   :linenos: