sew_edges
Joins two pattern outline edges by specifying matching endpoints, automatically aligning stitch directions to prevent twisted seams in CLO3D.
Instructions
Sew two outline edges by saying which points meet: from_a meets from_b and to_a meets to_b. The lines are found by their endpoints (2D pattern coordinates, mm, within 2 mm) and the stitch directions follow, so the seam cannot come out twisted (with sew_lines the direction flags are easy to get backwards).
Args: pattern_a: Piece of side A. from_a: One end of the edge on A, e.g. the neck point [x, y]. to_a: The other end on A, e.g. the shoulder point. pattern_b: Piece of side B. from_b: The point on B that meets from_a. to_b: The point on B that meets to_a.
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_a": "<pattern_a>",
"from_a": "<from_a>",
"to_a": "<to_a>",
"pattern_b": "<pattern_b>",
"from_b": "<from_b>",
"to_b": "<to_b>"
},
"name": "sew_edges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_a | Yes | ||
| to_b | Yes | ||
| from_a | Yes | ||
| from_b | Yes | ||
| pattern_a | Yes | ||
| pattern_b | Yes |