create_circular_pattern
Duplicates selected features around a chosen axis in Onshape, letting you set instance count, total angle, and axis direction to build circular arrays for parametric CAD.
Instructions
Create a circular pattern of features around an axis
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": {
"documentId": "<documentId>",
"workspaceId": "<workspaceId>",
"elementId": "<elementId>",
"featureIds": "<featureIds>",
"count": "<count>"
},
"name": "create_circular_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Pattern axis | Z |
| name | No | Pattern name | Circular pattern |
| angle | No | Total angle spread in degrees | |
| count | Yes | Total number of instances | |
| elementId | Yes | Part Studio element ID | |
| documentId | Yes | Document ID | |
| featureIds | Yes | Feature IDs to pattern | |
| workspaceId | Yes | Workspace ID |