CADSTAR PCB: Force white silkscreen and green soldermask

We don't know the actual colour from the design, but this is the most
common used in the industry.
This commit is contained in:
Roberto Fernandez Bautista 2021-11-05 16:31:54 +00:00
parent a153951be4
commit 8314251fa1
1 changed files with 8 additions and 0 deletions

View File

@ -443,6 +443,14 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadBoardStackup()
++stackIndex;
}
else if( item->GetType() == BOARD_STACKUP_ITEM_TYPE::BS_ITEM_TYPE_SILKSCREEN )
{
item->SetColor( "White" );
}
else if( item->GetType() == BOARD_STACKUP_ITEM_TYPE::BS_ITEM_TYPE_SOLDERMASK )
{
item->SetColor( "Green" );
}
}
int thickness = stackup.BuildBoardThicknessFromStackup();