Gerber output of roundrects uses regions instead of flashes (5.1.6/5.99)
Description
https://forum.kicad.info/t/traces-instead-of-pad-on-gerber-output/24838/43
Summary
KiCad outputs rounded rectangles as regions with ComponentPad/SMDPad attributes while the spec (https://www.ucamco.com/files/downloads/file_en/399/the-gerber-file-format-specification-revision-2020-09_en.pdf#page=55) seems to at the same time require a flashed outline macro and technically allow the way it's done currently, albeit contradicting https://www.ucamco.com/files/downloads/file_en/130/pcb-fabrication-data-a-guide_en.pdf#page=29 All pads must be flashes. All flashes must be pads.
Ucamco reference roundrect:
KiCad roundrect:
Steps to reproduce
- Plot gerber from any roundrect pad
KiCad Version
Application: KiCad
Version: 5.1.6+dfsg1-1, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.72.0 OpenSSL/1.1.1g zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.8.0 nghttp2/1.41.0 librtmp/2.3
Platform: Linux 5.8.0-1-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.67.0
OpenCASCADE Technology: 7.4.0
Curl: 7.68.0
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON