Compare with an equilibrium reference.
Compare the supplied reaction table with a small independent hand reference. Report force and moment residuals instead of hiding a mismatch.
- Environment
- Current browser, or Node.js 20.9+. Verified locally with Node.js 24.22.1 on Windows. No npm install.
- Data and units
- m, kN and kN·m. Absolute comparison tolerances are 0.000001 kN and 0.000001 kN·m.
- Expected result
- 8 × 6 = 48 kN downward; each reaction is 24 kN. Force and moment residuals are zero; the reference peak moment is 36 kN·m.
Follow the recipe.
- Confirm the 6 m, single horizontal, simply supported beam and the selected case. Self-weight is excluded.
- Use W = wL, RA = RB = W/2 and Mmax = wL²/8 as the narrow reference.
- Check both the upward force sum and moments about the left support. Preserve any mismatch and review its cause.
Failure to reproduce
Changing both reactions to 12 kN produces a mismatch: force residual −24 kN and moment residual −72 kN·m.
Download the failure fixture and compare its result with the reference fixture.
A reference match covers this idealized fixture equilibrium only. It does not approve member capacity, deflection, stability, support details, connections or code compliance.
Try the supplied example.
This runner reads only the bundled synthetic fixtures. It does not upload files or contact a live model.
Enable JavaScript to run the example here. Source, fixtures and expected output remain downloadable.
Run an example to inspect its result.Run the same source locally.
Extract the complete source bundle, open a terminal in that folder and run:
node run.mjs reference-check fixtures/reference-model.jsonUse fixtures/reference-check-failure.json to reproduce the documented failure. Exit 0 means the bounded exercise ran; 1 means blocked or mismatched; 2 means invalid invocation or unreadable input.
Read the underlying implementation and API contract
The browser and CLI share the same local JavaScript implementation. The bundle includes the runner, fixtures, expected outputs, source checksums and optional read-only C# source.
Native integration reference: Pinned StaadPro.Interop documentation (commit 02fc97a19010). The offline fixture is not a native API export and cannot establish compatibility with an installed STAAD.Pro build.
