pcb_repour_polygons
Rebuild all poured copper polygons on the open PCB in pour order so updated clearance or board-edge rules apply, returning rebuilt, shelved, failed counts and before/after area data.
Instructions
Repour every poured polygon on the open PCB, in pour order.
Each polygon is rebuilt through the API, so a changed clearance
or board-edge rule takes effect. Shelved polygons stay shelved.
repoured is true only when at least one polygon was rebuilt
and none failed; each item reports its copper pieces and poured
area before and after, so a repour that changed nothing shows.
Returns:
repoured, counts of polygons, rebuilt,
shelved and failed, and per-polygon items
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pcb_repour_polygons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||