def top_smd_mount(pins):
    out = []
    x = pins - 1
    for xx in (x+2.35, -x-2.35):
        out.append(pad("", "smd", "rect", (xx, 4.7), (1.8, 3.6),
                       ["F.Cu", "F.Mask", "F.Paste"]))
    return out
dataset/ETHPy150Open adamgreig/agg-kicad/scripts/build_mod_jstpa.py/top_smd_mount/original