From f8c92e355b6240a8334764e32c2c16effd3f988d Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 4 Apr 2022 20:46:56 +0100 Subject: [PATCH] Plating thickness appears on both sides of hole wall. --- pcbnew/drc/drc_test_provider_copper_clearance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/drc/drc_test_provider_copper_clearance.cpp b/pcbnew/drc/drc_test_provider_copper_clearance.cpp index 0ebb64b2c1..d04647f8e0 100644 --- a/pcbnew/drc/drc_test_provider_copper_clearance.cpp +++ b/pcbnew/drc/drc_test_provider_copper_clearance.cpp @@ -428,9 +428,9 @@ void DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZones( BOARD_ITEM* aItem int size = hole->GetWidth(); // Note: drill size represents finish size, which means the actual hole - // size is the plating thickness larger. + // size is 2x the plating thickness larger. if( pad->GetAttribute() == PAD_ATTRIB::PTH ) - size += m_board->GetDesignSettings().GetHolePlatingThickness(); + size += 2 * m_board->GetDesignSettings().GetHolePlatingThickness(); itemShape = std::make_shared( hole->GetSeg(), size ); }