A package for visualization of OpenSees models.
Project description
vfo (Visualization For OpenSees)
vfo (Visualization for OpenSees) is a Python package to make your life better by helping you visualize your OpenSees models, Python or Tcl. It utilizes Matplotlib 3.0 library to plot 2D and 3D models in a dedicated interactive window. You can use click-and-hold to change the view angle and zoom the plot. The model image can be saved with the desired orientation directly from the interactive plot window. If you did not install matplotlib using Anaconda, you will have to install PyQt or PySide to enable an interactive window (Matplotlib Dependencies).
Animation: To save the animation movie as .mp4 file, FFmpeg codecs are required.
When using Spyder IDE and Jupyter notebook, the default setting is to produce a static, inline plot that is not interactive. To change that, write the command %matplotlib qt in the Ipython console and then execute the model plotting commands. This will produce an interactive plot in a dedicated window.
The following elements are supported:
- 2D and 3D Beam-Column Elements
- 2D and 3D Quad Elements
- 2D and 3D Tri Elements
- 8 Node Brick Elements
- Tetrahedron Elements
Install this package with,
pip install vfo
Upgrade the package with,
python -m pip install --upgrade vfo
To use this package, import the commands from vfo. For example,
import vfo.vfo as vfo
Now, use all the vfo visualization commands. For example,
vfo.plot_model()
USER MANUAL
Documentation for vfo can be found here: (vfo-docs).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vfo-0.0.18.tar.gz
.
File metadata
- Download URL: vfo-0.0.18.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d90e387e5c0e91de455c8352d1b3cda7abcf363f8bae12294a155424e7692cc0 |
|
MD5 | 1755d8c8a0d96af6ee8c9419b92f8afa |
|
BLAKE2b-256 | b0c284f640c87a006b8735e251b07b18e281c644de029c608a3f1d389d36458b |
File details
Details for the file vfo-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: vfo-0.0.18-py3-none-any.whl
- Upload date:
- Size: 44.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086e95e4d86dd678a5e6034a97082ac4cfb55e163e47c30acf8a0734d1f0e3f8 |
|
MD5 | 12c35f6590d2d16011632dc7da43d298 |
|
BLAKE2b-256 | 3003554b5fa8a707bce89348df9bc090a9a663e7ddc00110f20fbb73784ef1a3 |