extrude
Turns the last sketch into a solid or thin-walled extrusion, with blind, midplane, through-all, or up-to-surface end conditions and optional draft.
Instructions
Extrudes the last sketch as a solid (closing it automatically if open).
end_condition: blind = depth_mm on one side; midplane = depth_mm split on both sides; through_all = through the existing solid; up_to_surface = up to the face through up_to_point ([x, y, z] in mm, model coordinates). depth2_mm > 0 also extrudes that far in the opposite direction (not with midplane). draft_angle_deg tapers the sides (inwards, or outwards with draft_outward=True). thin_wall_mm > 0 makes a thin wall of that thickness along the profile instead of filling it; open profiles (e.g. a chain of lines) are then allowed. merge=False keeps the result as a separate body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge | No | ||
| reverse | No | ||
| depth_mm | No | Extrusion depth in mm (blind or midplane) | |
| depth2_mm | No | Second direction depth in mm | |
| up_to_point | No | ||
| thin_wall_mm | No | Thin wall thickness in mm (0 for solid) | |
| draft_outward | No | ||
| end_condition | No | blind | |
| draft_angle_deg | No | Draft angle in degrees (0 to <90) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |