// // file: cap_1206 // // Original Rev. 27-July-2015 made for the Hub Module // // // Geometry for the 1206 Kemet Capacitor // ----------------------- // // This 1206 Capacitor geometry comes from the Kemet Specification. // I do not know how close this is to an IPC 1206 capacitor. // // The 1206 courtyard is 4.70 mm in X by 2.30 mm in Y. // The center to center distance between pads is 3.00 mm // The pad width (our X dimension) is 1.15 mm. // The pad height (our Y dimension) is 1.80 mm. // // Thus we (not IPC) call this pad 1.15 mm in X by 1.80 mm in Y. // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- $$create_pin("cap_1206_pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$cap_1206_pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [ -0.58, -0.90, 0.58, -0.90, 0.58, 0.90, -0.58, 0.90 ] ); $$polygon( "SOLDER_MASK", , [ -0.63, -0.95, 0.63, -0.95, 0.63, 0.95, -0.63, 0.95 ] ); $$polygon( "PASTE_MASK", , [ -0.58, -0.90, 0.58, -0.90, 0.58, 0.90, -0.58, 0.90 ] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- $$create_component("cap_1206", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$cap_1206'] ); $$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_1206 // $$initial([ -2.40, -1.20 ], , @nosnap ); $$terminal([ -2.40, 1.20 ] ); $$terminal([ 2.40, 1.20 ] ); $$terminal([ 2.40, -1.20 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -2.10, 1.20, 2.10, 1.20 ]); $$path( "SILKSCREEN", 0.20, , [ -2.10, -1.20, 2.10, -1.20 ]); // 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_1206: // 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_1206_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 1.50, 0.0 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2,cap_1206_pad");