// // file: tant_v_with_bars // // Rev : 29-Jun-2016 Original for Hub // // // // Standard geometry for the "V" Case Tantalum Capacitor // // with Thick Bars at the pin #1 positive end // and Ref Designator under // // The layout of this geometry is with its long axis // Horizontal and Pin #1 (Positivie Pin) to the Left. // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- $$create_pin("Tant_V_Pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$Tant_V_Pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [-1.275, -1.350, 1.275, -1.350, 1.275, 1.350, -1.275, 1.350] ); $$polygon( "SOLDER_MASK", , [-1.325, -1.400, 1.325, -1.400, 1.325, 1.400, -1.325, 1.400] ); $$polygon( "PASTE_MASK", , [-1.275, -1.350, 1.275, -1.350, 1.275, 1.350, -1.275, 1.350] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- $$create_component("Tant_V_Case", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$Tant_V_Case'] ); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [0.028, 0.0]); // // Component Placement Outline for the Tant_V_Case // $$initial([ 5.00, 2.50 ], , @nosnap ); $$terminal([ -5.00, 2.50 ] ); $$terminal([ -5.00, -2.50 ] ); $$terminal([ 5.00, -2.50 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); $$template_line_style( @Solid ); // // Silkscreen // // the top and bottom outside lines $$path( "SILKSCREEN", 0.20, , [ -4.85, 2.35, 4.85, 2.35 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, -2.35, 4.85, -2.35 ]); // the thickening of positive side of the top line $$path( "SILKSCREEN", 0.20, , [ -4.85, 2.50, -1.50, 2.50 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, 2.65, -1.50, 2.65 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, 2.20, -1.50, 2.20 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, 2.05, -1.50, 2.05 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, 2.65, -4.85, 2.05 ]); $$path( "SILKSCREEN", 0.20, , [ -1.50, 2.65, -1.50, 2.05 ]); // the thickening of positive side of the bottom line $$path( "SILKSCREEN", 0.20, , [ -4.85, -2.50, -1.50, -2.50 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, -2.65, -1.50, -2.65 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, -2.20, -1.50, -2.20 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, -2.05, -1.50, -2.05 ]); $$path( "SILKSCREEN", 0.20, , [ -4.85, -2.65, -4.85, -2.05 ]); $$path( "SILKSCREEN", 0.20, , [ -1.50, -2.65, -1.50, -2.05 ]); // Reference Designator is on the SILKSCREEN Layer. $$text( "SILKSCREEN", "^$ref", 0.0, -3.7, 2.0, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // Define the two pins on the Tant_V_Case: // pin #1 the positive terminal is to the left // pin #2 to the right // the axis is horizontal $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -3.175, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, Tant_V_Pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 3.175, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, Tant_V_Pad");