hole_wizard
Creates ISO holes at points on flat faces—simple, counterbore, countersink, or tapped—with optional depth and edge- or origin-based dimensions; multiple points can form one feature.
Instructions
Make a standard ISO Hole Wizard hole at a model point on a flat face. hole_type: 'simple' (drilled; size = standard ISO drill diameter in mm; with a unit other than mm write it '6.5mm'), 'counterbore' (socket head cap screw; size like 'M6'), 'countersink' (countersunk socket screw; size like 'M6') or 'tapped' (size like 'M6'; with depth, depth is the tap drill depth and the thread is 1 x the thread diameter deep). Leave depth out for a through hole. Several holes of the same type and size on one flat face: give points instead of x, y, z; they become one Hole Wizard feature (one call, one feature). The positions are dimensioned from the edges named in dimension_from (the user's references; one call per group of holes sharing their edges); what no named edge covers is dimensioned from the origin and listed in dimensions_from_origin (not from your spec); an edge dimension that could not be made is listed in edge_dimensions_missing with a warning.
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": {
"size": "<size>"
},
"name": "hole_wizard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X of the hole position on the face | |
| y | No | Y of the hole position on the face | |
| z | No | Z of the hole position on the face | |
| size | Yes | Drill diameter in mm for 'simple' (e.g. '6.5'), or thread size for the others (e.g. 'M6') | |
| unit | No | Unit for x, y, z and depth (mm, cm, m, inch or ft) | |
| depth | No | Hole depth; omit for a through hole | |
| points | No | Several hole positions on the same flat face, e.g. [{"x": 20, "y": 6, "z": 15}, {"x": 70, "y": 6, "z": 15}]; replaces x, y, z | |
| hole_type | No | Kind of hole | simple |
| dimension_from | No | The edges the user measures the holes from, each by a point on it (model coordinates), e.g. [{"x": 0, "y": 6, "z": 0}] for "20 mm from the outside face"; one or two (one per direction). Without it, the positions are dimensioned from the origin |