Spring Check
spring_checkRates a helical compression spring and checks Wahl-corrected shear stress, spring index, buckling, and safety factor; pass force or deflection to get pass/fail.
Instructions
Rate a helical compression spring (Wahl). rate k=G d^4/(8 D^3 Na); corrected shear tau=Kw 8FD/(pi d^3). Pass force_n OR deflection_mm. Returns {spring_index, wahl_factor, rate_n_mm, force_n, deflection_mm, shear_stress_mpa, slenderness, buckling_flag, allowable_shear_mpa, shear_sf, pass}.
G and the allowable come from material unless overridden. shear_modulus_mpa
sets G directly; allowable_shear_mpa replaces the 0.45·UTS estimate, which
falls back to 700 MPa (spring steel) for a material carrying no UTS — pass it
explicitly for anything else, since shear_sf and pass scale with it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wire_dia_mm": "<wire_dia_mm>",
"coil_mean_dia_mm": "<coil_mean_dia_mm>",
"active_coils": "<active_coils>"
},
"name": "spring_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force_n | No | ||
| material | No | Steel-1045 | |
| workspace | No | Run this call in this named workspace | |
| wire_dia_mm | Yes | ||
| active_coils | Yes | ||
| deflection_mm | No | ||
| free_length_mm | No | ||
| coil_mean_dia_mm | Yes | ||
| shear_modulus_mpa | No | ||
| allowable_shear_mpa | No |