create_hole
Drill a simple round hole into a body using a precise subtracted cylinder; define the entry-face centre, diameter, direction, and optional depth or through-hole setting.
Instructions
Drill a simple round hole into a body. position is the centre of the hole on the entry face; the hole goes along direction (pointing INTO the material). Implemented as a subtracted cylinder so the geometry is exact. Units: millimetres (mm) and degrees.
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": {
"position": "<position>",
"diameter": "<diameter>"
},
"name": "create_hole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Body to drill (body or feature name). Optional when the part has exactly one body. | |
| depth | No | Hole depth (mm). Omit or use through=true for a through hole. | |
| through | No | Through hole (depth is computed from the body size). | |
| diameter | Yes | Hole diameter (mm). | |
| position | Yes | Centre of the hole at the entry face. [x, y, z] | |
| direction | No | Drilling direction, into the material. [x, y, z] |