align_stitch
Aligns a stitched sheet across its match line with two image-pixel reference points or verifies existing placements, then seam-checks linework displacement against tolerance.
Instructions
Align a composite stitched sheet surface across its match line using two matching reference points (image px) — one on each member sheet — or omit both anchor and moving to verify existing persisted member placements in place. Performs a seam check across the match line: analyzes vector wall linework crossing the seam, reports true maximum, 95th percentile, and median linework displacement (px and inches at scale), leftover rotation, and withholding status. Refuses if true maximum linework mismatch exceeds tolerance (default 0.50 in / 1/2", calibrated from real split plans). Coordinates are image px at render scale 2.0: PDF pt × 2, origin top-left, y down (the browser canvas's native space). Sheet payloads carry dims in both px and pt.
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": {
"stitch": "<stitch>"
},
"name": "align_stitch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | No | First alignment point in image px (omit with moving to verify existing placement) | |
| moving | No | Second alignment point in image px — sheet under moving translates to anchor (omit with anchor to verify existing placement) | |
| stitch | Yes | The stitch key (starts with stitch:) to align or verify | |
| tolerance_in | No | Linework displacement tolerance in inches (default: 0.50) | |
| rot_tolerance_deg | No | Leftover rotation tolerance in degrees (default: 0.25) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the stitched surface | |
| note | Yes | ||
| extent | Yes | Composite surface dimensions in image px at render scale 2.0 | |
| aligned | Yes | true = alignment completed | |
| members | Yes | Member sheet placements within the composite surface | |
| stitch_id | Yes | The aligned composite surface key (starts with stitch:) | |
| seam_check | Yes | Seam linework check results |