Skip to main content

Finite element visualization with GPU support

Project description

sees

SEES Logo

Finite element visualization framework


Latest PyPI version PyPI Downloads

sees is a finite element rendering library that leverages modern web technologies to produce sharable, efficient, and beautiful renderings.



Documentation is currently under development.

Features

  • Render frames with extruded cross sections

  • Detailed section rendering

  • A wide selection of rendering backends and output file types, including optimized 3D web formats like .glb.

  • Correctly render models that treat both y or z as the vertical coordinate.


Command Line Interface

To create a rendering, execute the following command from the anaconda prompt (after activating the appropriate environment):

python -m sees model.json -o model.html

where model.json is a JSON file generated from executing the following OpenSees command:

print -JSON model.json

If you omit the -o <file.html> portion, it will plot immediately in a new window. You can also use a .png extension to save a static image file, as opposed to the interactive html.

Note Printing depends on the JSON output of a model. Several materials and elements in the OpenSeesPy and upstream OpenSees implementations do not correctly print to JSON. For the most reliable results, use the opensees package.

By default, the rendering treats the $y$ coordinate as vertical. In order to manually control this behavior, pass the option --vert 3 to render model $z$ vertically, or --vert 2 to render model $y$ vertically.

If the opensees package is installed, you can directly render a Tcl script without first printing to JSON, by just passing a Tcl script instead of the JSON file:

python -m sees model.tcl -o model.html

To plot an elevation (elev) plan (plan) or section (sect) view, run:

python -m sees model.json --view elev

and add -o <file.extension> as appropriate.

To see the help page run

python -m sees --help

Related Links

See also

The sees packages was used to generate figures for the following publications:

Support

PEER Logo Caltrans Logo STAIRlab Logo

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

sees-0.0.15.tar.gz (58.7 kB view details)

Uploaded Source

Built Distribution

sees-0.0.15-py3-none-any.whl (63.2 kB view details)

Uploaded Python 3

File details

Details for the file sees-0.0.15.tar.gz.

File metadata

  • Download URL: sees-0.0.15.tar.gz
  • Upload date:
  • Size: 58.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sees-0.0.15.tar.gz
Algorithm Hash digest
SHA256 4e666bde94ad88ba6136142773ded6dbdce65994c9b1da76d9af3c08b525d7a2
MD5 28e60debfb2382fc66886b1b17ea6dae
BLAKE2b-256 33c2e573bda79a2c6c158653f1cfaffabc6248200a64eb97404872184fe2f2b1

See more details on using hashes here.

Provenance

File details

Details for the file sees-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: sees-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 63.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sees-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 54d378ffc238befa50e631692f01f0eed9f294a426851ede9cd051f3d255c707
MD5 c87da0dd1a872dffb8dd834538deaa6f
BLAKE2b-256 b13cb6943e8118f08e4e0db5a3c9ae287867e697a51b108c22bbe30af4c6c7a6

See more details on using hashes here.

Provenance

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