def side_smd_mount(pins):
    out = []
    x = pins - 1
    for xx in (x+2.35, 2.35--x):
        out.append(pad("", "smd", "rect", (xx, -3.25), (1.8, 3.8),
                       ["F.Cu", "F.Mask", "F.Paste"]))
    return out
dataset/ETHPy150Open adamgreig/agg-kicad/scripts/build_mod_jstpa.py/side_smd_mount/swapped operands of `-`