Skip to main content

Finite element preprocessing with GLTF

Project description

sees

SEES Logo

A modern OpenSees renderer


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

  • Extruded deformed shape

  • 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 generate 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, just 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

See also

For OpenSees rendering

Other

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.11.tar.gz (57.9 kB view details)

Uploaded Source

Built Distribution

sees-0.0.11-py3-none-any.whl (62.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sees-0.0.11.tar.gz
  • Upload date:
  • Size: 57.9 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.11.tar.gz
Algorithm Hash digest
SHA256 830419516cd16154b60bc15d5bf638833743a4fb4a3bfa2ee2cc2a437d592f01
MD5 f6a4321a77c522bd1fa690bc55e31098
BLAKE2b-256 59dbd883f210899cff41c78bd8682b950411aed8583f1ee913e5a72d4483f0ba

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: sees-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 62.1 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2d3de81c2953eae35e3fc9525709e8c972448766c0132f4deee3e6fb1b0ee3
MD5 a797d411b4f962f803a605f7ce1a9b9a
BLAKE2b-256 cba4c97d7c2bf1f22704dc0ea0cd6d0f421a8a54cbdd130528e510b77136f356

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