sw_create_flange
Create a parametric flange with center hole and bolt holes in SolidWorks by defining outer diameter, thickness, bolt pattern, and hole sizes.
Instructions
Create a parametric flange with center hole and bolt holes.
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": {
"outer_diameter_mm": "<outer_diameter_mm>",
"thickness_mm": "<thickness_mm>",
"center_hole_diameter_mm": "<center_hole_diameter_mm>",
"bolt_count": "<bolt_count>",
"bolt_hole_diameter_mm": "<bolt_hole_diameter_mm>",
"bolt_circle_diameter_mm": "<bolt_circle_diameter_mm>"
},
"name": "sw_create_flange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | ||
| bolt_count | Yes | ||
| chamfer_mm | No | ||
| save_as_name | No | flange.SLDPRT | |
| thickness_mm | Yes | ||
| outer_diameter_mm | Yes | ||
| bolt_hole_diameter_mm | Yes | ||
| bolt_circle_diameter_mm | Yes | ||
| center_hole_diameter_mm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |