Austin Schuh | 392e8de | 2021-12-19 14:08:52 -0800 | [diff] [blame^] | 1 | # pad 1,2,3 width (1/100 mil) |
| 2 | # pad 1,2,3 length (1/100 mil) |
| 3 | # x value for pads 1,3 (1/100 mil) |
| 4 | # y value for pads 1,2,3 (1/100 mil) |
| 5 | # tab pad width (1/100 mil) |
| 6 | # ideally we would be able to have a polygon |
| 7 | # pad because the recommendation is a T shape where |
| 8 | # the width is 328 mil on the thinner part and 425 mil on the |
| 9 | # thicker part |
| 10 | # tab pad length (1/100 mil) |
| 11 | #define(`PADL2', `27500') |
| 12 | # x value for the tab pad (1/100 mil) |
| 13 | # y value for the tab pad (1/100 mil) |
| 14 | #define(`PADY2', `-21025') |
| 15 | # package width (1/100 mil) |
| 16 | # package height (1/100 mil) |
| 17 | # y values for drawing the pad. Recall we draw the pad with an aperture |
| 18 | # we need a line segment of length PADL1 - PADW1 so we have end points: |
| 19 | # PADY1 +/- 0.5*(PADL1 - PADW1) |
| 20 | # width of soldermask relief (5 mil on each side) |
| 21 | # silkscreen width (1/100 mils) |
| 22 | # clearance to polygons (1/100 mils) |
| 23 | # how much space to leave around the part before the |
| 24 | # silk screen (1/100 mils) |
| 25 | # X values for silk on sides and top |
| 26 | # X values for silk on sides and bottom |
| 27 | # Element [SFlags "Desc" "Name" "Value" MX MY TX TY TDir TScale TSFlags] |
| 28 | Element[ "" "Transistor" "" "TO252AE" 0 0 0 0 0 100 ""] |
| 29 | ( |
| 30 | # Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags] |
| 31 | # the signal pads |
| 32 | Pad[ -9000 13200 -9000 11200 5500 2000 5200 "1" "1" "square"] |
| 33 | #Pad[ 0 37500 0 30700 4100 2000 5200 "2" "2" "square"] |
| 34 | Pad[ 9000 13200 9000 11200 5500 2000 5200 "3" "3" "square"] |
| 35 | # the tab pad |
| 36 | Pad[ 250 -10900 -250 -10900 23500 2000 22000 "4" "4" "square"] |
| 37 | #Pad[ 17500 -24150 -17500 -24150 7500 2000 8500 "4" "4" "square"] |
| 38 | # ElementLine[ x1 y1 x2 y2 width] |
| 39 | # top and upper sides: |
| 40 | ElementLine[ 14000 17450 14000 -24150 1000 ] |
| 41 | ElementLine[ 14000 -24150 -14000 -24150 1000 ] |
| 42 | ElementLine[ -14000 -24150 -14000 17450 1000 ] |
| 43 | # bottom and lower sides |
| 44 | ElementLine[ -14000 17450 14000 17450 1000 ] |
| 45 | ) |