Comment 6 for bug 1753224

Revision history for this message
Jeff Young (jeyjey) wrote : Re: [Bug 1753224] Re: pcbnew: Zones->Fill All is became so slow for complex boards

Interesting.

@Tomasz, the cause of this is bumping up the number of segments in an arc. It used to always be 16 or 32 (because we mostly use them for zone corners, pad outlines, and other small features). But large arcs (drawn by the user on silk layers) plot poorly to gerber in outline mode because they still only have 16 or 32 segments.

Can we optimise zone filling to deal with a higher-segmented board outline, or do we need to figure out a way to make the patch gerber-plotting-specific?

> On 4 Mar 2018, at 15:06, Eldar Khayrullin <email address hidden> wrote:
>
>> From bisect first bad commit: [80f36ce264a58ee176dde1ad724caa482112b41f] Scale up number of segments per polygon for larger features.
> For info: my board has some arcs in Edge.Cut.
>
> --
> You received this bug notification because you are a member of KiCad Bug
> Squad, which is subscribed to KiCad.
> https://bugs.launchpad.net/bugs/1753224
>
> Title:
> pcbnew: Zones->Fill All is became so slow for complex boards
>
> Status in KiCad:
> New
>
> Bug description:
> After some updates Zone filling for complex boards became so slow.
>
> Application: kicad
> Version: 5.0.0-rc2-dev-unknown-aeae32b~62~ubuntu17.10.1, release build
> Libraries:
> wxWidgets 3.0.3
> libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
> Platform: Linux 4.13.0-36-generic x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
> Boost: 1.62.0
> Curl: 7.55.1
> Compiler: GCC 7.2.0 with C++ ABI 1011
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=ON
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1753224/+subscriptions