Create Extruded Cut
create_cut_extrudeCuts holes, slots, or windows from an active solid body using a closed sketch profile after exiting the sketch, supporting blind, through-all, and both-direction cuts.
Instructions
Cut material from the active part with a closed sketch profile: holes, slots, windows.
Use it after exit_sketch. Pass sketch_name unless the sketch you just closed
is the one: with no name only that sketch is used, and any doubt is an error
naming the sketches found. A one-way cut that finds no material is retried the
other way (direction_flipped). For a sketch inside the body, use
ThroughAllBoth. Needs: an open part with a solid body. Changes: adds a
Cut-Extrude feature. Returns: cut_extrude (name, sketch_name,
direction_flipped) and measured_change (volume, bounding box and solid-body
count before and after; left out when the model can't be read).
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": {
"input_data": "<input_data>"
},
"name": "create_cut_extrude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The cut. `depth` (mm) is required; `sketch_name`, `end_condition` (Blind, ThroughAll, ThroughAllBoth), `both_directions`, `reverse_direction` and `draft_angle` have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||