blob: 95e64636cf618027746406751fa10dec7992def1 [file] [log] [blame]
# 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" "" "TO263" 0 0 0 0 0 100 ""]
(
# Pad [rX1 rY1 rX2 rY2 Thickness Clearance Mask "Name" "Number" SFlags]
# the signal pads
Pad[ -10000 37500 -10000 30700 4100 2000 5200 "1" "1" "square"]
#Pad[ 0 37500 0 30700 4100 2000 5200 "2" "2" "square"]
Pad[ 10000 37500 10000 30700 4100 2000 5200 "3" "3" "square"]
# the tab pad
Pad[ 5000 -10900 -5000 -10900 35000 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[ 24000 27100 24000 -29900 1000 ]
ElementLine[ 24000 -29900 -24000 -29900 1000 ]
ElementLine[ -24000 -29900 -24000 27100 1000 ]
# bottom and lower sides
ElementLine[ -15500 27100 -15500 41000 1000 ]
ElementLine[ -15500 41000 15500 41000 1000 ]
ElementLine[ 15500 41000 15500 27100 1000 ]
# and the two connecting lines
ElementLine[ -24000 27100 -15500 27100 1000 ]
ElementLine[ 24000 27100 15500 27100 1000 ]
)