extrude
Create a 3D solid from a 2D sketch profile by pulling it linearly. Supports symmetric, one-direction, or two-direction pulls with taper and boolean operations.
Instructions
Extrude a sketch profile to create a solid body. Supports symmetric, one-direction, or two-direction extrusion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch_index | No | Index of the sketch containing the profile (0-based). Uses last sketch if not specified. | |
| profile_index | No | Index of the profile within the sketch (0-based). Uses first profile (0) if not specified. | |
| distance | Yes | Extrusion distance in mm. | |
| direction | No | Extrusion direction: 'positive', 'negative', or 'symmetric'. | positive |
| operation | No | Boolean operation: 'new_body', 'join', 'cut', 'intersect'. | new_body |
| taper_angle | No | Taper angle in degrees (0 = no taper). |