cut_extrude
Creates holes or pockets by extruding a cut from the last sketch, with through-all, reverse, up-to-point, two-direction depth, and draft options for precise SolidWorks part edits.
Instructions
Extruded cut (holes, pockets) with the last sketch. through_all=True goes right through (depth_mm ignored). reverse flips the direction; flip_side removes the material OUTSIDE the profile. up_to_point ([x, y, z] in mm on a face) cuts up to that face instead. depth2_mm > 0 also cuts that far in the opposite direction. draft_angle_deg tapers the walls (inwards, or outwards with draft_outward=True).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cut_extrude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reverse | No | ||
| depth_mm | No | Cut depth in mm (blind) | |
| depth2_mm | No | Second direction cut depth in mm | |
| flip_side | No | ||
| through_all | No | ||
| up_to_point | No | ||
| draft_outward | No | ||
| draft_angle_deg | No | Draft angle in degrees (0 to <90) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |