sw_sheet_metal_base
Creates a sheet-metal base part from a closed sketch as a flat plate or an open sketch as a bent channel, then supports DXF flat-pattern export for laser cutting.
Instructions
Sheet-metal part from a sketch: closed profile = flat plate, open profile (L/U/Z/hat) = bent part with bends at every corner. Then sw_export_flat_pattern gives the DXF for laser cutting.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sketch": "<sketch>",
"thickness": "<thickness>"
},
"name": "sw_sheet_metal_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document title or path. Defaults to the active document. | |
| name | No | Optional name for the new feature. | |
| depth | No | Extrusion depth for open profiles. | |
| relief | No | rectangular | |
| sketch | Yes | Closed profile = flat tab; open profile = bent channel. | |
| reverse | No | ||
| thickness | Yes | ||
| bend_radius | No |