Skip to content

Commit

Permalink
Animation Function (#26)
Browse files Browse the repository at this point in the history
* Animation Function

Added animation function,, changed some tabs in get rendering

* Tests of Animation and Create/ReadOBD

* Fixed Tabs, Added Node tags

* Minor Tab fix
  • Loading branch information
cslotboom committed Jun 28, 2020
1 parent b6e5670 commit 533ae11
Show file tree
Hide file tree
Showing 5 changed files with 828 additions and 14 deletions.
10 changes: 5 additions & 5 deletions openseespy-pip/openseespy/postprocessing/Get_Rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
from math import asin, sqrt

#### CHANGE THESE BEFORE COMMITTING, call them before calling openseespy here ####
import internal_database_functions as idbf
import internal_plotting_functions as ipltf
import openseespy.postprocessing.internal_database_functions as idbf
import openseespy.postprocessing.internal_plotting_functions as ipltf

from openseespy.opensees import *

Expand Down Expand Up @@ -107,7 +107,7 @@ def createODB(*argv):

def readODB(*argv):

"""
"""
This function reads saved data from a directory.
Expected input arguments : modelName, loadCase, Selective output quantities in future
Created folders: modelOutputFolder > loadCaseOutputFolder
Expand All @@ -119,7 +119,7 @@ def readODB(*argv):
First record all the output data and then read it instantly for plotting.
"""

ModelName = argv[0]
ODBdir = ModelName+"_ODB" # ODB Dir name

Expand Down Expand Up @@ -161,7 +161,7 @@ def readODB(*argv):
### All the plotting related definitions start here.

ele_style = {'color':'black', 'linewidth':1, 'linestyle':'-'} # elements
node_style = {'color':'black', 'marker':'o', 'facecolor':'black'}
node_style = {'color':'black', 'marker':'o', 'facecolor':'black','linewidth':0.}
node_text_style = {'fontsize':6, 'fontweight':'regular', 'color':'green'}
ele_text_style = {'fontsize':6, 'fontweight':'bold', 'color':'darkred'}

Expand Down
Loading

0 comments on commit 533ae11

Please sign in to comment.