D2 is not in the schematic, but is connected at one end
Here’s a strange layout error. I made some changes to the schematic, generated a new netlist, and brought it into PCBnew, which already had a layout. I didn’t use “Delete unused footprints” because I have some fiducial marks that aren’t in the netlist.
I didn’t notice that D2 was no longer in the schematic but still on the board.
I deleted all tracks and ran FreeRoute. FreeRoute connected Vcc to one end of D2, and left the other end unconnected. That’s weird. No idea why it was connected to Vcc.
Worse, this passes DRC with no errors. That seems wrong. I checked the netlist file, and D2 is not mentioned. But here’s the rat’s nest:
Here’s the rat’s nest.
Checking the Vcc net in the netlist, there’s no D1:
If i have stuff on the board that is not in the schematic i lock these footprints.
Locked footprints are not removed when using the delete unused footprints option of the netlist import. This enables me to always use this feature. (Ok to be honest i use the update pcb from schematic option in the develpment/nightly version. But it behaves in the same way as the delete unused footprints option.)