kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #11999
Re: DRC pads
On 01/15/14 13:40, ml wrote:
> Hi!
>
> I found that the DRC passes when two pads within the same net but different
> footprints are overlapping. The code is (pcbnew/drc.cpp):
>
> // The pad must be in a net (i.e pt_pad->GetNet() != 0 ),
> // But no problem if pads have the same netcode (same net)
> if( pad->GetNet() && ( aRefPad->GetNet() == pad->GetNet() ) )
> continue;
>
> Is there any particular reason to allow two pads with the same net to overlap?
> This is actually very wrong. If you have two SMD components with overlapping
> pads then you can't solder them.
Yes and no, sometimes you want something like two resistors for pulling
a pin high/low - and you only need it in one configuration. Saving
space, one might do something like #=# # instead of #=#-# #. Problems
may arise with THT pads, if the holes are not perfectly overlapping
(worst case, snapped drill in production).
I would opt for a warning or even better, something configurable like
the ERC in eeschema.
imp
Follow ups
References