Padstack with differing custom pad anchors gets funky. (Was: In custom pad (rectangular base), the rectangular base reverts to square)
<!----------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template comment markers <>. * Keep report contents limited to the necessary information required to fix the issue. * When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions.--> # Description A custom pad with rectangular base can be designed where the base has a smaller height than width, but having saved the footprint, the base has changed to square. <!--If the issue is visual/graphical, please attach screenshots of the problem.--> ![afbeelding.png](/uploads/18c9e588addcb77789e718ea0677701d/afbeelding.png) <!--Add the issue details below this line and before the "Steps to reproduce" heading.--> # Steps to reproduce <!--If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended.--> <!--If this issue is specific to a project, please attach the necessary files to this issue.--> <!--Add the steps to reproduce using the numbers below--> <!--Add new step numbers before the "KiCad Version" heading.--> 1. Make a footprint with a pad designed as shown in the screenshot above. 2. Close the Properties dialog using the "OK" button. 3. Select the pad and open the Properties dialog again. The Y dimension as shown in he dialog has changed to 2.2, and in the dialog preview the rectangular base has a square shape. 4. Change the Y dimension back to 1.2 mm and close the Properties dialog with the "OK" button. The rectangular base is still shown as with less height than width, as intended. 5. Save the footprint and close the footprint editor. 6. Open the footprint editor, select the footprint in the library and edit it. The rectangular base has now changed to square with both X and Y 2.2 mm ![afbeelding.png](/uploads/75cdb991bbff67329b77c2e9699daccc/afbeelding.png){width="437" height="514"} 7. Close the footprint editor without saving (i.e. when it was last saved, the base pad had the correct shape). 8. Use the footprint in a PCB design. In the PCB editor, the base pad is square. 9. Perform DRC. You get warnings as shown. ![afbeelding.png](/uploads/02d1d74bb3e82cb52e978ff55a2a314b/afbeelding.png) # KiCad Version ``` Application: KiCad Footprint Editor x64 on x64 Version: 9.0.0, release build Libraries: wxWidgets 3.2.6 FreeType 2.13.3 HarfBuzz 10.2.0 FontConfig 2.15.0 libcurl/8.11.1-DEV Schannel zlib/1.3.1 Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW OpenGL: Intel, Intel(R) HD Graphics 530, 4.5.0 - Build 22.20.16.4836 Build Info: Date: Feb 19 2025 17:46:53 wxWidgets: 3.2.6 (wchar_t,wx containers) Boost: 1.86.0 OCC: 7.8.1 Curl: 8.11.1-DEV ngspice: 44 Compiler: Visual C++ 1942 without C++ ABI KICAD_IPC_API=ON Locale: Lang: en_GB Enc: UTF-8 Num: 1,234.5 Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8) ```
issue