linear_pattern
Repeat a 3D object along a direction at set spacing to create patterned copies or a single fused solid, useful for placing holes or features before boolean cuts.
Instructions
Repeat an object count times (including the original) every spacing mm along direction. fuse=false creates
objects result_name_1.. for the copies only (the original stays); fuse=true returns one solid with all instances.
Typical use: pattern a cylinder 'tool', then boolean cut it from a plate.
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>",
"name": "<name>",
"direction": "<direction>",
"count": "<count>",
"spacing": "<spacing>",
"result_name": "<result_name>"
},
"name": "linear_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| fuse | No | ||
| name | Yes | ||
| count | Yes | ||
| spacing | Yes | ||
| direction | Yes | ||
| result_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |