Extrude
extrudeCreate 3D geometry from a sketch profile using height, direction, and operation. For cut or intersect, set target_body_name to restrict cutting to one body.
Instructions
Extrude a sketch profile. For operation cut/intersect, pass target_body_name whenever the document has more than one body — confirmed live that leaving it unset cuts EVERY body the tool geometrically reaches, not just an intended target. Unless a parameter says otherwise, lengths and coordinates are in cm (not mm) and angles in degrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | ||
| direction | No | positive | |
| operation | No | new_body | |
| profile_index | No | ||
| target_body_name | No | For operation cut/intersect: restrict the cut to this body only. Without it, EVERY body within geometric reach of the tool gets cut, including unrelated ones elsewhere in the document — confirmed live, not a theoretical risk. |