// file : /home2/designs/boards/VBDC_24/Work/Geometries/amp_1_row_12_contact
//
// date : Monday     2 JULY 2006  12:00:00    Initial draft
//
//      Thursday     9-OCT-2007    Clean this up for use on BVDC-24.
//                                 Need a larger Gnd plane relief.
//
//
//
//      12 pin board mount AMP receptacle   AMP # 1-535676-1
//
//     This connector receives 12 pins spaced 0.1"  25 mil square pins
//     Note that there are 2 thruholes per electrical pin connection.
//
//     This connector is used for the Bias Voltage Distribution Card
//
//      Define the Pad Stack to be used with this connector
//
//         DRILL_SIZE      1.00 mm
//         PAD             1.64
//         SOLDER_MASK     1.64
//         POWER           2.24
//
//         I.E.       the width of the donut is  0.320 mm  or about  12.6 mils
//               the width of the relief gap is  0.300 mm  or about  11.8 mils
//
//         11.8 mils is NOT enough GND plane relief to hold off 500 Volts.
//         The GND plane must be further relieved by explicitly defining
//         a shape in the pcb geometry.
//


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


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

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

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

$$point_mode(@vertex);

$$attribute( "TERMINAL_THRUHOLE_DEFINITION", "default");

$$attribute( "TERMINAL_DRILL_SIZE", "", , @scale , , [1.0, 0.0]);

$$circle( "PAD",         0.0, 0.0,  1.64,  0.0);

$$circle( "SIGNAL",      0.0, 0.0,  1.64,  0.0);

$$circle( "SOLDER_MASK", 0.0, 0.0,  1.64,  0.0);

$$circle( "POWER",       0.0, 0.0,  2.24,  0.0);


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




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

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

$$point_mode(@vertex);


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


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

$$attribute( "COMPONENT_OUTLINE_OVERHANG", "no");


$$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", , @scale , , [-15.50, -5.00,   15.50, -5.00,   15.50, 5.00,   -15.50, 5.00] );



//  Draw the Skilscreen    4 lines  1mm outside of the component

$$path( "SILKSCREEN", 0.254 , , [-15.50,  5.00,     15.50,  5.00] );
$$path( "SILKSCREEN", 0.254 , , [-15.50, -5.00,     15.50, -5.00] );

$$path( "SILKSCREEN", 0.254 , , [-15.50,  5.00,    -15.50, -5.00] );
$$path( "SILKSCREEN", 0.254 , , [ 15.50,  5.00,     15.50, -5.00] );


$$text( "SILKSCREEN_1", "^$ref", 0.0, 0.0, 3.0, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 );
$$text( "SILKSCREEN_2", "^$ref", 0.0, 0.0, 3.0, @CC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 );

// // $$text( "BREAKOUT", "^$ref", 0.0, 1.90, 3.0, @BC, 0, 0.7, 0.20, "std", "None", 0.0, 0.0 );



//  The component pins

$$attribute( "COMPONENT_PIN_DEFINITION",     "1", , @scale , , [ 13.97,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "1, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",     "2", , @scale , , [ 11.43,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "2, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",     "3", , @scale , , [  8.89,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "3, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",     "4", , @scale , , [  6.35,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "4, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",     "5", , @scale , , [  3.81,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "5, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",     "6", , @scale , , [  1.27,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "6, term_thd_amp_1x12");




$$attribute( "COMPONENT_PIN_DEFINITION",     "7", , @scale , , [ -1.27,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "7, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",     "8", , @scale , , [ -3.81,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "8, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",     "9", , @scale , , [ -6.35,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE",  "9, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "10", , @scale , , [ -8.89,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "10, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "11", , @scale , , [-11.43,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "11, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "12", , @scale , , [-13.97,  3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "12, term_thd_amp_1x12");







$$attribute( "COMPONENT_PIN_DEFINITION",    "13", , @scale , , [ 13.97, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "13, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "14", , @scale , , [ 11.43, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "14, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "15", , @scale , , [  8.89, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "15, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "16", , @scale , , [  6.35, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "16, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "17", , @scale , , [  3.81, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "17, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "18", , @scale , , [  1.27, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "18, term_thd_amp_1x12");




$$attribute( "COMPONENT_PIN_DEFINITION",    "19", , @scale , , [ -1.27, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "19, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "20", , @scale , , [ -3.81, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "20, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "21", , @scale , , [ -6.35, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "21, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "22", , @scale , , [ -8.89, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "22, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "23", , @scale , , [-11.43, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "23, term_thd_amp_1x12");


$$attribute( "COMPONENT_PIN_DEFINITION",    "24", , @scale , , [-13.97, -3.94]);
$$attribute( "COMPONENT_PADSTACK_OVERRIDE", "24, term_thd_amp_1x12");

