// // file: single_tp_smd_pad_geom.txt // // date: 27-Nov-2023 Original Version for DK // // // 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.5 mm by 1.5 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", , [ -1.50, -1.50, 1.50, -1.50, 1.50, 1.50, -1.50, 1.50 ]); $$polygon( "SOLDER_MASK", , [ -1.55, -1.55, 1.55, -1.55, 1.55, 1.55, -1.55, 1.55 ]); // //$$polygon( "PASTE_MASK", , [ -1.50, -1.50, 1.50, -1.50, 1.50, 1.50, -1.50, 1.50 ]); $$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([ -1.60, -1.60 ], , @nosnap ); $$terminal([ -1.60, 1.60 ] ); $$terminal([ 1.60, 1.60 ] ); $$terminal([ 1.60, -1.60 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen // $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -1.75, 1.75, 1.75, 1.75 ]); $$path( "SILKSCREEN", 0.20, , [ -1.75, -1.75, 1.75, -1.75 ]); $$path( "SILKSCREEN", 0.20, , [ -1.75, -1.75, -1.75, 1.75 ]); $$path( "SILKSCREEN", 0.20, , [ 1.75, -1.75, 1.75, 1.75 ]); // // 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" );