// // file: cap_1210 // // Original Rev. 1-Apr-2015 made for the Hub Module // // // Geometry for the 1210 Kemet Capacitor // ----------------------- // // This 1210 Capacitor geometry comes from the Kemet Specification. // I do not know how close this is to an IPC 1210 capacitor. // // The 1210 courtyard is ? mm in X by ? mm in Y. // The center to center distance between pads is 3.00 mm // The pad width (our X dimension) is 1.20 mm. // The pad height (our Y dimension) is 2.70 mm. // // Thus we (not IPC) call this pad 1.20 mm in X by 2.70 mm in Y. // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- $$create_pin("cap_1210_pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$cap_1210_pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [ -0.60, -1.35, 0.60, -1.35, 0.60, 1.35, -0.60, 1.35 ] ); $$polygon( "SOLDER_MASK", , [ -0.65, -1.40, 0.65, -1.40, 0.65, 1.40, -0.65, 1.40 ] ); $$polygon( "PASTE_MASK", , [ -0.60, -1.35, 0.60, -1.35, 0.60, 1.35, -0.60, 1.35 ] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- $$create_component("cap_1210", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$cap_1210'] ); $$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 cap_1210 // $$initial([ -2.40, -1.60 ], , @nosnap ); $$terminal([ -2.40, 1.60 ] ); $$terminal([ 2.40, 1.60 ] ); $$terminal([ 2.40, -1.60 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -2.10, 1.70, 2.10, 1.70 ]); $$path( "SILKSCREEN", 0.20, , [ -2.10, -1.70, 2.10, -1.70 ]); // 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 two pins on the cap_1210: // pin #1 is to the left, pin #2 to the right, the axis is horizontal $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -1.50, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1,cap_1210_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 1.50, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2,cap_1210_pad");