Loading eeschema/build_BOM.cpp +17 −0 Original line number Diff line number Diff line Loading @@ -587,7 +587,11 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( }; // Print comment line: #if defined(KICAD_GOST) fprintf( f, "ref%cvalue%cdatasheet", s_ExportSeparatorSymbol,s_ExportSeparatorSymbol ); #else fprintf( f, "ref%cvalue", s_ExportSeparatorSymbol ); #endif if( aIncludeSubComponents ) { Loading Loading @@ -655,11 +659,24 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( sprintf( CmpName + strlen( CmpName ), "%c", Unit ); if( CompactForm ) #if defined(KICAD_GOST) fprintf( f, "%s%c%s%c%s", CmpName, s_ExportSeparatorSymbol, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ), s_ExportSeparatorSymbol, CONV_TO_UTF8( DrawLibItem->GetField( DATASHEET )->m_Text ) ); #else fprintf( f, "%s%c%s", CmpName, s_ExportSeparatorSymbol, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ) ); #endif else #if defined(KICAD_GOST) fprintf( f, "| %-10s %-12s %-20s", CmpName, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ), CONV_TO_UTF8( DrawLibItem->GetField( DATASHEET )->m_Text ) ); #else fprintf( f, "| %-10s %-12s", CmpName, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ) ); #endif if( aIncludeSubComponents ) { Loading eeschema/class_schematic_items.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ * the actual pen size is default value * BUS_WIDTH_EXPAND */ #if defined(KICAD_GOST) #define BUS_WIDTH_EXPAND 2 #define BUS_WIDTH_EXPAND 3.6 #else #define BUS_WIDTH_EXPAND 1.4 #endif Loading Loading
eeschema/build_BOM.cpp +17 −0 Original line number Diff line number Diff line Loading @@ -587,7 +587,11 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( }; // Print comment line: #if defined(KICAD_GOST) fprintf( f, "ref%cvalue%cdatasheet", s_ExportSeparatorSymbol,s_ExportSeparatorSymbol ); #else fprintf( f, "ref%cvalue", s_ExportSeparatorSymbol ); #endif if( aIncludeSubComponents ) { Loading Loading @@ -655,11 +659,24 @@ int DIALOG_BUILD_BOM::PrintComponentsListByRef( sprintf( CmpName + strlen( CmpName ), "%c", Unit ); if( CompactForm ) #if defined(KICAD_GOST) fprintf( f, "%s%c%s%c%s", CmpName, s_ExportSeparatorSymbol, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ), s_ExportSeparatorSymbol, CONV_TO_UTF8( DrawLibItem->GetField( DATASHEET )->m_Text ) ); #else fprintf( f, "%s%c%s", CmpName, s_ExportSeparatorSymbol, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ) ); #endif else #if defined(KICAD_GOST) fprintf( f, "| %-10s %-12s %-20s", CmpName, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ), CONV_TO_UTF8( DrawLibItem->GetField( DATASHEET )->m_Text ) ); #else fprintf( f, "| %-10s %-12s", CmpName, CONV_TO_UTF8( DrawLibItem->GetField( VALUE )->m_Text ) ); #endif if( aIncludeSubComponents ) { Loading
eeschema/class_schematic_items.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ * the actual pen size is default value * BUS_WIDTH_EXPAND */ #if defined(KICAD_GOST) #define BUS_WIDTH_EXPAND 2 #define BUS_WIDTH_EXPAND 3.6 #else #define BUS_WIDTH_EXPAND 1.4 #endif Loading