add_rectangular_pattern
Creates a row or grid pattern of selected features, including sheet-metal cuts, by setting counts, spacing, and axes.
Instructions
Repeat features in a row or a grid — a line of slots, a field of mounting holes, louvres. One hole + add_rectangular_pattern instead of twenty holes: one number changes the pitch. Works on sheet metal cuts too. A pattern whose copies all miss the body is taken back.
Args: features: Feature indices or names, ","-separated (manage_features list), e.g. "3" or "Hole1,Cut2". x_count: Instances along x_axis, the original included. x_spacing: Pitch in mm along x_axis; negative = the other way. x_axis: X, Y or Z (model axes). y_count: Rows along y_axis (1 = a single row). y_spacing: Row pitch in mm; negative = the other way. y_axis: X, Y or Z, different from x_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": {
"features": "<features>"
},
"name": "add_rectangular_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_axis | No | X | |
| y_axis | No | Y | |
| x_count | No | ||
| y_count | No | ||
| features | Yes | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| x_spacing | No | ||
| y_spacing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |