catia_shaft
Create a revolved shaft from the last sketch using its axis; the closed profile must lie on one side of the axis.
Instructions
Create a Shaft (revolution) from the last sketch. The revolution axis is the sketch axis: either a line drawn with catia_sketch_line(is_axis=true) (axis='sketch_line', default), or the sketch's own H or V axis (axis='h'/'v', e.g. 'the X axis available in the sketch' on an XY sketch). The closed profile must lie entirely on one side of the axis.
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": "catia_shaft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Revolution axis: the is_axis line of the sketch, or its H / V absolute axis. | sketch_line |
| name | No | Explicit name for the created feature in the specification tree (e.g. 'Pad_Bras_20mm', 'Trou_Conique_D12'). Strongly recommended: default names like 'Extrusion.3' make the tree unreadable and are flagged by tree audits. | |
| angle | No | Revolution angle in degrees (default: 360 for full revolution) | |
| sketch_name | No | Name of sketch to use. |