// // file: cap0805 // // date: 17-Dec-2012 Original Version // // 15-Jun-2016 Add the "Component_not_in_bom" attribute to // Remove all instances of this component from the BOM. // // // // Geometry for the Capacitor version of the // // One-Solder_Blob 0805 componen. // --------------------------------------------- // // // // This is a 100% standard IPC 0805 resistor layout. // The 0805 courtyard is 4mm in X by 2mm in Y. // The center to center distance between pads is 1.90mm // The pad width (dimension along the center to center line) is 1.30mm. // The pad height is 1.50mm. // // Thus we (not IPC) call this pad 1.30mm in X by 1.50mm in Y. // // Only Pin #1 of this component has an opening in // the Solder Paste Stencil. // // This component has the Not in BOM attribute. // // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- $$create_pin("cap_0805_pad_1sb", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$cap_0805_pad_1sb'] ); $$point_mode(@vertex); $$polygon( "PAD", , [-0.650, -0.750, 0.650, -0.750, 0.650, 0.750, -0.650, 0.750] ); $$polygon( "SOLDER_MASK", , [-0.700, -0.800, 0.700, -0.800, 0.700, 0.800, -0.700, 0.800] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- $$create_component("cap_0805_1sb", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$cap_0805_1sb'] ); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [0.028, 0.0]); $$attribute( "COMPONENT_NOT_IN_BOM" ); // // Component Placement Outline for the cap_0805 // $$initial([ -2.00, -1.00 ], , @nosnap ); $$terminal([ -2.00, 1.00 ] ); $$terminal([ 2.00, 1.00 ] ); $$terminal([ 2.00, -1.00 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [-1.80, 1.00, 1.80, 1.00]); $$path( "SILKSCREEN", 0.20, , [-1.80, -1.00, 1.80, -1.00]); // 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 cap0805: // pin #1 is to the left, pin #2 to the right, the axis is horizontal $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [-0.950, 0.0]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, cap_0805_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 0.950, 0.0]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, cap_0805_pad_1sb");