Odd polygon hatch fill behaviour
Description
Adding a polygon/rectangle with a hatch fill on User layer isn't filled completely, but avoids the top layer component courtyards. Changing the layer type (off-board/auxiliary) has no effect on the behaviour. Changing to a solid fill demonstrates the expected behaviour, where all other layer information is ignored and is filled completely.
This behaviour is consentient between a polygon and rectangles and any of the hatch types.
Steps to reproduce
- Create new layout.
- Place a component with a courtyard onto the top layer.
- Place a rectangle or polygon and any User layer.
- Change to fill type to 'Hatch'; the hatch will not be filled within the courtyard area.
- Changing fill type to 'solid' shows expected behaviour.
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 10.0.3, release build
Libraries:
wxWidgets 3.3.2
FreeType 2.13.3
HarfBuzz 12.3.0
FontConfig 2.17.1
Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics 630, 4.6.0 - Build 31.0.101.2111
wxWidgets: 3.3.2 (wchar_t,STL containers)
Boost: 1.90.0
OCC: 7.9.2
Curl: 8.18.0
ngspice: 46
Compiler: Visual C++ 1944 without C++ ABI
KICAD_IPC_API=ON
KICAD_USE_PCH=OFF
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)