| # pad 1,2,3 width (1/100 mil) |
| # pad 1,2,3 length (1/100 mil) |
| # x value for pads 1,3 (1/100 mil) |
| # y value for pads 1,2,3 (1/100 mil) |
| # tab pad width (1/100 mil) |
| # ideally we would be able to have a polygon |
| # pad because the recommendation is a T shape where |
| # the width is 328 mil on the thinner part and 425 mil on the |
| # thicker part |
| # tab pad length (1/100 mil) |
| #define(`PADL2', `27500') |
| # x value for the tab pad (1/100 mil) |
| # y value for the tab pad (1/100 mil) |
| #define(`PADY2', `-21025') |
| # package width (1/100 mil) |
| # package height (1/100 mil) |
| # y values for drawing the pad. Recall we draw the pad with an aperture |
| # we need a line segment of length PADL1 - PADW1 so we have end points: |
| # PADY1 +/- 0.5*(PADL1 - PADW1) |
| # width of soldermask relief (5 mil on each side) |
| # silkscreen width (1/100 mils) |
| # clearance to polygons (1/100 mils) |
| # how much space to leave around the part before the |
| # silk screen (1/100 mils) |
| # X values for silk on sides and top |
| # X values for silk on sides and bottom |
| # Element [SFlags "Desc" "Name" "Value" MX MY TX TY TDir TScale TSFlags] |
| Element[ "" "Transistor" "" "TO252AE" 0 0 0 0 0 100 ""] |
| ( |
| # Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags] |
| # the signal pads |
| Pad[ -9000 13200 -9000 11200 5500 2000 5200 "1" "1" "square"] |
| #Pad[ 0 37500 0 30700 4100 2000 5200 "2" "2" "square"] |
| Pad[ 9000 13200 9000 11200 5500 2000 5200 "3" "3" "square"] |
| # the tab pad |
| Pad[ 250 -10900 -250 -10900 23500 2000 22000 "4" "4" "square"] |
| #Pad[ 17500 -24150 -17500 -24150 7500 2000 8500 "4" "4" "square"] |
| # ElementLine[ x1 y1 x2 y2 width] |
| # top and upper sides: |
| ElementLine[ 14000 17450 14000 -24150 1000 ] |
| ElementLine[ 14000 -24150 -14000 -24150 1000 ] |
| ElementLine[ -14000 -24150 -14000 17450 1000 ] |
| # bottom and lower sides |
| ElementLine[ -14000 17450 14000 17450 1000 ] |
| ) |