Adds up the steel and reinforcing bar weights shown in the status line, the model summary and the selection panel.
How the precision is kept
Each total is one 64-bit sum of the parts' weights in list order, kept unrounded. Only the text shown is rounded, to 0.1 kg with toFixed. The part weights themselves are computed when the model is built, outside this file.
Calculations under this policy
3 calculations in 1 source file. The code is read from the released app when this page loads. It is the calculation people run, not a copy kept for this page.
The weight of the selected members plus the main plate of each selected connection.
steel = Σ weight of selected members and connection plates
Only the part named '<connection>.plate' is counted for a connection; its other plates, stiffeners and bolts are not in this figure. One running sum, shown with one decimal.
The cut length, weight and weight per meter shown for a selected member.
The stored values are shown, not recomputed: the length rounded to 0.1 mm with Math.round, the weight to 0.1 kg and the weight per meter to 0.01 kg with toFixed.