Thread
threadGives cylindrical faces of a body an ISO metric thread: a shaft an external one, a hole an internal one. Without a size it takes the one the face fits (a shaft by its diameter, a hole by its tap drill), coarse pitch. Cosmetic (marked on the face, the default) or modeled (cut in); along the whole face or a length from its open end; right- or left-handed.
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": {
"faces": "<faces>"
},
"name": "thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Body name or "feature:k" key from get_document (a key never changes; a name may when bodies move to parts). Leave out to use the most recently made body. | |
| size | No | An ISO size such as "M6" (default: the one the face fits). | |
| faces | Yes | Which faces. | |
| pitch | No | mm (default the size's coarse pitch). | |
| length | No | mm from the face's open end (default the whole face). | |
| modeled | No | Cut the thread in (default: cosmetic). | |
| left_hand | No |