wire_pins_to_net
Connect multiple component pins to a common net label such as GND or VCC. Specify pins, label, wire direction, and stub length.
Instructions
Wire multiple component pins to the same net label.
Batch version of wire_pin_to_label. Single file load/save cycle.
Args:
pins: List of {"reference": "R1", "pin": "1"} dicts
label_text: Net label text (e.g. "GND", "VCC")
direction: Wire direction: "auto", "left", "right", "up", "down"
stub_length: Wire stub length in mm (default 2.54)
auto_pwr_flag: Auto-place PWR_FLAG when net has power_in but no power_out (default True)
schematic_path: Path to .kicad_sch file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pins | Yes | ||
| label_text | Yes | ||
| direction | No | auto | |
| stub_length | No | ||
| auto_pwr_flag | No | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |