// // file: single_tp_smd_pad_geom.txt // // date: 27-Nov-2023 Original Version for DK // date: 17-May-2024 Change Pad Size // // // Geometry for a Single Test Point SMD Pad Component // ------------------------- // // This geometry is a Single SMD Pad component. // // It can be used where you want a Test Point or // where you want access to some signal. // // The SMD Pad is 1.3 mm by 1.3 mm square // i.e. just large enough to solder a "white wire" // to in an emergency. // // I made this pad a square to help avoid it being // confused with a fiducial mark. // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- // // Start the Pin/Pad Geometry for this Component // $$create_pin("single_smd_comp_pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$single_smd_comp_pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [ -0.65, -0.65, 0.65, -0.65, 0.65, 0.65, -0.65, 0.65 ]); $$polygon( "SOLDER_MASK", , [ -0.70, -0.70, 0.70, -0.70, 0.70, 0.70, -0.70, 0.70 ]); // //$$polygon( "PASTE_MASK", , [ -0.65, -0.65, 0.65, -0.65, 0.65, 0.65, -0.65, 0.65 ]); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- // // Start the actual Component Geometry // $$create_component("single_smd_comp", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$single_smd_comp' ] ); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [0.02, 0.0]); // // This component is Not in BOM. // $$attribute( "COMPONENT_NOT_IN_BOM" ); // // Component Placement Outline // $$initial([ -0.80, -0.80 ], , @nosnap ); $$terminal([ -0.80, 0.80 ] ); $$terminal([ 0.80, 0.80 ] ); $$terminal([ 0.80, -0.80 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen // $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -0.90, 0.90, 0.90, 0.90 ]); $$path( "SILKSCREEN", 0.20, , [ -0.90, -0.90, 0.90, -0.90 ]); $$path( "SILKSCREEN", 0.20, , [ -0.90, -0.90, -0.90, 0.90 ]); $$path( "SILKSCREEN", 0.20, , [ 0.90, -0.90, 0.90, 0.90 ]); // // Reference Designator is on the SILKSCREEN layer. // // //$$text( "SILKSCREEN", "^$ref", 0.0, 0.0, 1.5, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // // Define the pin for the Single SMD Pad Component // $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ 0.0, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, single_smd_comp_pad" );