hole
Drills straight cylindrical cuts with a specified diameter in a Creo part via linear or coaxial placement, using through-all, through-next, or blind depth, with optional side flipping.
Instructions
Creates/edits geometry in the running Creo 5 through the DreamFeatureApp plugin. There is no mirror tool: build symmetric shapes with symmetric extrudes, revolves or patterns. Units are mm and degrees. Parts are addressed by name (lowercase, no .prt). Model axes: FRONT is the XY plane (normal +Z), TOP is XZ (normal +Y), RIGHT is YZ (normal +X). Each feature call either ends with an active feature or is rolled back. Nothing is saved unless model_save is called. Check results with model_info (volume, bound_box) and preview_image.
Straight hole. placement=linear: on planar face/datum 'face', at dist1 from ref1 and dist2 from ref2 (planes or edges). placement=coax: along axis 'axis', starting at plane 'face'. depth_type: through_all (default), through_next, blind (needs depth). Holes drill one side of the placement plane: flip=true drills the other side, both_sides=true drills both. If volume did not change, the hole went into empty space: retry with flip=true.
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": {
"name": "<name>",
"placement": "<placement>",
"face": "<face>",
"diameter": "<diameter>"
},
"name": "hole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| face | Yes | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| flip | No | ||
| name | Yes | Part name without .prt | |
| ref1 | No | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| ref2 | No | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| depth | No | ||
| dist1 | No | ||
| dist2 | No | ||
| diameter | Yes | ||
| placement | Yes | ||
| both_sides | No | ||
| depth_type | No | ||
| feature_name | No | Optional feature name |