DRC error when courtyard is a circle between .04 and 0.07mm

Bug #1822641 reported by Joel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Seth Hillbrand

Bug Description

I get a "Footprint has Incorrect courtyard (not a closed shape)" DRC error when the courtyard is defined as a circle with a diameter between 0.04mm and 0.07mm. The error has started appearing when I updated to Kicad 5.1 (it was not present in v4 or v5.0). I use Windows 10.

I have some parts that are meant to be on top of others: PCB elements, like predesigned track patterns or PCB antennas, silkscreen elements, like text that I want to keep as a “footprint”, or logos, etc… I don’t want to trigger DRC errors with them, but if I define a courtyard, it will trigger a courtyard collision, and if I don’t, it will trigger a lack of courtyard error. I settled for a small circle in the courtyard area (because it’s only two clicks, instead of 4 of a rectangle, and I like the circle better). I noticed that the error only triggered for a certain part and not for others with the same circular courtyard. After some testing, I noticed that the error would only trigger if the circle radius is between 0.037 and 0.072mm. My circles' lines are 0.05mm wide. Forum user paulvdh made a test PCB that can be used to trigger the error. It's attached to this bug report. There are additional details in that forum post:

https://forum.kicad.info/t/incorrect-courtyard-drc-error/16061

This is my version info:
Application: kicad
Version: (5.1.0)-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 8 (build 9200), 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

Tags: drc
Revision history for this message
Joel (jsantosrico) wrote :
tags: added: drc
Seth Hillbrand (sethh)
Changed in kicad:
assignee: nobody → Seth Hillbrand (sethh)
importance: Undecided → Medium
milestone: none → 5.1.1
status: New → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: In Progress → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
Changed in kicad:
status: Fix Released → Fix Committed
Changed in kicad:
status: Fix Committed → 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.