Sketch Linear Pattern
sketch_linear_patternRepeats sketch entities in a straight line at fixed spacing to build rows of holes or slots before one cut; requires an open sketch and returns the new pattern.
Instructions
Repeat sketch entities in a straight line at a fixed spacing.
Use it for rows of holes or slots before one cut. Needs: an open sketch
(create_sketch). Changes: adds copies of the entities. Returns: pattern with
id, entities, count, spacing and direction.
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": {
"input_data": "<input_data>"
},
"name": "sketch_linear_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | A mapping: `entities` (ids to repeat), `direction_x`/ `direction_y` (default 1, 0), `spacing` (mm, default 10) and `count` (instances, default 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||