(module "SOT-143B" (layer F.Cu) (tedit 5D543829)
  (descr "SOT143B")
  (solder_mask_margin 0.05)
  (attr smd)
  (fp_text reference "REF**" (at 0 -2) (layer F.SilkS)
    (effects (font (size 0.7 0.7) (thickness 0.15)))
  )
  (fp_text value "SOT143B" (at 0 0.25) (layer F.Fab) hide
    (effects (font (size 0.4 0.4) (thickness 0.1)))
  )
  (fp_line (start 1.6 0.8) (end -1.6 0.8) (layer F.SilkS) (width 0.15))
  (fp_line (start 1.6 -0.8) (end -1.6 -0.8) (layer F.SilkS) (width 0.15))
  (fp_text user "ESD" (at 0 2.1) (layer F.SilkS)
    (effects (font (size 0.7 0.7) (thickness 0.15)))
  )
  (fp_line (start 1.5 0.75) (end 1.5 -0.75) (layer F.Fab) (width 0.15))
  (fp_line (start -1.5 0.75) (end 1.5 0.75) (layer F.Fab) (width 0.15))
  (fp_line (start -1.5 -0.75) (end -1.5 0.75) (layer F.Fab) (width 0.15))
  (fp_line (start 1.5 -0.75) (end -1.5 -0.75) (layer F.Fab) (width 0.15))
  (fp_text user "%R" (at 0 -0.254) (layer F.Fab)
    (effects (font (size 0.6 0.6) (thickness 0.1)))
  )
  (fp_line (start -1.6 -0.8) (end -1.6 0.8) (layer F.SilkS) (width 0.15))
  (fp_line (start -1.6 1.2) (end -1.6 1.5) (layer F.SilkS) (width 0.15))
  (fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer F.SilkS) (width 0.15))
  (fp_line (start -1.6 -1.5) (end 1.6 -1.5) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.6 1.5) (end 1.6 1.5) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.6 -1.5) (end -1.6 1.5) (layer F.CrtYd) (width 0.05))
  (fp_line (start 1.6 -1.5) (end 1.6 1.5) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.016 0.254) (end -0.762 0.508) (layer F.Fab) (width 0.15))
  (fp_line (start -0.762 0.508) (end -0.508 0.254) (layer F.Fab) (width 0.15))
  (fp_line (start -0.508 0.254) (end -1.016 0.254) (layer F.Fab) (width 0.15))
  (fp_line (start 0.95 -1.2) (end 0.95 -0.762) (layer F.Fab) (width 0.15))
  (fp_line (start -0.95 -1.2) (end -0.95 -0.762) (layer F.Fab) (width 0.15))
  (fp_line (start -0.75 1.2) (end -0.75 0.762) (layer F.Fab) (width 0.15))
  (fp_line (start 0.95 1.2) (end 0.95 0.762) (layer F.Fab) (width 0.15))
  (pad "1" smd rect (at -0.75 1) (size 1 0.7) (layers "F.Cu" "F.Paste" "F.Mask"))
  (pad "2" smd rect (at 0.95 1) (size 0.6 0.7) (layers "F.Cu" "F.Paste" "F.Mask"))
  (pad "3" smd rect (at 0.95 -1) (size 0.6 0.7) (layers "F.Cu" "F.Paste" "F.Mask"))
  (pad "4" smd rect (at -0.95 -1) (size 0.6 0.7) (layers "F.Cu" "F.Paste" "F.Mask"))
  (model "${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-143.step"
    (at (xyz 0 0 0))
    (scale (xyz 0.9 1 0.7))
    (rotate (xyz 0 0 -90))
  )
)
