extrude_sketch
Extrudes the current sketch as a boss, merges it into the touched body, and warns if a separate body results from the wrong direction. A sketch already used by a feature must be redrawn first.
Instructions
Extrude the most recent sketch as a boss (Boss-Extrude). New material merges into the body it touches; the result warns if it made a separate body instead, which usually means the wrong direction. A sketch that already belongs to a feature is not extruded again: draw a new sketch first.
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": "extrude_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | Extrude in the opposite direction | |
| unit | No | mm, cm, m, inch or ft | |
| depth | No | Extrusion depth (total depth for mid_plane; ignored for through_all / up_to_next) | |
| merge | No | Merge into the existing body (false = keep as a separate body) | |
| end_condition | No | blind = to depth; mid_plane = depth split equally both sides of the sketch; through_all / up_to_next need existing geometry in that direction | blind |
| both_directions | No | Legacy: same as end_condition='mid_plane' |