specctra_export: fix unit conv PCB iu -> DSN
From Master branch, commit 28028c941e
Fixes #14656
https://gitlab.com/kicad/code/kicad/issues/14656
This commit is contained in:
parent
878f136951
commit
d0069e0e1d
|
@ -621,11 +621,11 @@ IMAGE* SPECCTRA_DB::makeIMAGE( BOARD* aBoard, FOOTPRINT* aFootprint )
|
||||||
double diameter = scale( pad->GetDrillSize().x );
|
double diameter = scale( pad->GetDrillSize().x );
|
||||||
POINT vertex = mapPt( pad->GetPos0() );
|
POINT vertex = mapPt( pad->GetPos0() );
|
||||||
|
|
||||||
diameter += aBoard->GetDesignSettings().m_HoleClearance * 2;
|
diameter += scale( aBoard->GetDesignSettings().m_HoleClearance * 2 );
|
||||||
|
|
||||||
int layerCount = aBoard->GetCopperLayerCount();
|
int layerCount = aBoard->GetCopperLayerCount();
|
||||||
|
|
||||||
for( int layer=0; layer<layerCount; ++layer )
|
for( int layer=0; layer<layerCount; ++layer )
|
||||||
{
|
{
|
||||||
KEEPOUT* keepout = new KEEPOUT( image, T_keepout );
|
KEEPOUT* keepout = new KEEPOUT( image, T_keepout );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue