convert_to_sheet_metal
Converts a solid part into sheet metal by defining a fixed face, bend edges, and thickness, then verifies the flat pattern is a single piece and returns bend and flat-pattern data.
Instructions
Turn the solid body of a part into sheet metal with SolidWorks' Convert to Sheet Metal: give fixed_face (a point on the face that stays fixed), bend_edges (a point on each edge that becomes a bend) and thickness; SolidWorks adds the rips itself. The result is checked by measuring the flat pattern (one piece), and what was made is removed again when that fails. Returns thickness, bend radius, K-factor and flat pattern size. Insert Bends on a shelled part is not offered.
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": {
"fixed_face": "<fixed_face>"
},
"name": "convert_to_sheet_metal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | Put the thickness on the other side | |
| unit | No | Unit for the coordinates, thickness and bend_radius (mm, cm, m, inch or ft) | |
| method | No | convert = Convert to Sheet Metal on a solid (the only method) | convert |
| k_factor | No | K-factor from 0 to 1 | |
| thickness | No | Sheet thickness (required) | |
| bend_edges | No | A point on each edge that becomes a bend | |
| fixed_face | Yes | ||
| bend_radius | No | Inside bend radius (default: the thickness) |