sheet_base
Start a sheet-metal part by extruding a closed straight-sided profile or sketch to a set thickness, returning a handle for adding flanges, tabs, and flat patterns.
Instructions
Start a sheet-metal part: the base flange, a closed straight-sided profile
extruded to thickness_mm. Everything else (flanges, tabs, hems, the flat
pattern, the DXF) hangs off the handle this returns.
profile: [[x, y], ...] in the XY plane, implicitly closed. sketch: alternatively a handle to a closed, planar, straight-sided sketch — on any plane. Arcs are REJECTED rather than silently faceted, because a faceted flat pattern is a wrong flat pattern. material: any Materials-DB name (e.g. "Steel-A36", "AL6061-T6", "SS304"); it selects the K-factor and minimum-bend-radius corpus rows.
IMPORTANT — the profile is the flat face TANGENT TO TANGENT, not the outside dimension. Bends grow OUTWARD from the profile boundary, exactly as a base flange behaves in any sheet-metal CAD, so a U-channel of 100 mm outside width with R = t = 2 starts from a 92 mm profile.
The bend model lives alongside the handle for the life of the worker session, like every other handle: unfolding is a property of the FEATURE TREE, not of the fused solid, so a part reopened from disk in a new session is a solid rather than a sheet part. Cutting one (boolean_op cut, e.g. to drill it) keeps it a sheet part; fusing arbitrary material onto it does not.
Returns {handle, name, volume, thickness_mm, material, profile, area_mm2}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | SheetBase | |
| sketch | No | ||
| profile | No | ||
| material | No | ||
| thickness_mm | Yes |