// // File: diode_do_214aa_smd_geom.txt // // Date: 8-Apr-2024 original version // 20-Apr-2024 fix the cathode polarity marker // 16-Aug-2024 fix the Pad's "Y" dimension to make this closer to DO-214AA // // // Geometry for the DO-214AA diode e.g. // // Diodes Inc S1GB-13-F 400 Volt 1 Amp // // // This is a SMD part with its long axis horizontal // and with its pin #1 to the left. // // Pin #1 is the Cathode side of this Diode // and is marked in the silkscreen. // // This part is being made for the DK Board. // // This is a standard DO-214AA geometry // // The Reference Designator is on the SilkScreen Layer. // // Recall the screwed up DO-214 numbering system: // // DO-214AB aka SMC is the Largest size // DO-214AA aka SMB is the Middle size // DO-214AC aka SMA is the Smallest size // $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- // // DO-214AA SMD pads: 2.50 mm in X by 2.30 mm in Y // with a c_to_c spacing of 4.0 mm in X // $$create_pin("do214aa_smd_pad", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$do214aa_smd_pad'] ); $$point_mode(@vertex); $$polygon( "PAD", , [ -1.25, -1.15, 1.25, -1.15, 1.25, 1.15, -1.25, 1.15 ] ); $$polygon( "SOLDER_MASK", , [ -1.30, -1.20, 1.30, -1.20, 1.30, 1.20, -1.30, 1.20 ] ); $$polygon( "PASTE_MASK", , [ -1.25, -1.15, 1.25, -1.15, 1.25, 1.15, -1.25, 1.15 ] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- // // Now start the layout of the component geometry // $$create_component("DO_214AA_SMD", @replace); $$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$DO_214AA_SMD'] ); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "", , @scale , , [7.0, 0.0]); // // Component Placement Outline for the DO-214AA SMD // $$initial([ -3.30, -1.50 ], , @nosnap ); $$terminal([ -3.30, 1.50 ] ); $$terminal([ 3.30, 1.50 ] ); $$terminal([ 3.30, -1.50 ] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale ); // // Silkscreen // $$template_line_style( @Solid ); $$path( "SILKSCREEN", 0.20, , [ -2.50, 1.60, 2.50, 1.60 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, -1.60, 2.50, -1.60 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, 1.60, -2.50, 1.20 ]); $$path( "SILKSCREEN", 0.20, , [ 2.50, 1.60, 2.50, 1.20 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, -1.60, -2.50, -1.20 ]); $$path( "SILKSCREEN", 0.20, , [ 2.50, -1.60, 2.50, -1.20 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, 1.70, -1.20, 1.70 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, 1.80, -1.20, 1.80 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, 1.90, -1.20, 1.90 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, -1.70, -1.20, -1.70 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, -1.80, -1.20, -1.80 ]); $$path( "SILKSCREEN", 0.20, , [ -2.50, -1.90, -1.20, -1.90 ]); // Reference Designator is on the SILKSCREEN Layer. $$text( "SILKSCREEN", "^$ref", 0.0, 2.4, 1.5, @BC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // Define the two equivalent pins on the DO-214AA SMD: // pin #1 is to the left, pin #2 to the right, the axis is horizontal $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [ -2.00, 0.00 ]); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [ 2.00, 0.00 ]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, do214aa_smd_pad"); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, do214aa_smd_pad");