CADSTAR PCB: Fix incorrect solder mask/paste clearance

Need to divide by two as this is a clearance, not diameter.
This commit is contained in:
Roberto Fernandez Bautista 2021-03-28 15:17:20 +01:00 committed by Wayne Stambaugh
parent ad2043eda6
commit b151dd02b9
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ PAD* CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad( const COMPONENT_PAD& aCadstarPad,
}
else
{
int newMargin = getKiCadLength( shape.Size - csPadcode.Shape.Size );
int newMargin = getKiCadLength( shape.Size - csPadcode.Shape.Size ) / 2;
if( kiLayer == F_Mask || kiLayer == B_Mask )
{