// // file: cap_10mm_dia_geom.txt // // // Date: 17-Jan-2023 Original Version of this Geometery // // // // Capacitor Al Electrolytic 10 mm Diameter // -------------------------------------------- // // // This is the geometry for the 20k Hour 250 Volt Al Electrolytic // capacitor for the Disco-Kraken board. // // The dimensions of this capacitor are: // // Diameter of Capacitor Body: 10.00 mm // Distance between Lead Centers: 5.00 mm // Diameter of Leads: 0.60 mm // Length of this Capacitor: 16.00 mm // // Pin #1 is labeled as the Positive Terminal // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // // This is the Through Hole Pin/Pad Stack for // this 10 mm diameter electrolytic capacitor: // // Component Lead Diameter 0.60 mm // // Drill Diameter 0.85 mm // PAD Diameter 1.60 // Solder Mask Opening Dia. 1.65 // Power Plane Relief Dia. 4.00 // // Thus: // // Width of the Donut 0.375 mm // Solder Space each side of Lead 0.125 // Closest Approach of the 2 Pads 3.400 for 5.00 mm lead spacing // Power to Pad Edge Relief 1.200 // Power to Drill Hole Relief 1.575 // $$create_pin("Term_Cap_10mm", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'PI$Term_Cap_10mm']); $$point_mode(@vertex); $$attribute( "TERMINAL_THRUHOLE_DEFINITION", "default"); $$attribute( "TERMINAL_DRILL_SIZE", "", , @scale , , [ 0.85, 0.0 ]); $$circle( "PAD", 0.0, 0.0, 1.60, 0.0); $$circle( "SIGNAL", 0.0, 0.0, 1.60, 0.0); $$circle( "SOLDER_MASK", 0.0, 0.0, 1.65, 0.0); $$circle( "POWER", 0.0, 0.0, 4.00, 0.0); //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- $$create_component("Cap_10mm", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'CO$Cap_10mm']); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [17.0, 0.0]); $$attribute( "COMPONENT_OUTLINE_OVERHANG", "no"); // // The Component Placement Outline is a square box // just outside the 10 mm diameter of this capacitor. $$template_line_style( @Solid ); $$initial([ 5.50, 5.50 ], , @nosnap ); $$terminal([ -5.50, 5.50 ] ); $$terminal([ -5.50, -5.50 ] ); $$terminal([ 5.50, -5.50 ] ); $$terminal([ 5.50, 5.50 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // Draw the Silkscreen a circle 10.0 mm in diameter $$circle( "SIGNAL", 0.0, 0.0, 10.00, 0.20 ); // Draw Silkscreen polarity indicators $$path( "SILKSCREEN", 0.25 , , [ -9.00, 0.00, -6.00, 0.00 ] ); $$path( "SILKSCREEN", 0.25 , , [ -7.50, 1.50, -7.50, -1.50 ] ); $$path( "SILKSCREEN", 0.25 , , [ 6.00, 0.00, 9.00, 0.00 ] ); // Draw Silkscreen Reference Designators $$text( "SILKSCREEN_1", "^$ref", 0.0, 0.0, 2.2, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); $$text( "SILKSCREEN_2", "^$ref", 0.0, 0.0, 2.2, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // End of the Silkscreen // The component pins Pin #1 is the Positive Pin $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -2.50, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, Term_Cap_10mm"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 2.50, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, Term_Cap_10mm");