(ASCII Template "ADI's Cap, thru, non-calculated, Radial, Dipped")
(Version 1)
(Created 2002 02 07 12 00 00)
(Modifed 2002 02 07 12 00 00)
(Type "ThroughHole")
(Standard "ADI Through Hole Standard")
(Style "Discrete, Radial")
(Family "ADI_Standard")
(Revision "A1")
(Creater "Accelerated Designs, Inc.")
(Comment "Checked 5-29-04  http://www.Accelerated-Designs.com")
(Comment "KTS.  06-04-2014.  Changed template description.")
(Comment "JRR. 11-13-2014. Through Hole")
(Units Mil)
(Description "This template will create a thru-hole radial, dipped style part.  Pad dimensions are user-entered.")
(Image "Radial.gif")
(Image "ADI_thru_radial_dipped-FP.gif")
(Variables
    #Variables
    (String "Specific Name:" 'NAME' "")
    (Comment "Part Information")
    (Number "Column Gap Ctr to Ctr X: CG" 'CG' 100)
    (Number "Body Width X: BODY_W" 'BODY_W' 450)
    (Number "Body Height Y: BODY_H" 'BODY_H' 200)
    (Number "Max Component Height Z: CHGT" 'CHGT' 100)
    (Number "Min Component Height Z: CMHGT" 'CMHGT' 10)
    (StringList "Component Type COMPTYPE: " 'COMPTYPE' "Capacitor" "None" "Capacitor_Polarized" "Crystal" "Diode" "Fuse" "Inductor" "LED" "Resistor" "Resistor_Thermal")
    (Comment "Pin Information")
    (StringList "Pin 1 Shape" 'PSH1' "Square" "Round" "Rectangle" "Oblong")
    (Number "Pin 1 Drill Size: DRL1" 'DRL1' 38)
    (Number "1st Pad Width X: PADW1" 'PAD1W' 60)
    (Number "1st Pad Height Y: PADH1" 'PAD1H' 60)
    (Stringlist "Pin 1 Lead Shape" 'LEAD_SHAPE1' "Round" "Rectangular")
    (Number "Pin 1 Lead X-Size: LEAD_SIZE1" 'LEAD_SIZE1' 0)
    (Number "Pin 1 Lead Y-Size: LEAD_SIZE1_Y" 'LEAD_SIZE1_Y' 0)
    (StringList "Default Pad Shape" 'PSH' "Round" "Oblong" "Square" "Rectangle")
    (Number "Default Drill Size: DRL" 'DRL' 38)
    (Number "Pad Width X: PADW" 'PADW' 60)
    (Number "Pad Height Y: PADH" 'PADH' 60)
    (Stringlist "Default Lead Shape" 'LEAD_SHAPE' "Round" "Rectangular")
    (Number "Default Lead X-Size: LEAD_SIZE" 'LEAD_SIZE' 0)
    (Number "Default Lead Y-Size: LEAD_SIZE_Y" 'LEAD_SIZE_Y' 0)
    (Comment "Alt Pad Style 1")
    (StringList "Pad Shape: A1_PSH" 'A1_PSH' "Oblong" "Round" "Rectangle" "Square")
    (Number "Alternate Pad Width X: A1_PADW" 'A1_PADW' 60)
    (Number "Alternate Pad Height Y: A1_PADH" 'A1_PADH' 90)
    (Number "Alternate Drill Size: A1_DRL" 'A1_DRL' 30)
    (Temporary String "altpadstack1" 'A1_Pad' "A1_Pad")
    (Comment "Alt Pad Style 2")
    (StringList "Pad Shape: A2_PSH" 'A2_PSH' "Oblong" "Round" "Rectangle" "Square")
    (Number "Alternate Pad Width X: A2_PADW" 'A2_PADW' 90)
    (Number "Alternate Pad Height Y: A2_PADH" 'A2_PADH' 60)
    (Number "Alternate Drill Size: A2_DRL" 'A2_DRL' 30)
    (Temporary String "altpadstack2" 'A2_Pad' "A2_Pad")
    (Comment "Documentation")
    (OptionList "Pin 1 Marker" 'M' "None" "Plus" "Dot" "Diode")
    (Number "Pin 1 Marker Size" 'MS' 50)
    (CountList "Pattern Rotation" 'PROT' 0 90 180 270)
    (String "Revision Level: REVLEVEL" 'REVLEVEL' "A0")
    (Comment "Footprint Naming")
    (String "Name Suffix SUFFIX: " 'SUFFIX' "")
    #Temporary Variables
    (Temporary String "New Name" 'NNAME' "")
)
(Part
    (Group "GP_ADI_thru_radial_dipped_generic.adg"
        (Variable 'NAME' [String='NAME'])
        (Variable 'CG' [Number='CG'])
        (Variable 'BODY_W' [Number='BODY_W'])
        (Variable 'BODY_H' [Number='BODY_H'])        
        (Variable 'CHGT' [Number='CHGT'])
        (Variable 'CMHGT' [Number='CMHGT'])
        (Variable 'COMPTYPE' [String='COMPTYPE'])         
        (Variable 'PSH1' [String='PSH1'])         
        (Variable 'DRL1' [Number='DRL1'])
        (Variable 'PAD1W' [String='PAD1W'])          
        (Variable 'PAD1H' [Number='PAD1H']) 
        (Variable 'LEAD_SHAPE1' [String='LEAD_SHAPE1'])                
        (Variable 'LEAD_SIZE1' [Number='LEAD_SIZE1'])
        (Variable 'LEAD_SIZE1_Y' [Number='LEAD_SIZE1_Y'])
        (Variable 'PSH' [String='PSH'])         
        (Variable 'DRL' [Number='DRL'])
        (Variable 'PADW' [String='PADW'])          
        (Variable 'PADH' [Number='PADH']) 
        (Variable 'LEAD_SHAPE' [String='LEAD_SHAPE'])                
        (Variable 'LEAD_SIZE' [Number='LEAD_SIZE'])
        (Variable 'LEAD_SIZE_Y' [Number='LEAD_SIZE_Y'])  
        (Variable 'A1_PSH' [String='A1_PSH'])        
        (Variable 'A1_PADW' [Number='A1_PADW'])
        (Variable 'A1_PADH' [Number='A1_PADH'])
        (Variable 'A1_DRL' [Number='A1_DRL'])                              
        (Variable 'A1_Pad' [String='A1_Pad'])
        (Variable 'A2_PSH' [String='A2_PSH'])
        (Variable 'A2_PADW' [Number='A2_PADW'])
        (Variable 'A2_PADH' [Number='A2_PADH'])
        (Variable 'A2_DRL' [Number='A2_DRL'])
        (Variable 'A2_Pad' [String='A2_Pad'])
        (Variable 'M' [String='M'])
        (Variable 'MS' [Number='MS'])                 
        (Variable 'PROT' [Number='PROT'])
        (Variable 'REVLEVEL' [String='REVLEVEL'])
        (Variable 'SUFFIX' [String='SUFFIX'])   
    )
    ## Footprint naming routine.
    (Script "GP_FootPrintName.vbs"
        (Variable 'NAME' [String='NAME'])
        (Variable 'PARTSTYLE' [String="CAP"])
        (Variable 'PINS' [String={PinCount}])
        (Variable 'BODYW' [String='BODY_W'])
        (Variable 'BODYH' [String='BODY_H'])
        (Variable 'CHGT' [String='CHGT'])
        (Variable 'COLS' [String='C'])
        (Variable 'ROWS' [String='R'])
        (Variable 'PITCH' [String='RP'])
        (Variable 'PITCH2' [String='CP'])
        (Variable 'BALLTYPE' [String=""])
        (Variable 'CLASS' [String=""])
        (Variable 'SUFFIX' [String='SUFFIX'])
        (ReturnValue 'NNAME' 'NNAME')
    )
    (DefaultName [String='NNAME'])
)