/usr/share/pcb/pcblib-newlib/geda/TO263.fp is in pcb-common 1:4.0.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | # 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 23175 -10000 18875 4200 2000 5200 "1" "1" "square"]
Pad[ 0 23175 0 18875 4200 2000 5200 "2" "2" "square"]
Pad[ 10000 23175 10000 18875 4200 2000 5200 "3" "3" "square"]
# the tab pad
Pad[ 5900 -10900 -5900 -10900 21000 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[ 22550 15475 22550 -29200 1000 ]
ElementLine[ 22550 -29200 -22550 -29200 1000 ]
ElementLine[ -22550 -29200 -22550 15475 1000 ]
# bottom and lower sides
ElementLine[ -15500 15475 -15500 26575 1000 ]
ElementLine[ -15500 26575 15500 26575 1000 ]
ElementLine[ 15500 26575 15500 15475 1000 ]
# and the two connecting lines
ElementLine[ -22550 15475 -15500 15475 1000 ]
ElementLine[ 22550 15475 15500 15475 1000 ]
)
|