Mounting pads assigned to different nets when not unconnected
Description
It looks like there has been a change in version 8 regarding the handling of mounting pads (pins with name "MP"), but I haven't been able to find anything regarding this change. Specifically, consider the following example schematic:
This is three times the same built-in symbol, once without anything on the mounting pin, once with a "no connect flag" and once edited to have electrical type "unconnected". Creating a PCB from this yields the following in version 7:
As you can see, the mounting pads are assigned to the same net in all cases. In version 8, the following happens:
Note how only the "truly" unconnected variant has the pins assigned to the same net. The other two create two different nets for the two pins. While overall, it seems like a good thing to have both behaviors, I cannot figure out how to get the old behavior "properly": If I don't connect the pin to anything, I will get ERC violations due to unconnected pins, and all other variants seem to force the pads to be disconnected.
Steps to reproduce
- Open the project file in version 8: MountingPadNetAssignment.zip
- Open the PCB
- Note how the mounting pads are assigned to the same net for all three variants (the file was created in version 7)
- Update the PCB from the schematic to apply the version 8 behavior
- Note how the mounting pads are no longer connected for the bottom two variants
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 8.0.2, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3
Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Apr 27 2024 23:05:17
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings: