1	# number of pins on left/right sides (pin1 is upper pin on left side)
2	# number of pins on top/bottom sides
3	# pin pitch (1/1000 mil)
4	# y-coordinate for upper pin on left/right sides  (1/1000 mil)
5	# x-coordinate for right pin on top/bottom sides  (1/1000 mil)
6	# total horizontal package width (1/1000 mil)
7	# total vertical package width (1/1000 mil)
8	# how much pads extend beyond the package edge (1/1000 mil) (the 25 is 0.25 mm)
9	# how much pads extend inward from the package pad edge (1/1000 mil)
10	# pad length/width (1/1000 mil)
11	# pad width (mil/100)
12	# min/max x coordinates for the pads on the left/right sides of the package (mil/100)
13	# min/max y coordinates for the pads on the top/bottom sides of the package (mil/100)
14	# silkscreen width (mils/100)
15	# how much the silk screen is moved away from the package (1/1000 mil)
16	# upper right corner for silk screen (mil/100)
17	# refdes text size (mil/100)
18	# x,y coordinates for refdes label (mil/100)
19	# square exposed paddle size (mil/100)
20   # pad clearance to polygons (1/100 mil)
21   # width of the pad solder mask relief (1/100 mil).
22   # grow by 1.5 mils on each side
23   # width of the paddle soldermask relief (1/100 mil)
24   # grow by 200 mils on each side
25# element_flags, description, pcb-name, value, mark_x, mark_y,
26# text_x, text_y, text_direction, text_scale, text_flags
27Element[0x00000000 "Square Quad Flat Nolead (QFN) package" "" "QFN12_4_EP" 0 0 -9858 -10908 0 100 0x00000000]
28(
29# Pad[X1, Y1, X2, Y3, width, clearance,
30#     soldermask, "pin name", "pin number", flags]
31# left row
32	Pad[-8031  -3149  -6141  -3149  1653  2000 1953 "1" "1"  0x00000100]
33	Pad[-8031  0  -6141  0  1653  2000 1953 "2" "2"  0x00000100]
34	Pad[-8031  3149  -6141  3149  1653  2000 1953 "3" "3"  0x00000100]
35# bottom row
36	Pad[-3149  8031  -3149  6141  1653 2000 1953 "4" "4"  0x00000900]
37	Pad[0  8031  0  6141  1653 2000 1953 "5" "5"  0x00000900]
38	Pad[3149  8031  3149  6141  1653 2000 1953 "6" "6"  0x00000900]
39# right row
40	Pad[8031  3149  6141  3149  1653  2000 1953 "7" "7"  0x00000100]
41	Pad[8031  0  6141  0  1653  2000 1953 "8" "8"  0x00000100]
42	Pad[8031  -3149  6141  -3149  1653  2000 1953 "9" "9"  0x00000100]
43# top row
44	Pad[3149  -8031  3149  -6141  1653 2000 1953 "10" "10" 0x00000900]
45	Pad[0  -8031  0  -6141  1653 2000 1953 "11" "11" 0x00000900]
46	Pad[-3149  -8031  -3149  -6141  1653 2000 1953 "12" "12" 0x00000900]
47# Exposed paddle (if this is an exposed paddle part)
48# Pad(X1, Y1, X2, Y3, width, clearance,
49#     soldermask, "pin name", "pin number", flags)
50	Pad[0 0 0 0 8267 0 8667 "13" "13" 0x00000100]
51# Silk screen around package
52ElementLine[ 9858  9858  9858 -9858 1000]
53ElementLine[ 9858 -9858 -9858 -9858 1000]
54ElementLine[-9858 -9858 -9858  9858 1000]
55ElementLine[-9858  9858  9858  9858 1000]
56# Pin 1 indicator
57ElementLine[-9858 -9858 -11358 -11358 1000]
58)
59