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 04cdca837e
commit a8faa0e615
1 changed files with 2 additions and 0 deletions

View File

@ -629,6 +629,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 )