DRC error when courtyard is a circle between .04 and 0.07mm
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:/
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,
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_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: drc |
Changed in kicad: | |
assignee: | nobody → Seth Hillbrand (sethh) |
importance: | Undecided → Medium |
milestone: | none → 5.1.1 |
status: | New → In Progress |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Changed in kicad: | |
status: | Fix Released → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Fixed in revision 5eb2a33498b8cb5 fd20478357ff5f6 3e15cf5525 /git.launchpad. net/kicad/ patch/? id=5eb2a33498b8 cb5fd20478357ff 5f63e15cf5525
https:/