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
This commit is contained in:
Seth Hillbrand 2023-02-22 01:57:58 +01:00
parent 7bc976f3f4
commit 597ef81e53
1 changed files with 1 additions and 5 deletions

View File

@ -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:
{