// // file: molex_header_2x5_2mm_st_smd_geom.txt // // date: 16-Aug-2023 Start work on the 2x5 header for the JTAG connectors // on the DK Board. This 2x5 geom comes from the // molex_header_2x20_2mm_st_smd_geom.txt part. // // // // This is the DK Board geometry for a 10 pin SMD 2x5 // 2mm male header. It is used on the DK for // JTAG connections. // // Molex Part No. 87832-1020 or 87832-1021 // Milli-Grid 2x5 10 pin 2mm metric smd straight pin header // // This geometry is layed out with its long axis vertical. // Pin #1 is SE, Pin #2 is SW, Pin #9 is NE, Pin #10 is NW // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- // // The Pin-Pad Stack for the SMD pads for this geometry // come from the molex_header_2x20_2mm_st_smd_geom.txt // // This SMD pad definition has the unfortunate name // HEADER_2X20_PAD // //---------------------------------------------------------------------------- $$create_component("Header_2x5_2mm", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'CO$Header_2x5_2mm']); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "7.60", , @scale , , [0.0, 0.0] ); // // Component Placement Outline for the Header_2x5_2mm // $$initial([ 3.90, 5.00 ], , @nosnap ); $$terminal([ -3.90, 5.00 ] ); $$terminal([ -3.90, -5.00 ] ); $$terminal([ 3.90, -5.00 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // Outer 2 horizontal and 12 vertical lines $$path( "SILKSCREEN", 0.20 , , [ -3.15, 6.33, 3.15, 6.33 ]); $$path( "SILKSCREEN", 0.20 , , [ 3.15, 4.80, 3.15, 6.33 ]); $$path( "SILKSCREEN", 0.20 , , [ -3.15, 4.80, -3.15, 6.33 ]); $$path( "SILKSCREEN", 0.20 , , [ 3.15, 2.80, 3.15, 3.20 ]); //path( "SILKSCREEN", 0.20 , , [ 3.15, 0.80, 3.15, 1.20 ]); //path( "SILKSCREEN", 0.20 , , [ 3.15, -0.80, 3.15, -1.20 ]); $$path( "SILKSCREEN", 0.20 , , [ 3.15, -2.80, 3.15, -3.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -3.15, 2.80, -3.15, 3.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -3.15, 0.80, -3.15, 1.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -3.15, -0.80, -3.15, -1.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -3.15, -2.80, -3.15, -3.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -3.15, -4.80, -3.15, -6.33 ]); $$path( "SILKSCREEN", 0.20 , , [ 3.15, -4.80, 3.15, -6.33 ]); $$path( "SILKSCREEN", 0.20 , , [ -3.15, -6.33, 3.15, -6.33 ]); // Inner 2 horizontal and 11 vertical lines $$path( "SILKSCREEN", 0.20 , , [ -2.25, 5.43, 2.25, 5.43 ]); $$path( "SILKSCREEN", 0.20 , , [ 2.25, 4.80, 2.25, 5.43 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.25, 4.80, -2.25, 5.43 ]); $$path( "SILKSCREEN", 0.20 , , [ 2.25, 2.80, 2.25, 3.20 ]); //path( "SILKSCREEN", 0.20 , , [ 2.25, 0.80, 2.25, 1.20 ]); //path( "SILKSCREEN", 0.20 , , [ 2.25, -0.80, 2.25, -1.20 ]); $$path( "SILKSCREEN", 0.20 , , [ 2.25, -2.80, 2.25, -3.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.25, 2.80, -2.25, 3.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.25, 0.80, -2.25, 1.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.25, -0.80, -2.25, -1.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.25, -2.80, -2.25, -3.20 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.25, -4.80, -2.25, -5.43 ]); $$path( "SILKSCREEN", 0.20 , , [ 2.25, -4.80, 2.25, -5.43 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.25, -5.43, 2.25, -5.43 ]); // 3 sides of the notch that is on the side with the odd pin numbers $$path( "SILKSCREEN", 0.20 , , [ 1.50, 1.00, 4.20, 1.00] ); $$path( "SILKSCREEN", 0.20 , , [ 1.50, -1.00, 4.20, -1.00] ); $$path( "SILKSCREEN", 0.20 , , [ 4.00, 1.00, 4.00, -1.00] ); $$path( "SILKSCREEN", 0.20 , , [ 4.10, 1.00, 4.10, -1.00] ); $$path( "SILKSCREEN", 0.20 , , [ 4.20, 1.00, 4.20, -1.00] ); // Reference Designator $$text( "SILKSCREEN", "^$ref", 5.7, 0.0, 2.5, @CC, 90, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // Mounting Holes 1.00 mm diameter Include relief circles for the Power Planes $$attribute( "DRILL_DEFINITION_UNPLATED", "1.00", , @scale , , [ 0.00, 3.00]); $$attribute( "DRILL_DEFINITION_UNPLATED", "1.00", , @scale , , [ 0.00, -3.00]); $$circle( "POWER", 0.00, 3.00, 1.5, 0.0); $$circle( "POWER", 0.00, -3.00, 1.5, 0.0); // Right hand side column of pins odd pins #9 is at the top $$attribute( "COMPONENT_PIN_DEFINITION", "9", , @scale , , [ 2.13, 4.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "9, HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "7", , @scale , , [ 2.13, 2.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "7, HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "5", , @scale , , [ 2.13, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "5, HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "3", , @scale , , [ 2.13, -2.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "3, HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ 2.13, -4.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, HEADER_2X20_PAD"); // Left hand side column of pins even pins #10 is at the top $$attribute( "COMPONENT_PIN_DEFINITION", "10", , @scale , , [ -2.13, 4.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "10,HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "8", , @scale , , [ -2.13, 2.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "8, HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "6", , @scale , , [ -2.13, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "6, HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "4", , @scale , , [ -2.13, -2.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "4, HEADER_2X20_PAD"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ -2.13, -4.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, HEADER_2X20_PAD");