Browse Source

Allow micro/buried via holes to be considered

hole_to_hole clearance should account for all holes in the board.
Previously, we had excluded non through holes from this test but that
omits via holes that can still foul a future drill hit.

Designers wanting the old behavior can explicitly set the hole_to_hole
clearance to 0mm for specific ViaType pairs
newinvert
Seth Hillbrand 3 years ago
parent
commit
597ef81e53
  1. 6
      pcbnew/drc/drc_engine.cpp

6
pcbnew/drc/drc_engine.cpp

@ -651,11 +651,7 @@ bool hasDrilledHole( const BOARD_ITEM* aItem )
switch( aItem->Type() )
{
case PCB_VIA_T:
{
const PCB_VIA* via = static_cast<const PCB_VIA*>( aItem );
return via->GetViaType() == VIATYPE::THROUGH;
}
return true;
case PCB_PAD_T:
{

Loading…
Cancel
Save