Pcbnew: Add polygon fill styles
I would like to have polygons which are not solidly-filled as all polys are now.
Why? For clutter reduction, mostly if the fill is on a non-copper layer. When working with the board, filled polys on non-copper layers block the visibility of copper elements which are of greater importance. As an example, route tracks on a board with polys on B.Mask and F.SilkS and then adjust opacity to see the limitations.
I expect constraints in v6 will be captured with polygons (keepout areas, constraint regions, etc.) and then the board will be cluttered with overlapping polys. Being able to keep copper polys solid(er) while visually minimizing non-copper polys will be very helpful then.
Various styles such as hatched, unfilled, striped (candy cane), stipple with dots, unfilled circuits, triangles, "+", etc. would allow a non-copper poly to be seen but not visually interfere with laying out copper. Another option would be allow setting transparency of copper and non-copper polys separately.
Note that #2219 (closed) is similar but asks specifically for cross-hatching and not everything else here.
Application: KiCad
Version: (5.1.5)-2, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.2.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON