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:
parent
7bc976f3f4
commit
597ef81e53
|
@ -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…
Reference in New Issue