Browse Source

Pcbnew DRC: allow technical->copper pad overlap

This permits things like mask "pads" over copper pads for custom mask openings.
pull/10/head
Andrew Zonenberg 10 years ago
committed by Chris Pavlina
parent
commit
e91dab816c
  1. 7
      pcbnew/drc.cpp

7
pcbnew/drc.cpp

@ -955,6 +955,13 @@ bool DRC::doPadToPadsDrc( D_PAD* aRefPad, D_PAD** aStart, D_PAD** aEnd, int x_li
if( pad->PadNameEqual( aRefPad ) )
continue;
}
// if either pad has no drill and is only on technical layers, not a clearance violation
if( ( ( pad->GetLayerSet() & layerMask ) == 0 && !pad->GetDrillSize().x ) ||
( ( aRefPad->GetLayerSet() & layerMask ) == 0 && !aRefPad->GetDrillSize().x ) )
{
continue;
}
if( !checkClearancePadToPad( aRefPad, pad ) )
{

Loading…
Cancel
Save