Important
Version |opspy_version| is released!
OpenSeesPy is on :doc:`src/pypi`.
OpenSeesPy is official in :doc:`src/designsafe`.
OpenSeesPy can now run on :doc:`src/wsl`.
The latest version of this document can be found at https://openseespydoc.readthedocs.io/en/latest/.
Note
Please send any questions to github issues.
Questions about the Mac version please ask Stevan Gavrilovic.
New :doc:`src/plotcmds` are developed by Anurag Upadhyay from University of Utah.
You are very welcome to contribute to OpenSeesPy with new command documents and examples by sending pull requests through github pulls.
`OpenSeesPy`_ is a `Python 3`_ interpreter of `OpenSees`_. A minimum script is shown below:
# import OpenSeesPy
import openseespy.opensees as ops
# wipe model
ops.wipe()
# create model
ops.model('basic', '-ndm', 2, '-ndf', 3)
Most of `OpenSeesPy`_ commands have the same syntax and arguments as the OpenSees Tcl commands. The conversion from Tcl to Python is easy and straightforward as demonstrated with commands below.
Minjie Zhu <zhum@oregonstate.edu>
.. toctree:: :maxdepth: 1 :numbered: :caption: Contents src/installation src/compile src/changelog src/modelcmds src/analysiscmds src/outputcmds src/utilitycmds src/fsicmds src/senscmds src/reliabilitycmds src/parallelcmds src/plotcmds src/examples