S3D.results
The S3D.results namespace provides post-processing functions to read and interpret analysis results produced by S3D.model.solve.
S3D.results.get#
Used to get the analysis results.
| Key | Type | Accepts | Description | Default |
|---|---|---|---|---|
format | string | json, csv, summary, s3d | Export results in particular file format. | json |
lc_filter | [string] | envelope, load_case, load_group, load_combo, envelope_abs_max | Only return specific data in the response. You can also provide names you have applied to load combination. E.g. LC1. | All cases |
result_filter | [string] | reactions, member_displacements, member_forces, member_stresses, member_lengths, member_stations, member_discontinuities, member_minimums, member_maximums, member_peak_results, plate_displacements, plate_forces, plate_stresses, plate_element_forces, plate_element_stresses, plate_minimums, plate_maximums, plate_peak_results, buckling, dynamic_frequency | Only return specific data in the response. | All results |
include_nodal_displacements | boolean | true or false | Include nodal_displacements in the results set for each load combination | false |
The analysis results will return an object of all load combination results in the following format.
Analysis results object reference#
Every key in the response ("1", "2", ...) is a load combination id โ not necessarily
sequential, and not necessarily starting at 1 (IDs can skip, e.g. 1, 2, 8, 9, 10..., matching
the load_combinations/load_cases/load_groups ids defined on the model). Each load
combination entry has this shape:
| Key | Type | Description |
|---|---|---|
name | string | Display name โ for envelope type entries this is the only way to tell Envelope Min / Envelope Max / Envelope Absolute Max apart (see type below). |
type | string | user_defined (a combination from load_combinations), load_case (a single load case), load_group (a single load group, e.g. self-weight SW1), or envelope (min/max/abs-max across all combinations). |
reactions | object | Support reactions โ see below. |
member_displacements / member_forces / member_stresses | object | Raw per-station results along every member โ see below. |
member_lengths / member_stations / member_discontinuities | object | Supporting per-member data โ see below. |
member_minimums / member_maximums / member_peak_results | object | Min/max summaries derived from the raw per-station data โ see below. |
plate_displacements / plate_forces / plate_stresses | object | Raw per corner-node results for every plate โ see below. |
plate_element_forces / plate_element_stresses | object | Same as above, but per meshed element instead of per corner node. Empty ({}) unless the plate has been meshed via S3D.model.mesh. |
plate_minimums / plate_maximums / plate_peak_results | object | Min/max summaries derived from the raw plate data โ see below. |
buckling | string or object | "disabled" unless S3D.model.solve was run with analysis_type: "buckling". |
tip
Dynamic/response-spectrum results (modes, frequencies, mass participation) are not part of
this per-load-combination object โ call the dedicated S3D.results.getDynamicFreq accessor instead.
All numeric values follow the units set on the model (s3d_model.settings.units) โ forces/moments
in the model's force/moment unit, displacements in its translation unit, stresses in its stress
unit. Results never carry their own unit metadata; read S3D.model.get().settings.units (API) or
S3D.units.getSystemName() (S3D App) to know what a number means.
reactions#
Keyed by supported node id (nodes with no support are simply absent โ this is not a full list of every node in the model):
Member results โ three tiers of detail#
1. Raw per-station (member_displacements, member_forces, member_stresses) โ keyed by
result key โ member id โ station position (a string, the member's length as a 0โ100% position
rounded to 1 decimal place) โ value. The number of stations matches settings.evaluation_points
on the model (25 by default):
| Object | Keys |
|---|---|
member_displacements | displacement_x/y/z, displacement_sum, displacement_local_x/y/z, displacement_local_sum, rotation_x/y/z, rotation_local_x/y/z |
member_forces | axial_force, shear_force_y, shear_force_z, bending_moment_y, bending_moment_z, torsion |
member_stresses | axial_stress, top_bending_stress_z/y, btm_bending_stress_z/y, shear_stress_z/y, shear_stress_total, torsion_stress, max_combined_normal_stress, min_combined_normal_stress |
2. Per-member min/max (member_minimums, member_maximums) โ keyed by result key โ member id
โ a single scalar (the min/max of that quantity found anywhere along that one member). Includes a
few extra serviceability-oriented keys not present in the raw per-station objects:
displacement_relative, displacement_relative_local_x/y/z, displacement_relative_2,
displacement_relative_local_x/y/z_2, displacement_span_ratio, displacement_span_ratio_2
(relative-to-chord deflection and span/deflection ratio, e.g. for span/250 checks).
3. Global min/max (member_peak_results) โ keyed by result key โ { "min": ..., "max": ... }
across every member in the load combination (no member id or station โ just the two extreme
values):
Supporting per-member data:
| Key | Shape | Description |
|---|---|---|
member_lengths | member id โ float | The member's length. |
member_stations | member id โ [float] | The station positions (0โ100%) the raw per-station results are evaluated at โ same count as settings.evaluation_points. |
member_discontinuities | member id โ integer | Count of internal discontinuity points detected along the member (e.g. from point loads applied mid-span) โ not itself a results array. |
Plate results โ the same three tiers#
1. Raw per corner-node (plate_displacements, plate_forces, plate_stresses) โ keyed by
result key โ plate id โ an array of values, one per corner node in the plate's nodes order (3
entries for a triangular plate, 4 for a quad):
| Object | Keys |
|---|---|
plate_displacements | displacement_x/y/z, displacement_sum |
plate_forces | force_x/y/xy/xz/yz, moment_x/y/xy |
plate_stresses | stress_xx/yy/xy and stress_major_principal/stress_minor_principal/stress_von_mises/stress_max_shear โ each suffixed _top and _btm |
plate_element_forces / plate_element_stresses mirror plate_forces / plate_stresses but are
keyed per meshed element (from S3D.model.mesh) instead of per corner node โ empty ({}) on an
unmeshed model.
2. Per-plate min/max (plate_minimums, plate_maximums) โ keyed by result key โ plate id โ a
single scalar:
3. Global min/max (plate_peak_results) โ keyed by result key โ { "min": ..., "max": ... }
across every plate:
S3D.results.set#
Sets the results data for further processing.
tip
Analysis results from any source can be used. Simply provide the data in the same format that is returned from S3D.results.get.md.
| Key | Type | Description |
|---|---|---|
analysis_results | object | Results of a structural analysis (from S3D.results.get) |
The response will confirm whether or not the model was successfully set.
S3D.results.setS3D.results.fetchMemberResult#
Fetches results data for a particular member.
| Key | Type | Accepts | Description | Default |
|---|---|---|---|---|
member_id | integer | An integer | Fetch the results of the member with this ID. A value of null will return all. | |
LC | [integer] | An array of integers | Load combinations to include. An empty array will return all load combinations. | |
res_key | string | bmd_z, bmd_y, axial, sfd_y, sfd_z, top_bending_stress_z, top_bending_stress_y,btm_bending_stress_z, btm_bending_stress_y, shear_stress_z, shear_stress_y, displacement, displacement_x, displacement_y, displacement_z | The type of results to be returned. | |
type | string | array, x,y, image | Format of results.
|
- Array
- X-Y
- Image
If "type": "image" is provided, then an image will be returned in base64 format.

