extrude
Convert 2D sketch profiles into 3D solid bodies by extruding them with configurable direction, distance, and boolean operations for CAD modeling.
Instructions
Extrude a sketch profile to create a solid body. Supports symmetric, one-direction, or two-direction extrusion.
Input Schema
TableJSON 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). |