remove_junction
Delete a junction at given coordinates in a KiCad schematic, merging or disconnecting wires and buses as KiCad's delete operation does.
Instructions
Remove a junction at the given coordinates, as KiCad's delete removes one.
The junction within 0.1 mm goes, with any other at exactly its point. Then, as KiCad's
DeleteJunction does (bus-wire-junction.cpp:115-185 at 9.0.8), of the wires and buses
ending there each parallel pair is made one, or one of two identical lines goes, so
whatever met only at the junction is disconnected: a T loses its stem, a crossing becomes
two wires that do not join. Wires that merely meet there at an angle stay joined. Where a
bus entry ends at the point nothing is merged, since kicad-cli 9 cuts a wire at a bus entry
end inside it. The result names each merge.
Args:
x: X position
y: Y position
schematic_path: Path to .kicad_sch file. Optional; omit to use the configured default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| schematic_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |