(module TO-126-2_Vertical (layer F.Cu) (tedit 5AC8BA0D)
  (descr "TO-126-2, Vertical, RM 5.08mm, see https://www.diodes.com/assets/Package-Files/TO126.pdf")
  (tags "TO-126-2 Vertical RM 5.08mm")
  (fp_text reference REF** (at 2.54 -3.12) (layer F.SilkS)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_text value TO-126-2_Vertical (at 2.54 2.5) (layer F.Fab)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_line (start -1.46 -2) (end -1.46 1.25) (layer F.Fab) (width 0.1))
  (fp_line (start -1.46 1.25) (end 6.54 1.25) (layer F.Fab) (width 0.1))
  (fp_line (start 6.54 1.25) (end 6.54 -2) (layer F.Fab) (width 0.1))
  (fp_line (start 6.54 -2) (end -1.46 -2) (layer F.Fab) (width 0.1))
  (fp_line (start 0.94 -2) (end 0.94 1.25) (layer F.Fab) (width 0.1))
  (fp_line (start 4.14 -2) (end 4.14 1.25) (layer F.Fab) (width 0.1))
  (fp_line (start -1.58 -2.12) (end 6.66 -2.12) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.58 1.37) (end 6.66 1.37) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.58 -2.12) (end -1.58 1.37) (layer F.SilkS) (width 0.12))
  (fp_line (start 6.66 -2.12) (end 6.66 1.37) (layer F.SilkS) (width 0.12))
  (fp_line (start 0.94 -2.12) (end 0.94 -1.05) (layer F.SilkS) (width 0.12))
  (fp_line (start 0.94 1.05) (end 0.94 1.37) (layer F.SilkS) (width 0.12))
  (fp_line (start 4.141 -2.12) (end 4.141 -0.54) (layer F.SilkS) (width 0.12))
  (fp_line (start 4.141 0.54) (end 4.141 1.37) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.71 -2.25) (end -1.71 1.5) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.71 1.5) (end 6.79 1.5) (layer F.CrtYd) (width 0.05))
  (fp_line (start 6.79 1.5) (end 6.79 -2.25) (layer F.CrtYd) (width 0.05))
  (fp_line (start 6.79 -2.25) (end -1.71 -2.25) (layer F.CrtYd) (width 0.05))
  (pad 1 thru_hole rect (at 0 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask))
  (pad 2 thru_hole oval (at 5.08 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask))
  (fp_text user %R (at 2.54 -3.12) (layer F.Fab)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (model ${KISYS3DMOD}/Package_TO_SOT_THT.3dshapes/TO-126-2_Vertical.wrl
    (at (xyz 0 0 0))
    (scale (xyz 1 1 1))
    (rotate (xyz 0 0 0))
  )
)