freecad_hole
Creates a drill, counterbore, or countersink hole in a PartDesign body from a sketch circle, with options for diameter, depth, threading, and counterbore or countersink dimensions.
Instructions
Create a hole (drill, counterbore, countersink) in a PartDesign body from a sketch with a circle
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": {
"sketchName": "<sketchName>",
"diameter": "<diameter>"
},
"name": "freecad_hole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the Hole feature | |
| depth | No | Hole depth in mm (0 = through all) | |
| diameter | Yes | Hole diameter in mm | |
| holeType | No | Hole type (default: simple) | |
| threaded | No | Add threading (default false) | |
| sketchName | Yes | Name of the sketch containing the hole center(s) | |
| counterboreDepth | No | Counterbore depth (for counterbore type) | |
| countersinkAngle | No | Countersink angle in degrees (for countersink type, default 90) | |
| counterboreDiameter | No | Counterbore diameter (for counterbore type) |