add_hole_on_face
Drills a round hole centered on any planar face at a 3D point, either through all or to a set depth. Places through holes, blind pockets, and insert or pilot holes in SolidWorks parts.
Instructions
Drill a round hole on ANY planar face, centred at 3D point (x, y, z) mm.
face is "+x"/"-x"/"+y"/"-y"/"+z"/"-z": the face facing that way through the
point is drilled, so a pocket floor or a step works too. Through all, or
depth_mm deep (blind: heat-set inserts, screw pilots). Returns mass
properties and dimensions (diameter, x, y, depth). from_edges=True
measures x and y from the face's nearest straight edges instead of the
origin, so the hole keeps its distance to them when the part changes
(measured_from names the edges): use it where the design means it.
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": {
"diameter_mm": "<diameter_mm>",
"face": "<face>",
"x_mm": "<x_mm>",
"y_mm": "<y_mm>",
"z_mm": "<z_mm>"
},
"name": "add_hole_on_face"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | Yes | ||
| name | No | Hole | |
| x_mm | Yes | ||
| y_mm | Yes | ||
| z_mm | Yes | ||
| depth_mm | No | ||
| from_edges | No | ||
| diameter_mm | Yes |