kicad-developers team mailing list archive
Mailing list archive
PCBNEW DRC with rotated rectangular pads (partial fix in r1952)
Jonas Diemer <diemer@...>
Fri, 4 Sep 2009 17:47:17 +0200
KMail/1.11.4 (Linux/2.6.28-15-generic; KDE/4.2.4; i686; ; )
find attached a board that generates a false alert in DRC. A "pad near pad"
error is emitted for every pad of a TQFP-32.
The problem seems to occur only if the footprint is rotated by 45°+n*90° (450,
This is due to an incorrect check of orientation in drc.h for the "trivial"
case that both rectangular pads are oriented by multiple of 90°. The old check
only tested if both pads were relatively aligned by a multiple of 90°, which
was also true if both were rotated e.g. by 45°.
I fixed this in r1952.
I also noticed that other orientations are NOT CHECKED AT ALL, which basically
means that DRC errors are not detected for rectangular pads that are not
aligned to 90°!!! This is kind of bad, although it is marked as a TODO.
Unfortunately, the fix is non-trivial (at least to me)...
--Boundary-00=_GaToKwOe0BGlmoi Content-Type: text/plain;
[Attachment content not displayed.] --Boundary-00=_GaToKwOe0BGlmoi--