GerbView Incorrect display on Paste layer

Bug #1835895 reported by MichaelM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

In GerbView some features on Paste displayed with wrong diameter and offset: Paste for two round pins is offset to the right (by ~ one radius) and displayed diameter is ~2 times smaller. GCPreview shows no problems. Screenshots from both and gerber files in attached zip file.

Tags: gerbview
Revision history for this message
MichaelM (noidemmedion) wrote :
Revision history for this message
MichaelM (noidemmedion) wrote :

After inspecting gerber files my guess is that the problem is probably G03 (counterclockwise circular interpolation) mode command like this:
G03*
X13435800Y7073900I-50000J0D01*

tags: added: gerbview
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Please copy the full version information from About KiCad -> Copy Version Info.

Changed in kicad:
status: New → Incomplete
Revision history for this message
MichaelM (noidemmedion) wrote :

Application: kicad
Version: (5.1.2)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.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

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

I am unable to reproduce this using master

Application: GerbView
Version: (5.1.0-1374-g62989579a8-dirty), debug 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) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    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
Seth Hillbrand (sethh) wrote :

I also cannot reproduce on 5.1.3. @MichaelM, can you try with the 5.1.3 release and see if the problem is still present?

Otherwise, perhaps one of our Windows devs can reproduce this?

Revision history for this message
MichaelM (noidemmedion) wrote :

Ok, I will try it with 5.1.3.
One additional point is that I use KiCad over Windows-RDP /Remote Desktop/

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

I cannot reproduce on 5.1.3 and master branch on W7.

Revision history for this message
MichaelM (noidemmedion) wrote :

As far as I can see, last official release for download was 5.1.2

tried with nightbuild:
----
Application: KiCad
Version: (5.1.0-1393-gd4e9ddc14), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 7.3.0 with C++ ABI 1011

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

----

seems to be without error.

Revision history for this message
MichaelM (noidemmedion) wrote : Re: [Bug 1835895] Re: GerbView Incorrect display on Paste layer

Hi Seth

Didn't see your message in launchpad's bugtrack...

Gerber files were generated with Altium, not with KiCad.
But I mean if files are correct GerberX2 (which they seem to be), they shall be viewable with gerbview without strange artefacts, don't they?

Bye
Michael

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

@MichaelM- Yes, if the gerber files are correct, that is true. 5.1.3 was pulled due to a late-discovered bug and we released 5.1.4 this week. It should resolve this issue. You can download it at https://kicad-downloads.s3.cern.ch/index.html?prefix=windows/stable/

Revision history for this message
MichaelM (noidemmedion) wrote :

Tested the last release with the same files. Much better as in v5.1.3 but some minor offset of round pads on Paste-Layer in direction of -45 is observed. Presumable not the whole layer is offset, only the pads.
Screenshots attached.

Version info:

Application: KiCad
Version: (5.1.4)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.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

Revision history for this message
MichaelM (noidemmedion) wrote :
Revision history for this message
MichaelM (noidemmedion) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → Expired
Revision history for this message
Nick Østergaard (nickoe) wrote :

Maybe there is some minor tweak to be done here. Reopening as I think we need a secpnd opinion from a dev here.

Changed in kicad:
status: Expired → New
milestone: none → 5.1.6
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I'm not sure this is a bug in GerbView. I looked at the attached gerber files and it appears that that top paste layer centers for the two round pad are shifted slightly compared to the top copper layer centers. My raw gerber file reading is a bit rusty so if someone else with better gerber reading skills than I could take a look and confirm I would appreciate it so we can either confirm that this bug is an issue with KiCad or not.

Changed in kicad:
status: New → Incomplete
Revision history for this message
MichaelM (noidemmedion) wrote :

gerber-files shall be OK, I had checked them with both gcpreview and reference online viewer from Gerber-standard-owner (here: https://gerber.ucamco.com/)

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2553

Changed in kicad:
status: Incomplete → Expired
Changed in kicad:
importance: Undecided → Unknown
status: Expired → Fix Released
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.