Calculate rope diameter
calculate_rope_diameterRead-only. Calculates the estimated diameter of a three-strand rope from a thread's linear density and the number of threads per strand. Use this tool when the user asks how thick a rope made from a given thread will be, or what diameter a custom dTex produces. Provide basis 'catalog' with threadId for a catalog thread, or basis 'dtex' with a value between 80 and 6000 for a custom thread. threadsPerStrand is 1 to 5; because all ropes have three strands, 2 corresponds to the 2 × 3 construction. Diameters are model estimates, not measured values. The response includes the diameter in millimetres, the construction label, the resolved dTex, and API, algorithm and catalog versions. Use find_rope_threads when the user wants threads for a target diameter instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dtex | No | Custom linear density in dTex, from 80 to 6000 inclusive. Required when basis is 'dtex'. | |
| basis | Yes | Source of the linear density. Use 'catalog' for a thread from the catalog, or 'dtex' for a custom value. | |
| threadId | No | Catalog thread id, for example 'tera-40'. Required when basis is 'catalog'. Use find_rope_threads to see which thread ids match a target diameter. | |
| threadsPerStrand | Yes | Threads per strand: 1 to 5. All ropes have three strands, so 2 means the 2 × 3 construction. |