// // file: tsot_23_8 // // // date: 19-Jan-2023 Initial version for Disco // // 22-Aug-2023 Edit to standardize the Silkscreen // // // // Geometry for TSOT-23-8 package for Disco-Kraken board. // // This geometry is for the LT3060 voltage regulator chip. // // This geometry is based on the data from LT at the back // of their datasheet for the LT3060. I have made it // a little more conservative with slightly longer pads. // // // In this geometry the long axis of the component is vertical // with its pin #1 in the upper left-hand corner. // // Details: // // The pads in this geom are: 1.24 mm in X by 0.40 mm in Y // // Pad Center to Pad Center in X is: 2.62 mm +- 1.31 mm // // Pad Center to Pad Center in Y is: 0.650 mm // // The Outer edges of the pads are 3.86 mm apart in X // // The Inner edges of the pads are 1.38 mm apart in X // // Vertically the edges of the pads are 0.250 mm apart in Y // // Vertically between pads the neck of Solder Mask is 0.150 mm wide in Y // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- $$create_pin("TSOT_23_8_PAD", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'PI$TSOT_23_8_PAD']); $$point_mode(@vertex); $$polygon( "PAD", , [ 0.620, 0.200, -0.620, 0.200, -0.620, -0.200, 0.620, -0.200 ]); $$polygon( "SOLDER_MASK", , [ 0.670, 0.250, -0.670, 0.250, -0.670, -0.250, 0.670, -0.250 ]); $$polygon( "PASTE_MASK", , [ 0.620, 0.200, -0.620, 0.200, -0.620, -0.200, 0.620, -0.200 ]); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- $$create_component("TSOT_23_8", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'CO$TSOT_23_8']); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "1.0", , @scale , , [0.0, 0.0] ); // Component Placement Outline for the TSOP_23_8 $$initial([ 2.20, 1.40 ], , @nosnap ); $$terminal([ -2.20, 1.40 ] ); $$terminal([ -2.20, -1.40 ] ); $$terminal([ 2.20, -1.40 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); $$path( "SILKSCREEN", 0.20 , , [ -2.35, 1.55, 2.35, 1.55 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.35, -1.55, 2.35, -1.55 ]); $$path( "SILKSCREEN", 0.20 , , [ -2.35, 1.55, -2.35, -1.55 ]); $$path( "SILKSCREEN", 0.20 , , [ 2.35, 1.55, 2.35, -1.55 ]); // Pin #1 Marker $$circle( "SILKSCREEN_1", -2.90, 2.20, 0.4, 0.20 ); $$circle( "SILKSCREEN_1", -2.90, 2.20, 0.6, 0.20 ); $$circle( "SILKSCREEN_1", -2.90, 2.20, 0.8, 0.20 ); $$circle( "SILKSCREEN_1", -2.90, 2.20, 1.0, 0.20 ); $$text( "SILKSCREEN", "^$ref", 0.0, -2.10, 2.5, @TC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // // Define the pins for the TSOP-23-8 // $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -1.310, 0.975 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, TSOT_23_8_PAD "); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ -1.310, 0.325 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, TSOT_23_8_PAD "); $$attribute( "COMPONENT_PIN_DEFINITION", "3", , @scale , , [ -1.310, -0.325 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "3, TSOT_23_8_PAD "); $$attribute( "COMPONENT_PIN_DEFINITION", "4", , @scale , , [ -1.310, -0.975 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "4, TSOT_23_8_PAD "); $$attribute( "COMPONENT_PIN_DEFINITION", "5", , @scale , , [ 1.310, -0.975 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "5, TSOT_23_8_PAD "); $$attribute( "COMPONENT_PIN_DEFINITION", "6", , @scale , , [ 1.310, -0.325]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "6, TSOT_23_8_PAD "); $$attribute( "COMPONENT_PIN_DEFINITION", "7", , @scale , , [ 1.310, 0.325]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "7, TSOT_23_8_PAD "); $$attribute( "COMPONENT_PIN_DEFINITION", "8", , @scale , , [ 1.310, 0.975]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "8, TSOT_23_8_PAD ");