S3D.results.getAnalysisReport#
Generates a structural analysis report and returns a download link to retrieve the report.
important
S3D.model.set and S3D.model.solve must be executed earlier in the session for the Analysis Report to be generated.
Variables#
| Key | Type | Accepts | Description | Default |
|---|---|---|---|---|
job_name | string | Any string. | The name of your project. This will be used as the analysis report name. | |
file_type | string | pdf, txt | The report format to be returned. | |
load_combinations | [integer] | An array of integers or strings | An array of load combination IDs or load combination names to report on. Users can also use shortcuts like load_combination = "all" or load_combination = "envelope" to only filter these. | |
sections | object | Key-value pairs | The different type of analysis results to include in your report (see below). | |
timezone | number | Any number | UTC offset of the timezone used for the time on the title page. For example Sydney, Australia would be 10 as it is GMT+10. |
The function will return links to download and preview your analysis report in the format specified by the file_type property.
S3D.results.getDynamicFreq#
Returns dynamic frequency analysis results, including modes, frequencies, periods, modal masses, and mass particpation percentages.
Note: A dynamic frequency or seismic analysis needs to be run using S3D.model.solve, before calling this function.
| Key | Type | Accepts | Description | Default |
|---|---|---|---|---|
result_filter | [string] | modes, nodal_masses_from_static_loads, nodal_masses_all, effective_modal_mass, total_effective_modal_mass, total_structure_mass, mass_participation_percentage | Only return specific data in the response. | All results |
Unfiltered results
Filtered results