From d62d3b8e215062278b2fe27cba50f6e27b743dff Mon Sep 17 00:00:00 2001 From: Eldar Khayrullin Date: Wed, 13 Dec 2017 20:47:03 +0300 Subject: [PATCH] pcad2kicadpcb_plugin: map layers Top/Bot Assy to F/B Fab --- pcbnew/pcad2kicadpcb_plugin/pcb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp index 8b9535b66e..35ed2fee31 100644 --- a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp +++ b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp @@ -487,7 +487,7 @@ void PCB::MapLayer( XNODE* aNode ) lName = lName.MakeUpper(); if( lName == wxT( "TOP ASSY" ) ) - KiCadLayer = Cmts_User; + KiCadLayer = F_Fab; else if( lName == wxT( "TOP SILK" ) ) KiCadLayer = F_SilkS; else if( lName == wxT( "TOP PASTE" ) ) @@ -505,7 +505,7 @@ void PCB::MapLayer( XNODE* aNode ) else if( lName == wxT( "BOT SILK" ) ) KiCadLayer = B_SilkS; else if( lName == wxT( "BOT ASSY" ) ) - KiCadLayer = Dwgs_User; + KiCadLayer = B_Fab; else if( lName == wxT( "BOARD" ) ) KiCadLayer = Edge_Cuts; else