diff --git a/eeschema/sch_eagle_plugin.cpp b/eeschema/sch_eagle_plugin.cpp index e1bf1a90c1..99c79cfbe3 100644 --- a/eeschema/sch_eagle_plugin.cpp +++ b/eeschema/sch_eagle_plugin.cpp @@ -1452,14 +1452,21 @@ bool SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode, std::unique_ptrSetNumberTextSize( 0 ); } + // Eagle does not connect multiple NC pins together when they are stacked. + // KiCad will do this for pins that are coincident. We opt here for correct + // schematic netlist and leave out the multiple NC pins when stacked. for( unsigned i = 0; i < pads.GetCount(); i++) { + if( pin->GetType() == PIN_NC && i > 0) + break; + LIB_PIN* apin = new LIB_PIN( *pin ); wxString padname( pads[i] ); apin->SetNumber( padname ); aPart->AddDrawItem( apin ); } + break; } }