How mhaseebmohal/structural-frame-analysis works
Structural Analyser is a browser-based 2D/3D structural frame modeller, solver, and design tool. Users create or edit a frame, assign sections and loads, run linear or advanced analysis, review member results and design checks, then export a report or model. Its main stages are model authoring, FEM analysis, code/design evaluation, and results exchange. The README documents the broad application wiring; source excerpts confirm worker dispatch and its solver dependencies. Other links below rely on README statements, so unsampled implementation details are not asserted.
Main entry points: app.js Application UI · solver.worker.js Solver worker · frame_sections.js Frame sections · generators.js Structure generators
Components 27
Model authoring
- Application UI
js/app.js - Structure generators
js/core/generators.js - Model editing
js/core/selection.js - Frame sections
js/features/frame_sections.js
Structural analysis
- Solver worker
js/workers/solver.worker.js - 2D FEM solver
js/solver.js - 3D FEM solver
js/solver3d.js - P-Delta analysis
js/analysis/pdelta.js - Modal analysis
js/analysis/modes.js - Response spectrum
js/analysis/spectrum.js
Design checks
- Load combinations
js/design/load_combos_generator.js - ACI design checks
js/design/aci_checks.js - EC member checks
js/design/checks.js - RC section design
js/design/rc_design.js - Foundation design
js/design/foundation.js - Code chapters
js/aci/ch3-flexure.js
Results and exchange
- Analysis reports
js/report/report.js - Model import export
js/io/fileio.js - IndexedDB cache
js/db/indexeddb.js
Engineering tools
- Section properties
js/calc/section_props.js - Beam formulas
js/calc/beam_formulas.js - Compound sections
js/calc/compound_section.js - Formula library
js/calc/formula_library.js - 3D view
js/features/view3d.js - Solid extrusion
js/features/extrude.js - Unit conversion
js/utils/units.js
Other components
- Engineer
Connections 26
- Engineer → Application UI: models in
- Application UI → Structure generators: uses templates
- Application UI → Model editing: enables edits
- Application UI → Frame sections: opens section editor
- Application UI → Solver worker: dispatches solves
- Solver worker → 2D FEM solver: invokes
js/workers/solver.worker.js - Solver worker → 3D FEM solver: loads solver
js/workers/solver.worker.js - Solver worker → P-Delta analysis: dispatches P-Delta
js/workers/solver.worker.js - Solver worker → Modal analysis: dispatches modes
js/workers/solver.worker.js - Application UI → Response spectrum: runs spectrum analysis
- Application UI → Load combinations: generates combinations
- Application UI → ACI design checks: runs ACI checks
- Application UI → Analysis reports: generates reports
- Application UI → Model import export: imports and exports
- Application UI → IndexedDB cache: uses results cache
- Frame sections → Section properties: computes properties
- Engineer → Beam formulas: uses calculator
- Engineer → Compound sections: builds sections
- Engineer → Formula library: consults reference
- Application UI → 3D view: provides 3D views
- Application UI → Solid extrusion: renders extrusion
- Application UI → Unit conversion: switches units
- Application UI → EC member checks: offers EC checks
- Application UI → RC section design: offers EC2 design
- Application UI → Foundation design: offers foundation design
- Application UI → Code chapters: provides ACI chapters