using properties panel for oval holes produces false output
Description
This is based on the discussion/description on this forum thread: https://forum.kicad.info/t/create-oval-holes-but-export-round/49514
Using the properties panel to create oval NPTH pads (either in the FP editor or also later in pcbnew if selecting a single pad) produces a result which seems correct in pcbnew, but produces output files (gerber/drill) which show round holes instead of oval NPTH slots.
The guess is that the properties panel allows to set independend hole size x/y (== oval hole), at the same time the dedicated "hole shape" parameter can't be changed to "oval" with the properties panel and remains at standard circular value.
Note that simply expose the "hole shape" parameter in the properties panel will not really solve the situation, as that would still allow to enter diverging information.
Maybe this can be solved at the gerber/drill file exporter stage?
Using the standard properties dialog produces good and reliable result, the output files are also correct.
Steps to reproduce
- open attached project, open board + fp-editor with 00_projectLibrary. oval_pad_with_properties_panel.zip
- look at the right oval shaped NPTH pad, looks good at first glance. (see picture 1)
- check with integrated 3D-viewer: looks also good
- now check the resulting gerber/drill files. The oval NPTH is exported as round drill (see picture 2)
- this is how the NPTH pad was created:
- copied the original footprint PinHeader_1x01
- copied the original pad1
- selected this copied pad
- enabled properties panel, with properties panel changed:
- pad type == NPTH
- pad shape == oval
- pad x==1
- pad y==3
- hole x==1
- hole y==3
- saved footprint, inserted FP into board, exported gerber/drill files, saved board, created project archive
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 8.0.1-rc2-4-g1b3cf70eef, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
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: