False positive DRC error

Bug #1790422 reported by Fabián Inostroza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
New
Undecided
Unassigned

Bug Description

The DRC always shows that a pin is disconnected and a ratsnest is shown, see the attached image and project.

This doesn't happen in the 5.0 branch.

Application: kicad
Version: (6.0.0-rc1-dev-445-ga6325aab2), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 GnuTLS/3.5.19 zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.32.0 librtmp/2.3
Platform: Linux 4.17.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    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_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF

Tags: pcbnew
Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :
Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :
Changed in kicad:
milestone: none → 5.1.0
tags: added: pcbnew
Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :
Revision history for this message
jean-pierre charras (jp-charras) wrote :

There is no bug:

From the POV of Pcbnew the pad is actually not connected to the zone:
For calculation time reason, a pad is seen as connected to a zone only if its reference point (its center) is *inside* the zone.
Here, the pad center is not inside the zone, and it is not connected to the zone.

the commit 6765ab6975 fixed a bug that missed some ratsnests.
And the pad was seen as connected just because its ratsnest was missed.

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.