audit_find_orphan_power_objects
Detect schematic power-port markers placed off-wire so phantom power connections are exposed before they hide wiring errors.
Instructions
Find schematic power-port markers (GND, VCC, +3V3 etc.) sitting off-wire.
Symmetric cousin to audit_find_orphan_net_labels. A power
port carries its net name (from the marker's Style); the
marker has to sit ON a wire for the wire to actually adopt
that net. Markers in empty space create phantom power
connections -- the schematic LOOKS like the rail is hooked
up, but the wire underneath is unrelated.
ERC sometimes catches this when the wire ends up with no driver, but power rails frequently have multiple drivers (the real connection elsewhere, plus this phantom), so ERC sees a valid net and stays quiet.
Spatial-iterates a 1-mil square at each ePowerObject
location for any eWire; absence → orphan.
Pattern: SDK-derived, mirrors the orphan-net-label check.
Returns:
Dict with {checked, violations, items[]} where each
item carries {net, sheet, x_mils, y_mils} for an
orphan power object. net comes from the marker's
Text (its visible net name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||