Don't raise an error for valid microvias

When the layers are adjacent, the microvia is _probably_ valid.  This is
not the case when trying to run a microvia through the core material but
without stackup information, we cannot be certain.

Note that microvias are not required in current manufacturing techniques
to be blind.

KSC Issue '400'
This commit is contained in:
Seth Hillbrand 2021-10-27 10:39:58 -07:00
parent 9f8f2a2449
commit ee56d58173
1 changed files with 2 additions and 0 deletions

View File

@ -296,6 +296,8 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart, bool aTestPads, bool aTestZ
err = false; err = false;
else if( layer1 == F_Cu && layer2 == In1_Cu ) else if( layer1 == F_Cu && layer2 == In1_Cu )
err = false; err = false;
else if( static_cast<int>( layer2 ) - static_cast<int>( layer1 ) == 1 )
err = false;
if( err ) if( err )
{ {