// // File: gas_discharge_tube_8mm_geom.txt // // Date: 17-Apr-2024 original version // // // Geometry for the Littelfuse GTCS28-351M-R10 // Gas Discharge Tube // // // This geometry is the 8 mm Gas Discharge Tube // ------ // // This is a SMD part with its long axis horizontal // and with its pin #1 to the left. // // This part is being made for the DK Board. // // The Reference Designator is on the SilkScreen Layer. // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- // // Littelfuse specifies the pads as: 1.3 mm in X by 9.0 mm in Y // with a c_to_c spacing of 5.6 mm in X // $$create_pin("gas_tube_8mm_pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$gas_tube_8mm_pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [ -0.65, -4.50, 0.65, -4.50, 0.65, 4.50, -0.65, 4.50 ] ); $$polygon( "SOLDER_MASK", , [ -0.70, -4.55, 0.70, -4.55, 0.70, 4.55, -0.70, 4.55 ] ); $$polygon( "PASTE_MASK", , [ -0.65, -4.50, 0.65, -4.50, 0.65, 4.50, -0.65, 4.50 ] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- // // Now start the layout of the 8 mm Gas Tube geometry // $$create_component("Gas_Tube_8mm", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$Gas_Tube_8mm'] ); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [9.0, 0.0]); // // Component Placement Outline for the 8 mm Gas Discharge Tube // $$initial([ -3.60, -4.65 ], , @nosnap ); $$terminal([ -3.60, 4.65 ] ); $$terminal([ 3.60, 4.65 ] ); $$terminal([ 3.60, -4.65 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -3.80, 4.85, 3.80, 4.85 ]); $$path( "SILKSCREEN", 0.20, , [ -3.80, -4.85, 3.80, -4.85 ]); $$path( "SILKSCREEN", 0.20, , [ -3.80, -4.85, -3.80, 4.85 ]); $$path( "SILKSCREEN", 0.20, , [ 3.80, -4.85, 3.80, 4.85 ]); // Reference Designator is on the SILKSCREEN Layer. $$text( "SILKSCREEN", "^$ref", 0.0, 5.7, 1.5, @BC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // Define the two equivalent pins on the Gas Discharge Tube: // pin #1 is to the left, pin #2 to the right, the axis is horizontal $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -2.80, 0.00 ]); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 2.80, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, gas_tube_8mm_pad"); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, gas_tube_8mm_pad");