Copy a pattern piece
clo_copy_patternDuplicate a pattern piece and place the copy at a specified 2D center point, with optional horizontal or vertical mirroring to create mirrored parts such as a right sleeve from a left one.
Instructions
Duplicate a pattern piece, placing the copy's centre at a position in the 2D window. Optionally mirror the copy, e.g. to make a right sleeve from a left one. Returns the new piece's index.
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": {
"pattern_index": "<pattern_index>",
"center": "<center>"
},
"name": "clo_copy_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | Mirror the copy. | |
| name | No | Name for the copy. | |
| center | Yes | Centre of the copy in the 2D window (mm). | |
| pattern_index | Yes | Zero-based pattern index. |