
//
//  file:  wurth_7443321000_10uh_9amp_geom
//
//  date:  18-Jan-2023   original for the Disco-Kraken Board
//
//
//
//
//  This is the geometry for the  Wurth 7443321000
//  size 1210 inductor  that is about
//  12.1 mm in X   by   11.4 mm in Y.
//
//  This SMD inductor is about  9.5 mm  tall.
//  The 2 pads are along the horizontal X axis.
//
//  This geometry includes it own SMD pads that are
//  2.9 mm wide in X  by  5.4 mm high in Y.
//  The centers of the pads are  9.9mm  apart along the X axis.
//
//  This is a  10 uH choke   15.4 mOhm  9.0 Amp
//  and a self resonant at about 29 MHz.
//
//  
//  This geometry includes copper to the bottom
//  side of the pads to make a baby "fill" to the
//  associated Power Via Arrays.   Note this bottom
//  side metal is on layer  Sheet_Dielectric_1
//  to fit my standard for adding this type of copper.
//  This added bottom side copper is instanced in the
//  main body of this geometry - not in its pin/pad stack.
//  ---> Currently this is commented out for the DK Brd.
//



$abort_enable = @false;
$$lock_windows(@on) ;
$$snap_diagonal(@off) ;
$$snap_orthogonal(@off) ;


//----------------------------------------------------------------------------
//----------------------------------------------------------------------------

$$create_pin("wurth_1210_pad", @replace);

$$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'PI$wurth_1210_pad'] );

$$point_mode(@vertex);

$$polygon( "PAD", ,          [ -1.45, -2.70,    1.45, -2.70,     1.45, 2.70,    -1.45, 2.70 ] );

$$polygon( "SOLDER_MASK", ,  [ -1.50, -2.75,    1.50, -2.75,     1.50, 2.75,    -1.50, 2.75 ] );

$$polygon( "PASTE_MASK", ,   [ -1.45, -2.70,    1.45, -2.70,     1.45, 2.70,    -1.45, 2.70 ] );

$$attribute( "TERMINAL_SURFACE_DEFINITION", "");

//
//   NOTE that Sheet_Dielectric_2 is being used to add metal to the
//   backside of the pads to make a "fill" with the associated Power
//   Via Arrays.

//----------------------------------------------------------------------------
//----------------------------------------------------------------------------


$$create_component("Wurth_1210_Ind", @replace);

$$page(0.0, 0.0, 0.0, @mm, 0.0, 0.0, [0.0,0.0,'CO$Wurth_1210_Ind'] );

$$point_mode(@vertex); 

$$attribute( "COMPONENT_LAYOUT_TYPE", "surface");

$$attribute( "COMPONENT_LAYOUT_SURFACE", "both");

$$attribute( "COMPONENT_HEIGHT", "", , @scale , , [ 9.50,   0.0 ]);




//
//   Reduced size placement outline
//   outline just around device pins
//   for tighter placement fit
//

$$template_line_style( @Solid );

$$initial([    6.20,   3.00  ], , @nosnap );
$$terminal([  -6.20,   3.00  ] );
$$terminal([  -6.20,  -3.00  ] );
$$terminal([   6.20,  -3.00  ] );
$$terminal([   6.20,   3.00  ] );

$$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", @mark, @scale );




//
//   Bottom Side Copper under the SMD Pads on the Top
//

// //$$polygon( "SHEET_DIELECTRIC_1", , [  6.40,  2.70,    3.50,  2.70,     3.50, -2.70,    6.40, -2.70 ] );

// //$$polygon( "SHEET_DIELECTRIC_1", , [ -3.50,  2.70,   -6.40,  2.70,    -6.40, -2.70,   -3.50, -2.70 ] );




$$template_line_style( @Solid );

$$path( "SILKSCREEN", 0.20, , [ -6.20,  5.70,     6.20,  5.70 ]);
$$path( "SILKSCREEN", 0.20, , [ -6.20,  5.70,    -6.20,  3.00 ]);
$$path( "SILKSCREEN", 0.20, , [  6.20,  5.70,     6.20,  3.00 ]);

$$path( "SILKSCREEN", 0.20, , [ -6.20, -5.70,     6.20, -5.70 ]);
$$path( "SILKSCREEN", 0.20, , [ -6.20, -5.70,    -6.20, -3.00 ]);
$$path( "SILKSCREEN", 0.20, , [  6.20, -5.70,     6.20, -3.00 ]);



// Reference Designator is on SILKSCREEN Layer.

$$text( "SILKSCREEN", "^$ref", 0.0, 6.7, 2.0, @BC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 );



//
//  Define the 2 pins on the  Wurth 7443321000 inductor
//
//  pin #1 is to the left and pin #2 is on the right both on the X axis.
//

$$attribute( "COMPONENT_PIN_DEFINITION",    "1", , @scale , , [ -4.95,  0.00 ]);

$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, wurth_1210_pad");


$$attribute( "COMPONENT_PIN_DEFINITION",    "2", , @scale , , [  4.95,  0.00 ]);

$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, wurth_1210_pad");



