Skip to main content

A package for visualization of OpenSees models.

Project description


vfo (Visualization For OpenSees)


vfo


PyPI version fury.io Downloads Downloads Downloads


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

vfo


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vfo-0.0.19.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

vfo-0.0.19-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

Details for the file vfo-0.0.19.tar.gz.

File metadata

  • Download URL: vfo-0.0.19.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for vfo-0.0.19.tar.gz
Algorithm Hash digest
SHA256 2635baee87a0010e2cfec0fcb181f3685efa28d3ec6f1448748ac7ec6bb400ba
MD5 30ee34d66fdd73288f4361780c6da293
BLAKE2b-256 83030f168436ffd150e751b3586a1eccec96fa4891ec2b1b5b94c7f20cb4f033

See more details on using hashes here.

File details

Details for the file vfo-0.0.19-py3-none-any.whl.

File metadata

  • Download URL: vfo-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 42.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for vfo-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 1e1bf29aab46420d114e462fbdf8f62bdfd255bf84b58314277b095ecce7e5d2
MD5 2fdea08fa7882943260150054c12d76f
BLAKE2b-256 1dc493455ea9e7629ca74b0cc0065d50716391243ec68b9cb831f5876c02afd0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page