Convert a single engineering value
convert_valueConvert engineering values between metric and imperial for length, tolerance, geometric tolerance, surface roughness, weight, and thread designations with shop-floor rounding and confidence score.
Instructions
Convert one engineering value between metric and imperial with shop-floor precision rules. Kinds: length (mm⇄in), tolerance_deviation (a ± deviation, keeps an extra significant digit), geometric_tolerance (GD&T value), surface_roughness (Ra µm⇄µin), weight (kg⇄lb), thread (designation lookup, e.g. "M8" ⇄ "5/16-18 UNC"). Returns the exact value, the display-rounded value, and how it was derived (exact/rounded/table/nearest) with a confidence score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | unit system the value is currently in | |
| kind | Yes | ||
| value | No | numeric value — required for every kind except thread | |
| designation | No | thread designation, e.g. "M8", "M8x1.25", "1/4-20 UNC" — required for kind=thread |