Hatched zones are very slow

Bug #1847764 reported by Mishka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Medium
Seth Hillbrand

Bug Description

Hi,

as I've mentioned in my another ticket, I'm trying to implement a flexible PCB in KiCad. Recently I've switched to development branch because of the hatched copper pour zones. Thank you very much for adding them to the pcbnew!

However, the hatched zones are very slow. When instant refill of my zones takes about a minute, export to Gerber files took it one hour and 30 minutes. At the same time, export with all zones set to solid takes seconds.

Is it a known issue? Is there any way to improve this?

Thank you!

Application: Pcbnew
Version: (5.99.0-216-gf0b29de6e), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
Platform: Mac OS X (Darwin 17.7.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    Build date: Oct 9 2019 04:52:13
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

Build settings:
    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
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF

Tags: pcbnew
Revision history for this message
Seth Hillbrand (sethh) wrote :

I've tested with a few boards I have, setting multiple layers to different combinations of hatched and exporting but I don't see a substantial slowdown. Maybe 10s maximum export time.

Note that the debug builds will run more slowly than a release is expected to. That said, there shouldn't be an excessive export time.

Can you attach a board file that takes a long time to export for you?

Changed in kicad:
status: New → Incomplete
Revision history for this message
Mishka (mike-volokhov) wrote : Re: [Bug 1847764] Re: Hatched zones are very slow

Hi Seth,

10 seconds is terrible difference indeed.

Would you mind if I'll send it directly to you?

--
Mishka

Revision history for this message
Seth Hillbrand (sethh) wrote :

Please do. My contact information is found on my user link.

Revision history for this message
Mishka (mike-volokhov) wrote :

Sent to @sneakemail.com. Thank you!

Seth Hillbrand (sethh)
Changed in kicad:
status: Incomplete → Triaged
importance: Undecided → Medium
milestone: none → 6.0.0-rc1
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision e291576c3824a08908565024693ca9494f22a963
https://git.launchpad.net/kicad/patch/?id=e291576c3824a08908565024693ca9494f22a963

Changed in kicad:
status: Triaged → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
Mishka (mike-volokhov) wrote :

Hi Seth,

just tested the patch - works pretty neat for me. Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.