structural_member
Create weldment structural members along sketch lines and arcs from installed profile libraries, choosing standard, type, size and corner treatment. Returns the feature, bodies and lengths.
Instructions
Make weldment structural members along the lines and arcs of a sketch, from the installed profile library: standard (e.g. iso, ansi, DIN), type (e.g. square tube) and size (e.g. 20 x 20 x 2). corner decides how members meet: miter, butt1, butt2 or none; butt1 / butt2 give SolidWorks' pinwheel: each member runs through at one end and stops at the other, so every member is exactly as long as its path (the butt joint as built, nothing to trim). An unknown standard, type or size is refused with the list of choices. Returns the feature, the bodies and their lengths.
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>",
"type": "<type>",
"size": "<size>",
"standard": "<standard>"
},
"name": "structural_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | Profile size, e.g. 20 x 20 x 2 | |
| type | Yes | Profile type, e.g. square tube | |
| corner | No | Corner treatment | miter |
| sketch | Yes | Name of the sketch whose segments are the member paths | |
| standard | Yes | Profile standard folder, e.g. iso |