From ee56d58173841fdfb1b2d48c2ab63005c0d80204 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 27 Oct 2021 10:39:58 -0700 Subject: [PATCH] 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' --- pcbnew/drc_clearance_test_functions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/drc_clearance_test_functions.cpp b/pcbnew/drc_clearance_test_functions.cpp index 9af021a36b..ae540b4c5f 100644 --- a/pcbnew/drc_clearance_test_functions.cpp +++ b/pcbnew/drc_clearance_test_functions.cpp @@ -296,6 +296,8 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart, bool aTestPads, bool aTestZ err = false; else if( layer1 == F_Cu && layer2 == In1_Cu ) err = false; + else if( static_cast( layer2 ) - static_cast( layer1 ) == 1 ) + err = false; if( err ) {