(module Texas_VQFN-RNH-30 (layer F.Cu) (tedit 5FCDF769)
  (descr http://www.ti.com/lit/ds/symlink/bq51050b.pdf)
  (tags RHL0020A)
  (attr smd)
  (fp_text reference U1 (at 1.7 3.19) (layer F.SilkS)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_text value HD3SS3220 (at 0 3.7) (layer F.Fab) hide
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_line (start -1.9 -2.3) (end -1 -2.3) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.8 2) (end -1.8 2.3) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.8 2.3) (end -1 2.3) (layer F.SilkS) (width 0.12))
  (fp_line (start 1.8 2) (end 1.8 2.3) (layer F.SilkS) (width 0.12))
  (fp_line (start 1.8 -2.3) (end 1.8 -2) (layer F.SilkS) (width 0.12))
  (fp_line (start 1 2.3) (end 1.8 2.3) (layer F.SilkS) (width 0.12))
  (fp_line (start 1 -2.3) (end 1.8 -2.3) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.2 -2.7) (end -2.2 2.7) (layer F.CrtYd) (width 0.05))
  (fp_line (start -2.2 -2.7) (end 2.2 -2.7) (layer F.CrtYd) (width 0.05))
  (fp_line (start 2.2 -2.7) (end 2.2 2.7) (layer F.CrtYd) (width 0.05))
  (fp_line (start -2.2 2.7) (end 2.2 2.7) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.03 -2.25) (end 1.3 -2.25) (layer F.Fab) (width 0.1))
  (fp_line (start 1.3 -2.25) (end 1.3 2.25) (layer F.Fab) (width 0.1))
  (fp_line (start -1.3 2.25) (end 1.3 2.25) (layer F.Fab) (width 0.1))
  (fp_line (start -1.3 -1.73) (end -1.3 2.25) (layer F.Fab) (width 0.1))
  (fp_line (start -1.3 -1.73) (end -1.03 -2.25) (layer F.Fab) (width 0.1))
  (fp_text user %R (at -0.08 -3.08) (layer F.Fab)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (pad 25 smd custom (at 1.2 -1.8 90) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.009 -0.25) (xy -0.1 -0.25) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.159)
) (width 0))
    ))
  (pad 26 smd custom (at 0.8 -2.2 180) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.1 -0.159) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.25) (xy 0.009 -0.25)
) (width 0))
    ))
  (pad 1 smd custom (at -1.2 -1.8 270) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.1 -0.159) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.25) (xy 0.009 -0.25)
) (width 0))
    ))
  (pad 30 smd custom (at -0.8 -2.2 180) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.009 -0.25) (xy -0.1 -0.25) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.159)
) (width 0))
    ))
  (pad 16 smd custom (at 1.2 1.8 90) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.1 -0.159) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.25) (xy 0.009 -0.25)
) (width 0))
    ))
  (pad 10 smd custom (at -1.2 1.8 270) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.009 -0.25) (xy -0.1 -0.25) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.159)
) (width 0))
    ))
  (pad 13 smd roundrect (at 0 2.2) (size 0.2 0.5) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 12 smd roundrect (at -0.4 2.2) (size 0.2 0.5) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 28 smd roundrect (at 0 -2.2) (size 0.2 0.5) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 29 smd roundrect (at -0.4 -2.2) (size 0.2 0.5) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 27 smd roundrect (at 0.4 -2.2) (size 0.2 0.5) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 24 smd roundrect (at 1.2 -1.4) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 23 smd roundrect (at 1.2 -1) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 22 smd roundrect (at 1.2 -0.6) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 21 smd roundrect (at 1.2 -0.2) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 20 smd roundrect (at 1.2 0.2) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 19 smd roundrect (at 1.2 0.6) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 18 smd roundrect (at 1.2 1) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 14 smd roundrect (at 0.4 2.2) (size 0.2 0.5) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 15 smd custom (at 0.8 2.2) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.009 -0.25) (xy -0.1 -0.25) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.159)
) (width 0))
    ))
  (pad 8 smd roundrect (at -1.2 1) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 7 smd roundrect (at -1.2 0.6) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 6 smd roundrect (at -1.2 0.2) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 5 smd roundrect (at -1.2 -0.2) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 4 smd roundrect (at -1.2 -0.6) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 3 smd roundrect (at -1.2 -1) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 2 smd roundrect (at -1.2 -1.4) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 31 smd rect (at 0 0) (size 1.2 3.2) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0))
  (pad 9 smd roundrect (at -1.2 1.4) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 17 smd roundrect (at 1.2 1.4) (size 0.5 0.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.21))
  (pad 11 smd custom (at -0.8 2.2) (size 0.1 0.1) (layers F.Cu F.Paste F.Mask)
    (zone_connect 0)
    (options (clearance outline) (anchor rect))
    (primitives
      (gr_poly (pts
         (xy -0.1 -0.159) (xy -0.1 0.25) (xy 0.1 0.25) (xy 0.1 -0.25) (xy 0.009 -0.25)
) (width 0))
    ))
  (model ${KISYS3DMOD}/Package_DFN_QFN.3dshapes/Texas_VQFN-RHL-20_ThermalVias.wrl
    (at (xyz 0 0 0))
    (scale (xyz 1 1 1))
    (rotate (xyz 0 0 0))
  )
)
