Feature request: expose plate stress/strain field (result mesh) via the API for 3D visualization #1202
Unanswered
linkwisesrl-coder
asked this question in
Help Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Would it be possible to expose the per-node (or per-element) stress and plastic
strain field of plates through the API, i.e. the result mesh that IDEA StatiCa
already uses internally to draw the stress contour plots in the UI and in the report?
Context / what is already available
Using the Connection REST API (Python client
ideastatica_connection_api), I canalready retrieve:
get_raw_json_results(equivalent toGetCheckResultsJSON):plates[id].maxStress,plates[id].maxStrain,boltsAnchor[...]forces, welds, etc. — see discussion Expansion of result access through IDEA Statica API #243.presentation.get_data_scene3_d→DrawData { vertices, normals, groups }, where each group is a set of triangles colored by part(steel / concrete / bolts), not by result.
What is missing
There is no way to obtain the stress/strain field mapped to the mesh:
plates[id].formandplates[id].itemsare empty /null.platesDeformationexposes onlymaxDeformation(+ node ids), no stress array.get_data_scene3_donly carries geometry + part colors, no nodal result values.So only the single maximum value per plate is available, not the field needed to
render a stress contour.
Proposed solution (any of these would help)
get_data_scene3_dtoreturn the mesh colored by equivalent stress σ_Ed / plastic strain ε_Pl
(the same data the report renders).
mesh (node coordinates + connectivity + value per node), so it can be rendered
externally (e.g. pyvista).
Use case
Programmatic / automated stress visualization and custom 3D rendering (parametric
studies, batch reporting, integration into our own tools) without opening the IDEA
StatiCa UI.
Environment
ideastatica_connection_api25.1.x.Thanks!
All reactions