/* MACHINE-GENERATED ! */

frame cathode {
	table
	    { px, py, xoff }
	    { 1.62mm, 1.53mm, cx }

	__0: vec @(-xoff, -py/2)
	__1: vec .(px, py)
	pad "K" __0 . trace
	pad "Cpaste" __0 . paste
	__2: vec .(0.1mm, 0mm)
	pad "Cmask" __0 . mask
}

frame anode {
	table
	    { px, py, xoff }
	    { 0.42mm, 1.53mm, 0.55mm+(0.52mm-px)/2+cx }

	__0: vec @(-xoff, -py/2)
	__1: vec .(-px, py)
	pad "A" . __0
}

package "LUXEON-3020"
unit mm

set cx = 0.35mm

__0: vec @(0mm, 0mm)
frame anode @
frame cathode @
measy anode.__0 >> anode.__1 1mm
measy cathode.__0 >> cathode.__1 -2mm
measx anode.__1 >> anode.__0 0.5mm
measx cathode.__0 >> cathode.__1 2.03mm
measx anode.__0 >> cathode.__0 -0.5mm
measx cathode.__0 >> __0 -0.5mm
