solve_supports
Calculate vertical reaction forces on each support of a rigid object under applied loads. Identifies supports exceeding capacity or experiencing lift-off.
Instructions
Compute how much vertical force each support (leg, bracket, foot) carries.
Models a rigid object resting on point supports of equal stiffness and solves static equilibrium so the reactions balance every applied load in force and moment. Handles any number of supports. Flags supports that exceed their rated capacity, and supports with a negative reaction (the object is lifting off / would tip rather than rest evenly).
Args: supports: [{"id": str, "x": m, "y": m, "capacity_n": N (optional)}]. loads: downward point loads [{"x": m, "y": m, "magnitude_n": N}]. self_weight_n: optional self-weight of the object (N), applied at the centroid of the supports.
Returns: per-support reaction forces, over-capacity / lift-off flags, total load, max utilisation, any warnings, and a short explanation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loads | Yes | ||
| supports | Yes | ||
| self_weight_n | No |