blob: 95e64636cf618027746406751fa10dec7992def1 [file] [log] [blame]
Scott Bermanf5a7b922020-01-25 14:15:35 -08001 # 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]
28Element[ "" "Transistor" "" "TO263" 0 0 0 0 0 100 ""]
29(
30# Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags]
31# the signal pads
Austin Schuh392e8de2021-12-19 14:08:52 -080032Pad[ -10000 37500 -10000 30700 4100 2000 5200 "1" "1" "square"]
33#Pad[ 0 37500 0 30700 4100 2000 5200 "2" "2" "square"]
34Pad[ 10000 37500 10000 30700 4100 2000 5200 "3" "3" "square"]
Scott Bermanf5a7b922020-01-25 14:15:35 -080035# the tab pad
Austin Schuh392e8de2021-12-19 14:08:52 -080036Pad[ 5000 -10900 -5000 -10900 35000 2000 22000 "4" "4" "square"]
37#Pad[ 17500 -24150 -17500 -24150 7500 2000 8500 "4" "4" "square"]
Scott Bermanf5a7b922020-01-25 14:15:35 -080038# ElementLine[ x1 y1 x2 y2 width]
39# top and upper sides:
Austin Schuh392e8de2021-12-19 14:08:52 -080040ElementLine[ 24000 27100 24000 -29900 1000 ]
41ElementLine[ 24000 -29900 -24000 -29900 1000 ]
42ElementLine[ -24000 -29900 -24000 27100 1000 ]
Scott Bermanf5a7b922020-01-25 14:15:35 -080043# bottom and lower sides
Austin Schuh392e8de2021-12-19 14:08:52 -080044ElementLine[ -15500 27100 -15500 41000 1000 ]
45ElementLine[ -15500 41000 15500 41000 1000 ]
46ElementLine[ 15500 41000 15500 27100 1000 ]
Scott Bermanf5a7b922020-01-25 14:15:35 -080047# and the two connecting lines
Austin Schuh392e8de2021-12-19 14:08:52 -080048ElementLine[ -24000 27100 -15500 27100 1000 ]
49ElementLine[ 24000 27100 15500 27100 1000 ]
Scott Bermanf5a7b922020-01-25 14:15:35 -080050)