linear_pattern
Pattern one or more features along model axes in one direction or as a grid. Set count, spacing and direction to place repeated instances and get a warning if they fall outside the body.
Instructions
Pattern one or more features along the model axes, in one direction or two (a grid). count includes the original. Warns if new instances fall outside the body.
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": {
"count": "<count>",
"spacing": "<spacing>",
"direction": "<direction>"
},
"name": "linear_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | mm, cm, m, inch or ft | |
| count | Yes | Instances along direction, including the original | |
| count2 | No | Instances along direction2, including the original | |
| spacing | Yes | Distance between neighbouring instances | |
| features | No | Feature names from list_features, e.g. ['Cut-Extrude1']. Default: the last solid feature. | |
| spacing2 | No | Spacing along direction2 (needed with count2 above 1) | |
| direction | Yes | Pattern direction in model axes | |
| direction2 | No | Optional second direction |