Gerber Export: incorrect filled areas outline thickness

Bug #1848929 reported by Thomas Wischnack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Undecided
jean-pierre charras

Bug Description

Gerber export with Pcbnew. Load gerber files in Gerbview. Gerbview complains about "missing D Code definition; perhaps old ...". Checking Gerber with external gerber viewers shows same result; wires/tracks/copper areas with wrong thicknes.
Problem exists only in some gerber files; always the same within one project, but not always the same file in different projects. Problem exists in all projects.

Application: Pcbnew
Version: 5.99.0-unknown-846397c~100~ubuntu19.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3
Platform: Linux 5.0.0-32-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Oct 20 2019 11:50:16
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    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=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Please, send us a board file that exhibit the issue and the broken Gerber file.
Thanks.

tags: added: export gerber pcbnew plot
tags: added: gerbview
Revision history for this message
Thomas Wischnack (dl3it) wrote :

here we go... board-file and generated gerbers... one critical layer is e.g. .gtl

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Hi Thomas

the .gtl gerber is OK, works fine, and has the aperture list (DCodes).

The only 2 files that has not dcode are Power-F_Mask.gts and Power-F_Mask.gbs.
But this is OK because it contains only polygons (Regions in Gerber).
Gerbview complains only for these 2 files, but this is a overzealous complaint.

Revision history for this message
Thomas Wischnack (dl3it) wrote :

Hi Jean-Pierre,

I added 3 screenshots.
- Kicad: what it should like
- GerbView: check e.g. lower right corner; all planes mix togheter
- JLCPCB: same as GerbView

Maybe this explains a bit my findings and my assumption that the error message comes up is missleading me. The version from yesterday gave results as expected, and no error message.

Revision history for this message
jean-pierre charras (jp-charras) wrote :

OK.
There is an issue related to filled zones.

Changed in kicad:
assignee: nobody → jean-pierre charras (jp-charras)
milestone: none → 6.0.0-rc1
summary: - Gerber Export: no D-Code definition
+ Gerber Export: incorrect filled areas outline thickness
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: New → Fix Committed
Revision history for this message
Thomas Wischnack (dl3it) wrote :

Hi Jean-Pierre,

i have built kicad on my own, hopefully including your fix. Seems to work again as expected.
Thanks for the quick fix :-)

Application: KiCad
Version: (5.99.0-249-g3fffd042d), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3
Platform: Linux 5.0.0-32-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Oct 21 2019 11:35:39
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    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=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Thanks for the feedback.

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.