Tie plane-net pads together
tie_rail_padsTie neighbouring same-net SMD pads of the plane nets (GND, the rails with a pour) together on their own layer with short tracks, so a group shares one via to the plane instead of one via per pad, as a designer does. A tie is placed only where it misses every other net's pad, its tracks and vias, and the board edge. Before routing: route afterwards with preserve_existing (the default). After routing and prune_vias: run prune_vias on those nets again.
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": {
"design_id": "<design_id>"
},
"name": "tie_rail_pads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nets | No | Nets to tie (default: every net that has a pour). | |
| layers | No | Copper layers to tie on (default F.Cu and B.Cu). | |
| max_mm | No | Longest tie (default 2.5). | |
| wait_s | No | Seconds to wait (default 55); a job still running comes back "running" for get_board_job. | |
| width_mm | No | Tie track width (default: the board's current track width). | |
| design_id | Yes | The design id returned by import_kicad_project or list_designs. | |
| avoid_copper | No | Treat other nets' tracks and vias as obstacles (default true). |