Add hole clearance to moutning hole keepouts for SPECCTRA.

Fixes https://gitlab.com/kicad/code/kicad/issues/14439
This commit is contained in:
Jeff Young 2023-04-01 12:06:07 +01:00
parent 85038c2b46
commit cb8f6db68d
1 changed files with 2 additions and 0 deletions

View File

@ -621,6 +621,8 @@ IMAGE* SPECCTRA_DB::makeIMAGE( BOARD* aBoard, FOOTPRINT* aFootprint )
double diameter = scale( pad->GetDrillSize().x );
POINT vertex = mapPt( pad->GetPos0() );
diameter += aBoard->GetDesignSettings().m_HoleClearance * 2;
int layerCount = aBoard->GetCopperLayerCount();
for( int layer=0; layer<layerCount; ++layer )