extrude_surface
Extrude the most recent sketch into a surface, including open profiles; construction geometry is ignored and each sketch entity creates one face.
Instructions
Extrude the most recent sketch into a surface (Surface-Extrude). The sketch may be an open profile; construction geometry is ignored. Each sketch entity gives one face, so a sketch holding a single fit spline gives a single face. In an assembly the surface's faces are listed by list_component_faces (marked body = surface) and work in add_mate and measure_distance like any face.
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_surface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | Extrude in the opposite direction | |
| unit | No | Unit of depth (mm, cm, m, inch or ft) | |
| depth | No | Depth (total depth for mid_plane) | |
| end_condition | No | blind = one side of the sketch plane; mid_plane = half the depth on each side | blind |