sketch_linear_pattern
Repeat sketch entities in a row or grid by setting counts, spacing, and angles to create patterns like rows of holes before a cut.
Instructions
Repeats sketch entities of the open sketch in a row or a grid (e.g. a row of holes before one cut). entity_points: [[x, y], ...] one point on each entity. count_x copies spacing_x_mm apart along the direction at angle_x_deg from sketch X; count_y / spacing_y_mm / angle_y_deg add a second direction. Replaces the selection.
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": {
"entity_points": "<entity_points>",
"count_x": "<count_x>",
"spacing_x_mm": "<spacing_x_mm>"
},
"name": "sketch_linear_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count_x | Yes | Instances along the first direction, original included | |
| count_y | No | Instances along the second direction, original included | |
| angle_x_deg | No | ||
| angle_y_deg | No | ||
| spacing_x_mm | Yes | Spacing along the first direction in mm | |
| spacing_y_mm | No | Spacing along the second direction in mm | |
| entity_points | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |