Circular pattern
onshape_circular_patternRepeats selected geometry around an axis to create circular patterns in Onshape, letting users set instance count, total angle, and equal spacing.
Instructions
Repeat geometry 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": {
"doc": "<doc>",
"ws": "<ws>",
"elem": "<elem>",
"entities": "<entities>",
"count": "<count>"
},
"name": "onshape_circular_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| doc | Yes | Document id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>. | |
| axis | No | FeatureScript query selecting the axis. | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| name | No | Feature name shown in the tree (default "Circular Pattern"). | |
| type | No | What kind of thing is patterned (default PART). | |
| angle | No | Total angle covered, degrees (default 360). | |
| count | Yes | Total number of instances, including the original. | |
| axis_ids | No | Deterministic id of the axis entity. | |
| entities | Yes | FeatureScript query selecting what to pattern. | |
| validate | No | Re-read the feature list afterwards and fail if the feature regenerated with an error (default true). | |
| equal_spacing | No | Space instances evenly over the angle (default true). |