Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
sees
Highly efficient and portable finite element visualization framework
sees
is a finite element rendering library that leverages modern
web technologies to produce sharable, efficient, and detailed renderings.
sees
is a finite element rendering library that leverages modern
web technologies to produce sharable, efficient, and detailed renderings.
Unlike most tools that only provide temporary visualization, sees
generates
persistent 3D models that can be stored in files, shared with colleagues, and
viewed with any standard 3D model viewer. This means anyone can interact with
the renderings without needing to install specialized software or even Python.
Simply open the 3D object with your computerās 3D viewer (e.g., 3D Viewer on
Windows) or load it into a free online viewer in like gltf-viewer.
Documentation is currently under development.
.glb
. Generated 3D models can be loaded directly into programs like PowerPoint and animated.y
or z
as the
vertical coordinate.To install sees
run:
pip install sees
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
See also
The sees
packages was used to generate figures for the following publications:
FAQs
Finite element visualization with GPU support
We found that sees demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.