diff options
Diffstat (limited to 'gen')
-rwxr-xr-x | gen | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,7 +28,7 @@ resc_heights = { capc_heights = { "1005": [15, 35, 37, 40], "1608": [40], - "2012": [40], + "2012": [40, 135], "3216": [40], "3225": [40], "5025": [40], @@ -107,7 +107,7 @@ resc_lp = [ChipLandPattern.from_ipc(p) for p in ipc_sm_782.data["resc"]["land_pa capc_lp = [ChipLandPattern.from_ipc(p) for p in ipc_sm_782.data["capc"]["land_patterns"]] -for kind, lps in {"RESC": resc_lp, "CAPC": capc_lp}.items(): +for (kind, lps, heights) in [("RESC", resc_lp, resc_heights), ("CAPC", capc_lp, capc_heights)]: basedir = "IPC-7351-{}.pretty".format(kind) if not os.path.isdir(basedir): os.mkdir(basedir) @@ -115,7 +115,7 @@ for kind, lps in {"RESC": resc_lp, "CAPC": capc_lp}.items(): # print("{}_{}".format(kind, lp.key)) # print("lp={}".format(lp)) # print("lp={}".format(lp.size_x / 8)) - for h in resc_heights.get(lp.key, []): + for h in heights.get(lp.key, []): key = "{}_{}x{:02}".format(kind, lp.key, h) # print(" " + key) kicad_mod = chip.render({"lp": lp, "key": key, "h": h}) |