def side_pth_mount(pins):
    x = ((2.0 * (pins - 1)) // 2) + 1.5
    size = [1.2, 1.2]
    layers = ["*.Mask"]
    return [
        pad("", "np_thru_hole", "circle", (x, -2.1), size, layers, drill=1.2),
        pad("", "np_thru_hole", "circle", (-x, -2.1), size, layers, drill=1.2)
    ]
dataset/ETHPy150Open adamgreig/agg-kicad/scripts/build_mod_jstpa.py/side_pth_mount/original