ecadlib 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. ecadlib/__init__.py +3 -0
  2. ecadlib/__main__.py +5 -0
  3. ecadlib/a365_sync.py +637 -0
  4. ecadlib/agent.py +1407 -0
  5. ecadlib/agent_queue.py +780 -0
  6. ecadlib/agent_watch.py +732 -0
  7. ecadlib/altium365.py +385 -0
  8. ecadlib/altium_dblib_sync.py +530 -0
  9. ecadlib/altium_export.py +209 -0
  10. ecadlib/altium_forms.py +768 -0
  11. ecadlib/altium_lib.py +1089 -0
  12. ecadlib/altium_menu.py +1751 -0
  13. ecadlib/altium_pkg.py +396 -0
  14. ecadlib/altium_project.py +1095 -0
  15. ecadlib/app.py +1458 -0
  16. ecadlib/approvals.py +395 -0
  17. ecadlib/assets/demo_bom.csv +8 -0
  18. ecadlib/assets/kicad_action_plugin.py +607 -0
  19. ecadlib/assets/kicad_reread.py +60 -0
  20. ecadlib/assets/pcblib_template.json.gz +0 -0
  21. ecadlib/bom_inputs.py +339 -0
  22. ecadlib/bom_triage.py +519 -0
  23. ecadlib/cad_model.py +528 -0
  24. ecadlib/cfb.py +171 -0
  25. ecadlib/cli.py +185 -0
  26. ecadlib/clihelp.py +149 -0
  27. ecadlib/cliutil.py +119 -0
  28. ecadlib/completion.py +173 -0
  29. ecadlib/costs.py +276 -0
  30. ecadlib/crosscheck.py +412 -0
  31. ecadlib/datasheet.py +2168 -0
  32. ecadlib/dedupe.py +572 -0
  33. ecadlib/detect.py +170 -0
  34. ecadlib/doctor.py +450 -0
  35. ecadlib/ds_route.py +541 -0
  36. ecadlib/eagle_export.py +1409 -0
  37. ecadlib/easy_setup.py +338 -0
  38. ecadlib/easyeda_convert.py +386 -0
  39. ecadlib/easyeda_pro_export.py +972 -0
  40. ecadlib/eval/__init__.py +0 -0
  41. ecadlib/eval/baselines/kicad-v1.json +404 -0
  42. ecadlib/eval/build_set.py +299 -0
  43. ecadlib/eval/cli.py +119 -0
  44. ecadlib/eval/gate.py +358 -0
  45. ecadlib/eval/golden/demo.txt +379 -0
  46. ecadlib/eval/golden/specs.txt +3120 -0
  47. ecadlib/eval/golden/testpack.txt +463 -0
  48. ecadlib/eval/golden.py +446 -0
  49. ecadlib/eval/replay/kicad-v1.json.gz +0 -0
  50. ecadlib/eval/runner.py +456 -0
  51. ecadlib/eval/score.py +179 -0
  52. ecadlib/eval/sets/kicad-v1.json +630 -0
  53. ecadlib/firstrun.py +400 -0
  54. ecadlib/footprint_adv.py +1006 -0
  55. ecadlib/footprint_bench.py +218 -0
  56. ecadlib/footprint_check.py +562 -0
  57. ecadlib/footprint_gen.py +582 -0
  58. ecadlib/footprint_rules.py +1092 -0
  59. ecadlib/forge.py +267 -0
  60. ecadlib/fp_share.py +95 -0
  61. ecadlib/fp_tidy.py +389 -0
  62. ecadlib/fsutil.py +62 -0
  63. ecadlib/house_style.py +1051 -0
  64. ecadlib/httpcache.py +124 -0
  65. ecadlib/hub.py +1490 -0
  66. ecadlib/hub_copy.py +161 -0
  67. ecadlib/hub_tools.py +79 -0
  68. ecadlib/kicad_dblib.py +257 -0
  69. ecadlib/kicad_export.py +837 -0
  70. ecadlib/kicad_import.py +913 -0
  71. ecadlib/kicad_index.py +160 -0
  72. ecadlib/kicad_menu.py +193 -0
  73. ecadlib/kicad_pcm.py +475 -0
  74. ecadlib/launcher.py +156 -0
  75. ecadlib/librarian.py +963 -0
  76. ecadlib/lifecycle.py +691 -0
  77. ecadlib/llm/__init__.py +276 -0
  78. ecadlib/llm/cli.py +70 -0
  79. ecadlib/llm/openai_compat.py +214 -0
  80. ecadlib/llm/profiles.py +245 -0
  81. ecadlib/llm/rails.py +570 -0
  82. ecadlib/llm/run.py +126 -0
  83. ecadlib/llm/sampling.py +49 -0
  84. ecadlib/mcp_server.py +723 -0
  85. ecadlib/messages.py +419 -0
  86. ecadlib/migrate.py +407 -0
  87. ecadlib/notify.py +329 -0
  88. ecadlib/package_schema.json +1238 -0
  89. ecadlib/package_specs/CP_EIA-3216-18_Kemet-A.json +27 -0
  90. ecadlib/package_specs/C_0402_1005Metric.json +22 -0
  91. ecadlib/package_specs/C_0805_2012Metric.json +22 -0
  92. ecadlib/package_specs/DFN-8-1EP_3x3mm_P0.5mm_EP1.66x2.38mm.json +40 -0
  93. ecadlib/package_specs/D_SMA.json +27 -0
  94. ecadlib/package_specs/D_SMB.json +27 -0
  95. ecadlib/package_specs/D_SOD-123.json +43 -0
  96. ecadlib/package_specs/D_SOD-323.json +43 -0
  97. ecadlib/package_specs/LED_0603_1608Metric.json +23 -0
  98. ecadlib/package_specs/LED_0805_2012Metric.json +23 -0
  99. ecadlib/package_specs/LQFP-48_7x7mm_P0.5mm.json +31 -0
  100. ecadlib/package_specs/L_0805_2012Metric.json +22 -0
  101. ecadlib/package_specs/MSOP-8_3x3mm_P0.65mm.json +31 -0
  102. ecadlib/package_specs/QFN-16-1EP_3x3mm_P0.5mm_EP1.75x1.75mm.json +39 -0
  103. ecadlib/package_specs/QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mm.json +37 -0
  104. ecadlib/package_specs/R_0402_1005Metric.json +22 -0
  105. ecadlib/package_specs/R_0603_1608Metric.json +22 -0
  106. ecadlib/package_specs/R_0805_2012Metric.json +22 -0
  107. ecadlib/package_specs/R_1206_3216Metric.json +22 -0
  108. ecadlib/package_specs/SOIC-16_3.9x9.9mm_P1.27mm.json +32 -0
  109. ecadlib/package_specs/SOIC-8_3.9x4.9mm_P1.27mm.json +32 -0
  110. ecadlib/package_specs/SOT-223-3_TabPin2.json +56 -0
  111. ecadlib/package_specs/SOT-23-5.json +57 -0
  112. ecadlib/package_specs/SOT-23-6.json +62 -0
  113. ecadlib/package_specs/SOT-23.json +48 -0
  114. ecadlib/package_specs/TSSOP-16_4.4x5mm_P0.65mm.json +31 -0
  115. ecadlib/package_specs/VQFN-16-1EP_3x3mm_P0.5mm_EP1.68x1.68mm.json +39 -0
  116. ecadlib/package_specs/advanced/BGA-100_11.0x11.0mm_Layout10x10_P1.0mm_Ball0.5mm_Pad0.4mm_NSMD.json +26 -0
  117. ecadlib/package_specs/advanced/BGA-121_9.0x9.0mm_Layout11x11_P0.8mm_Ball0.4mm_Pad0.35mm_NSMD.json +26 -0
  118. ecadlib/package_specs/advanced/BGA-144_7.0x7.0mm_Layout13x13_P0.5mm_Ball0.3mm_Pad0.25mm_NSMD.json +29 -0
  119. ecadlib/package_specs/advanced/BGA-169_11.0x11.0mm_Layout13x13_P0.8mm_Ball0.5mm_Pad0.4mm_NSMD.json +23 -0
  120. ecadlib/package_specs/advanced/BGA-256_11.0x11.0mm_Layout20x20_P0.5mm_Ball0.3mm_Pad0.25mm_NSMD.json +26 -0
  121. ecadlib/package_specs/advanced/BGA-256_17.0x17.0mm_Layout16x16_P1.0mm_Ball0.5mm_Pad0.4mm_NSMD.json +26 -0
  122. ecadlib/package_specs/advanced/BGA-324_15.0x15.0mm_Layout18x18_P0.8mm_Ball0.5mm_Pad0.4mm_NSMD.json +26 -0
  123. ecadlib/package_specs/advanced/BGA-36_3.396x3.466mm_Layout6x6_P0.4mm_Ball0.25mm_Pad0.2mm_NSMD.json +24 -0
  124. ecadlib/package_specs/advanced/BGA-672_27.0x27.0mm_Layout26x26_P1.0mm_Ball0.6mm_Pad0.5mm_NSMD.json +32 -0
  125. ecadlib/package_specs/advanced/BGA-68_5.0x5.0mm_Layout9x9_P0.5mm_Ball0.3mm_Pad0.25mm_NSMD.json +30 -0
  126. ecadlib/package_specs/advanced/BGA-90_8.0x13.0mm_Layout2x3x15_P0.8mm.json +26 -0
  127. ecadlib/package_specs/advanced/DFN-8-1EP_3x3mm_P0.5mm_EP1.65x2.38mm_ThermalVias.json +60 -0
  128. ecadlib/package_specs/advanced/Example_Custom_LPad_Slot.json +24 -0
  129. ecadlib/package_specs/advanced/JST_GH_SM04B-GHS-TB_1x04-1MP_P1.25mm_Horizontal.json +49 -0
  130. ecadlib/package_specs/advanced/JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical.json +33 -0
  131. ecadlib/package_specs/advanced/JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal.json +55 -0
  132. ecadlib/package_specs/advanced/JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_Horizontal.json +49 -0
  133. ecadlib/package_specs/advanced/JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical.json +34 -0
  134. ecadlib/package_specs/advanced/JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical.json +34 -0
  135. ecadlib/package_specs/advanced/JST_XH_B6B-XH-A_1x06_P2.50mm_Vertical.json +33 -0
  136. ecadlib/package_specs/advanced/LFBGA-144_10x10mm_Layout12x12_P0.8mm.json +23 -0
  137. ecadlib/package_specs/advanced/Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical.json +34 -0
  138. ecadlib/package_specs/advanced/Molex_PicoBlade_53398-0471_1x04-1MP_P1.25mm_Vertical.json +54 -0
  139. ecadlib/package_specs/advanced/PinHeader_1x05_P1.00mm_Vertical_SMD_Pin1Left.json +14 -0
  140. ecadlib/package_specs/advanced/PinHeader_1x05_P1.27mm_Vertical_SMD_Pin1Left.json +14 -0
  141. ecadlib/package_specs/advanced/PinHeader_1x05_P2.00mm_Vertical.json +12 -0
  142. ecadlib/package_specs/advanced/PinHeader_1x05_P2.00mm_Vertical_SMD_Pin1Left.json +14 -0
  143. ecadlib/package_specs/advanced/PinHeader_1x05_P2.54mm_Vertical.json +12 -0
  144. ecadlib/package_specs/advanced/PinHeader_1x05_P2.54mm_Vertical_SMD_Pin1Left.json +25 -0
  145. ecadlib/package_specs/advanced/PinHeader_1x05_P2.54mm_Vertical_SMD_Pin1Right.json +14 -0
  146. ecadlib/package_specs/advanced/PinHeader_1x10_P1.00mm_Vertical.json +15 -0
  147. ecadlib/package_specs/advanced/PinHeader_2x05_P1.00mm_Vertical_SMD.json +13 -0
  148. ecadlib/package_specs/advanced/PinHeader_2x05_P1.27mm_Vertical.json +18 -0
  149. ecadlib/package_specs/advanced/PinHeader_2x05_P1.27mm_Vertical_SMD.json +24 -0
  150. ecadlib/package_specs/advanced/PinHeader_2x05_P2.00mm_Vertical_SMD.json +13 -0
  151. ecadlib/package_specs/advanced/PinHeader_2x05_P2.54mm_Vertical.json +12 -0
  152. ecadlib/package_specs/advanced/PinHeader_2x05_P2.54mm_Vertical_SMD.json +24 -0
  153. ecadlib/package_specs/advanced/PinHeader_2x20_P2.54mm_Vertical.json +12 -0
  154. ecadlib/package_specs/advanced/QFN-16-1EP_3x3mm_P0.5mm_EP1.75x1.75mm_ThermalVias.json +87 -0
  155. ecadlib/package_specs/advanced/UFBGA-132_7x7mm_Layout12x12_P0.5mm.json +43 -0
  156. ecadlib/package_specs/advanced/USB_C_Receptacle_HRO_TYPE-C-31-M-12.json +218 -0
  157. ecadlib/package_specs/standard.json.gz +0 -0
  158. ecadlib/parity.py +1204 -0
  159. ecadlib/parts_export.py +154 -0
  160. ecadlib/partview.py +215 -0
  161. ecadlib/plugins.py +231 -0
  162. ecadlib/providers.py +226 -0
  163. ecadlib/rebuild.py +471 -0
  164. ecadlib/release_check.py +437 -0
  165. ecadlib/reports.py +274 -0
  166. ecadlib/resolve.py +556 -0
  167. ecadlib/review_cli.py +292 -0
  168. ecadlib/rules.py +979 -0
  169. ecadlib/rules_infer.py +1205 -0
  170. ecadlib/sexpr.py +149 -0
  171. ecadlib/sheetsafe.py +65 -0
  172. ecadlib/sim_models.py +1087 -0
  173. ecadlib/sourcing.py +1161 -0
  174. ecadlib/stdparts.py +755 -0
  175. ecadlib/step_gen.py +929 -0
  176. ecadlib/symbol_layout.py +798 -0
  177. ecadlib/team.py +558 -0
  178. ecadlib/team_setup.py +288 -0
  179. ecadlib/term.py +420 -0
  180. ecadlib/term_views.py +64 -0
  181. ecadlib/testpack.py +334 -0
  182. ecadlib/ui/__init__.py +1 -0
  183. ecadlib/ui/__main__.py +3 -0
  184. ecadlib/ui/server.py +1029 -0
  185. ecadlib/ui/static/hairline.js +2 -0
  186. ecadlib/ui/static/index.html +2098 -0
  187. ecadlib/ui/static/setup.html +294 -0
  188. ecadlib/upkeep.py +717 -0
  189. ecadlib/upstream.py +573 -0
  190. ecadlib/userconfig.py +257 -0
  191. ecadlib/visual_check.py +1603 -0
  192. ecadlib/ws_status.py +203 -0
  193. ecadlib-0.3.0.dist-info/METADATA +2245 -0
  194. ecadlib-0.3.0.dist-info/RECORD +199 -0
  195. ecadlib-0.3.0.dist-info/WHEEL +5 -0
  196. ecadlib-0.3.0.dist-info/entry_points.txt +2 -0
  197. ecadlib-0.3.0.dist-info/licenses/LICENSE +21 -0
  198. ecadlib-0.3.0.dist-info/licenses/NOTICE +53 -0
  199. ecadlib-0.3.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "SOT-23-5",
3
+ "description": "SOT-23-5 (MO-178AA)",
4
+ "package_type": "gullwing",
5
+ "pin_count": 5,
6
+ "lead_span": {
7
+ "nom": 2.8,
8
+ "tol": 0.0
9
+ },
10
+ "body_width": {
11
+ "nom": 1.6,
12
+ "tol": 0.0
13
+ },
14
+ "body_length": {
15
+ "nom": 2.9,
16
+ "tol": 0.0
17
+ },
18
+ "terminal_width": {
19
+ "min": 0.3,
20
+ "max": 0.5
21
+ },
22
+ "terminal_length": {
23
+ "min": 0.3,
24
+ "max": 0.6
25
+ },
26
+ "pin_positions": [
27
+ {
28
+ "number": "1",
29
+ "side": "L",
30
+ "offset": -0.95
31
+ },
32
+ {
33
+ "number": "2",
34
+ "side": "L",
35
+ "offset": 0
36
+ },
37
+ {
38
+ "number": "3",
39
+ "side": "L",
40
+ "offset": 0.95
41
+ },
42
+ {
43
+ "number": "4",
44
+ "side": "R",
45
+ "offset": 0.95
46
+ },
47
+ {
48
+ "number": "5",
49
+ "side": "R",
50
+ "offset": -0.95
51
+ }
52
+ ],
53
+ "density": "B",
54
+ "source": {
55
+ "drawing": "KiCad footprint generator size definitions (gitlab.com/kicad/libraries/kicad-footprint-generator, data/package/gullwing/sot.yaml, JEDEC MO-178AA)"
56
+ }
57
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "SOT-23-6",
3
+ "description": "SOT-23-6 (MO-178AB)",
4
+ "package_type": "gullwing",
5
+ "pin_count": 6,
6
+ "lead_span": {
7
+ "nom": 2.8,
8
+ "tol": 0.0
9
+ },
10
+ "body_width": {
11
+ "nom": 1.6,
12
+ "tol": 0.0
13
+ },
14
+ "body_length": {
15
+ "nom": 2.9,
16
+ "tol": 0.0
17
+ },
18
+ "terminal_width": {
19
+ "min": 0.3,
20
+ "max": 0.5
21
+ },
22
+ "terminal_length": {
23
+ "min": 0.3,
24
+ "max": 0.6
25
+ },
26
+ "pin_positions": [
27
+ {
28
+ "number": "1",
29
+ "side": "L",
30
+ "offset": -0.95
31
+ },
32
+ {
33
+ "number": "2",
34
+ "side": "L",
35
+ "offset": 0
36
+ },
37
+ {
38
+ "number": "3",
39
+ "side": "L",
40
+ "offset": 0.95
41
+ },
42
+ {
43
+ "number": "4",
44
+ "side": "R",
45
+ "offset": 0.95
46
+ },
47
+ {
48
+ "number": "5",
49
+ "side": "R",
50
+ "offset": 0
51
+ },
52
+ {
53
+ "number": "6",
54
+ "side": "R",
55
+ "offset": -0.95
56
+ }
57
+ ],
58
+ "density": "B",
59
+ "source": {
60
+ "drawing": "KiCad footprint generator size definitions (gitlab.com/kicad/libraries/kicad-footprint-generator, data/package/gullwing/sot.yaml, JEDEC MO-178AB)"
61
+ }
62
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "SOT-23",
3
+ "description": "SOT-23 (TO-236AB), 3 pins",
4
+ "package_type": "gullwing",
5
+ "pin_count": 3,
6
+ "lead_span": {
7
+ "min": 2.1,
8
+ "max": 2.64
9
+ },
10
+ "body_width": {
11
+ "min": 1.2,
12
+ "max": 1.4
13
+ },
14
+ "body_length": {
15
+ "min": 2.8,
16
+ "nom": 2.9,
17
+ "max": 3.04
18
+ },
19
+ "terminal_width": {
20
+ "min": 0.3,
21
+ "max": 0.5
22
+ },
23
+ "terminal_length": {
24
+ "min": 0.4,
25
+ "max": 0.6
26
+ },
27
+ "pin_positions": [
28
+ {
29
+ "number": "1",
30
+ "side": "L",
31
+ "offset": -0.95
32
+ },
33
+ {
34
+ "number": "2",
35
+ "side": "L",
36
+ "offset": 0.95
37
+ },
38
+ {
39
+ "number": "3",
40
+ "side": "R",
41
+ "offset": 0
42
+ }
43
+ ],
44
+ "density": "B",
45
+ "source": {
46
+ "drawing": "KiCad footprint generator size definitions (gitlab.com/kicad/libraries/kicad-footprint-generator, data/package/gullwing/sot.yaml, JEDEC TO-236AB)"
47
+ }
48
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "TSSOP-16_4.4x5mm_P0.65mm",
3
+ "description": "TSSOP-16 4.4 x 5 mm, 0.65 mm pitch, JEDEC MO-153AB",
4
+ "package_type": "gullwing",
5
+ "pin_count": 16,
6
+ "pitch": 0.65,
7
+ "lead_span": {
8
+ "nom": 6.4,
9
+ "tol": 0.0
10
+ },
11
+ "body_width": {
12
+ "nom": 4.4,
13
+ "tol": 0.1
14
+ },
15
+ "body_length": {
16
+ "nom": 5.0,
17
+ "tol": 0.1
18
+ },
19
+ "terminal_width": {
20
+ "min": 0.17,
21
+ "max": 0.3
22
+ },
23
+ "terminal_length": {
24
+ "nom": 0.6,
25
+ "tol": 0.15
26
+ },
27
+ "density": "B",
28
+ "source": {
29
+ "drawing": "KiCad footprint generator size definitions (gitlab.com/kicad/libraries/kicad-footprint-generator, data/package/gullwing/lssop_tssop_vssop_wssop.yaml, JEDEC MO-153AB)"
30
+ }
31
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "VQFN-16-1EP_3x3mm_P0.5mm_EP1.68x1.68mm",
3
+ "description": "VQFN-16 3x3 mm (TI RGT, e.g. TPS62133RGTR)",
4
+ "package_type": "qfn",
5
+ "pin_count": 16,
6
+ "pitch": 0.5,
7
+ "body_length": {
8
+ "min": 2.9,
9
+ "max": 3.1
10
+ },
11
+ "body_width": {
12
+ "min": 2.9,
13
+ "max": 3.1
14
+ },
15
+ "terminal_length": {
16
+ "min": 0.3,
17
+ "max": 0.5
18
+ },
19
+ "terminal_width": {
20
+ "min": 0.18,
21
+ "max": 0.3
22
+ },
23
+ "exposed_pad": {
24
+ "length": {
25
+ "nom": 1.68
26
+ },
27
+ "width": {
28
+ "nom": 1.68
29
+ }
30
+ },
31
+ "height_max": 1.0,
32
+ "density": "B",
33
+ "source": {
34
+ "drawing": "TI RGT0016C (dims typed from memory - verify against the TI package drawing)"
35
+ },
36
+ "unresolved": [
37
+ "exposed_pad tolerance"
38
+ ]
39
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "BGA-100_11.0x11.0mm_Layout10x10_P1.0mm_Ball0.5mm_Pad0.4mm_NSMD",
3
+ "description": "Altera BGA-100, 11 x 11 mm, 1.0 mm pitch",
4
+ "package_type": "bga",
5
+ "pin_count": 100,
6
+ "rows": 10,
7
+ "cols": 10,
8
+ "pitch": 1.0,
9
+ "body_length": {
10
+ "nom": 11.0
11
+ },
12
+ "body_width": {
13
+ "nom": 11.0
14
+ },
15
+ "ball_diameter": {
16
+ "min": 0.4,
17
+ "nom": 0.5,
18
+ "max": 0.6
19
+ },
20
+ "height_max": 1.55,
21
+ "density": "B",
22
+ "source": {
23
+ "datasheet": "https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/packaging/04r00223-02.pdf",
24
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as the datasheet drawing gives them"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "BGA-121_9.0x9.0mm_Layout11x11_P0.8mm_Ball0.4mm_Pad0.35mm_NSMD",
3
+ "description": "BGA-121, 9 x 9 mm, 0.8 mm pitch, 0.4 mm balls, the maker's 0.35 mm land (IPC would give 0.30)",
4
+ "package_type": "bga",
5
+ "pin_count": 121,
6
+ "rows": 11,
7
+ "cols": 11,
8
+ "pitch": 0.8,
9
+ "body_length": {
10
+ "nom": 9.0
11
+ },
12
+ "body_width": {
13
+ "nom": 9.0
14
+ },
15
+ "ball_diameter": {
16
+ "nom": 0.4
17
+ },
18
+ "land_diameter": {
19
+ "nom": 0.35
20
+ },
21
+ "height_max": 1.2,
22
+ "density": "B",
23
+ "source": {
24
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as its name and drawing give them"
25
+ }
26
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "BGA-144_7.0x7.0mm_Layout13x13_P0.5mm_Ball0.3mm_Pad0.25mm_NSMD",
3
+ "description": "Altera MBGA-144, 7 x 7 mm, 0.5 mm pitch, centre 5 x 5 depopulated",
4
+ "package_type": "bga",
5
+ "pin_count": 144,
6
+ "rows": 13,
7
+ "cols": 13,
8
+ "pitch": 0.5,
9
+ "body_length": {
10
+ "nom": 7.0
11
+ },
12
+ "body_width": {
13
+ "nom": 7.0
14
+ },
15
+ "ball_diameter": {
16
+ "min": 0.25,
17
+ "nom": 0.3,
18
+ "max": 0.35
19
+ },
20
+ "depopulated": [
21
+ "E5:J9"
22
+ ],
23
+ "height_max": 1.1,
24
+ "density": "B",
25
+ "source": {
26
+ "datasheet": "https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/packaging/04r00346-00.pdf",
27
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as the datasheet drawing gives them"
28
+ }
29
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "BGA-169_11.0x11.0mm_Layout13x13_P0.8mm_Ball0.5mm_Pad0.4mm_NSMD",
3
+ "description": "BGA-169, 11 x 11 mm, 0.8 mm pitch, rows A..N without I",
4
+ "package_type": "bga",
5
+ "pin_count": 169,
6
+ "rows": 13,
7
+ "cols": 13,
8
+ "pitch": 0.8,
9
+ "body_length": {
10
+ "nom": 11.0
11
+ },
12
+ "body_width": {
13
+ "nom": 11.0
14
+ },
15
+ "ball_diameter": {
16
+ "nom": 0.5
17
+ },
18
+ "height_max": 1.2,
19
+ "density": "B",
20
+ "source": {
21
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as its name and drawing give them"
22
+ }
23
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "BGA-256_11.0x11.0mm_Layout20x20_P0.5mm_Ball0.3mm_Pad0.25mm_NSMD",
3
+ "description": "BGA-256, 11 x 11 mm, 0.5 mm pitch, 20 rows A..Y without I O Q S X, centre 12 x 12 empty",
4
+ "package_type": "bga",
5
+ "pin_count": 256,
6
+ "rows": 20,
7
+ "cols": 20,
8
+ "pitch": 0.5,
9
+ "body_length": {
10
+ "nom": 11.0
11
+ },
12
+ "body_width": {
13
+ "nom": 11.0
14
+ },
15
+ "ball_diameter": {
16
+ "nom": 0.3
17
+ },
18
+ "depopulated": [
19
+ "E5:T16"
20
+ ],
21
+ "height_max": 1.2,
22
+ "density": "B",
23
+ "source": {
24
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as its name and drawing give them"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "BGA-256_17.0x17.0mm_Layout16x16_P1.0mm_Ball0.5mm_Pad0.4mm_NSMD",
3
+ "description": "Xilinx FT256 fine-pitch BGA, 17 x 17 mm, 1.0 mm pitch",
4
+ "package_type": "bga",
5
+ "pin_count": 256,
6
+ "rows": 16,
7
+ "cols": 16,
8
+ "pitch": 1.0,
9
+ "body_length": {
10
+ "nom": 17.0
11
+ },
12
+ "body_width": {
13
+ "nom": 17.0
14
+ },
15
+ "ball_diameter": {
16
+ "min": 0.4,
17
+ "nom": 0.5,
18
+ "max": 0.6
19
+ },
20
+ "height_max": 1.55,
21
+ "density": "B",
22
+ "source": {
23
+ "datasheet": "https://www.xilinx.com/support/documentation/package_specs/ft256.pdf",
24
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as the datasheet drawing gives them"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "BGA-324_15.0x15.0mm_Layout18x18_P0.8mm_Ball0.5mm_Pad0.4mm_NSMD",
3
+ "description": "Altera U324 BGA, 15 x 15 mm, 0.8 mm pitch",
4
+ "package_type": "bga",
5
+ "pin_count": 324,
6
+ "rows": 18,
7
+ "cols": 18,
8
+ "pitch": 0.8,
9
+ "body_length": {
10
+ "nom": 15.0
11
+ },
12
+ "body_width": {
13
+ "nom": 15.0
14
+ },
15
+ "ball_diameter": {
16
+ "min": 0.45,
17
+ "nom": 0.5,
18
+ "max": 0.55
19
+ },
20
+ "height_max": 1.5,
21
+ "density": "B",
22
+ "source": {
23
+ "datasheet": "https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/packaging/04r00474-02.pdf",
24
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as the datasheet drawing gives them"
25
+ }
26
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "BGA-36_3.396x3.466mm_Layout6x6_P0.4mm_Ball0.25mm_Pad0.2mm_NSMD",
3
+ "description": "WLCSP-36, 3.396 x 3.466 mm, 0.4 mm pitch, 0.25 mm balls (KiCad's chip-scale courtyard: 0.25 mm)",
4
+ "package_type": "bga",
5
+ "pin_count": 36,
6
+ "rows": 6,
7
+ "cols": 6,
8
+ "pitch": 0.4,
9
+ "body_length": {
10
+ "nom": 3.396
11
+ },
12
+ "body_width": {
13
+ "nom": 3.466
14
+ },
15
+ "ball_diameter": {
16
+ "nom": 0.25
17
+ },
18
+ "height_max": 0.6,
19
+ "density": "B",
20
+ "source": {
21
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as its name and drawing give them"
22
+ },
23
+ "courtyard_excess": 0.25
24
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "BGA-672_27.0x27.0mm_Layout26x26_P1.0mm_Ball0.6mm_Pad0.5mm_NSMD",
3
+ "description": "BGA-672, 27 x 27 mm, 1.0 mm pitch, rows A..AF (double letters after Y), four corner balls missing (A1 too)",
4
+ "package_type": "bga",
5
+ "pin_count": 672,
6
+ "rows": 26,
7
+ "cols": 26,
8
+ "pitch": 1.0,
9
+ "body_length": {
10
+ "nom": 27.0
11
+ },
12
+ "body_width": {
13
+ "nom": 27.0
14
+ },
15
+ "ball_diameter": {
16
+ "nom": 0.6
17
+ },
18
+ "land_diameter": {
19
+ "nom": 0.5
20
+ },
21
+ "depopulated": [
22
+ "A1",
23
+ "A26",
24
+ "AF1",
25
+ "AF26"
26
+ ],
27
+ "height_max": 2.5,
28
+ "density": "B",
29
+ "source": {
30
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as its name and drawing give them"
31
+ }
32
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "BGA-68_5.0x5.0mm_Layout9x9_P0.5mm_Ball0.3mm_Pad0.25mm_NSMD",
3
+ "description": "BGA-68, 5 x 5 mm, 0.5 mm pitch, 13 balls missing in a ring and the centre",
4
+ "package_type": "bga",
5
+ "pin_count": 68,
6
+ "rows": 9,
7
+ "cols": 9,
8
+ "pitch": 0.5,
9
+ "body_length": {
10
+ "nom": 5.0
11
+ },
12
+ "body_width": {
13
+ "nom": 5.0
14
+ },
15
+ "ball_diameter": {
16
+ "nom": 0.3
17
+ },
18
+ "depopulated": [
19
+ "C3",
20
+ "C7",
21
+ "D4:F6",
22
+ "G3",
23
+ "G7"
24
+ ],
25
+ "height_max": 1.0,
26
+ "density": "B",
27
+ "source": {
28
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as its name and drawing give them"
29
+ }
30
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "BGA-90_8.0x13.0mm_Layout2x3x15_P0.8mm",
3
+ "description": "BGA-90 (x32 SDRAM), 8 x 13 mm, 0.8 mm pitch, 2 x 3 x 15 balls (columns 4..6 empty)",
4
+ "package_type": "bga",
5
+ "pin_count": 90,
6
+ "rows": 15,
7
+ "cols": 9,
8
+ "pitch": 0.8,
9
+ "body_length": {
10
+ "nom": 8.0
11
+ },
12
+ "body_width": {
13
+ "nom": 13.0
14
+ },
15
+ "land_diameter": {
16
+ "nom": 0.4
17
+ },
18
+ "depopulated": [
19
+ "A4:R6"
20
+ ],
21
+ "height_max": 1.2,
22
+ "density": "B",
23
+ "source": {
24
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; dimensions as its name and drawing give them"
25
+ }
26
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "DFN-8-1EP_3x3mm_P0.5mm_EP1.65x2.38mm_ThermalVias",
3
+ "description": "DFN-8, 3 x 3 mm, 0.5 mm pitch, 1.65 x 2.38 mm exposed pad with 2 x 3 thermal vias (different row and column pitch)",
4
+ "package_type": "custom",
5
+ "pin_count": 9,
6
+ "pitch": 0.5,
7
+ "height_max": 1.0,
8
+ "pad_table": {
9
+ "unit": "mm",
10
+ "y_axis": "down",
11
+ "origin": "center",
12
+ "arrays": [
13
+ {
14
+ "count": 4,
15
+ "x": -1.45,
16
+ "y": -0.75,
17
+ "dy": 0.5,
18
+ "w": 0.85,
19
+ "h": 0.25
20
+ },
21
+ {
22
+ "count": 4,
23
+ "first_number": 5,
24
+ "x": 1.45,
25
+ "y": 0.75,
26
+ "dy": -0.5,
27
+ "w": 0.85,
28
+ "h": 0.25
29
+ }
30
+ ],
31
+ "pads": [
32
+ {
33
+ "number": 9,
34
+ "x": 0,
35
+ "y": 0,
36
+ "w": 1.65,
37
+ "h": 2.38,
38
+ "shape": "rect",
39
+ "paste": "grid",
40
+ "thermal_vias": {
41
+ "drill": 0.2,
42
+ "diameter": 0.5,
43
+ "nx": 2,
44
+ "ny": 3,
45
+ "pitch": 1.15,
46
+ "pitch_y": 0.94
47
+ }
48
+ }
49
+ ],
50
+ "body": {
51
+ "x1": -1.5,
52
+ "y1": -1.5,
53
+ "x2": 1.5,
54
+ "y2": 1.5
55
+ }
56
+ },
57
+ "source": {
58
+ "drawing": "KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check; pads as its drawing gives them"
59
+ }
60
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "Example_Custom_LPad_Slot",
3
+ "description": "Odd-shape example: L-shaped thermal pad with split paste and vias, a signal pad in its notch, a plated slot, a locating hole and a via keep-out",
4
+ "package_type": "custom",
5
+ "pin_count": 3,
6
+ "pad_table": {
7
+ "unit": "mm",
8
+ "y_axis": "up",
9
+ "origin": "center",
10
+ "footprint_origin": "center",
11
+ "pads": [
12
+ {"number": "1", "polygon": [{"x": -3, "y": 2.5}, {"x": 1, "y": 2.5}, {"x": 1, "y": 0.5}, {"x": -1, "y": 0.5}, {"x": -1, "y": -2.5}, {"x": -3, "y": -2.5}],
13
+ "role": "thermal", "paste": "grid", "paste_coverage": 0.6, "thermal_vias": {"drill": 0.3, "diameter": 0.6, "nx": 2, "ny": 2, "pitch": 1.2},
14
+ "label": "tab, L-shaped"},
15
+ {"number": "2", "x": 0.5, "y": -1.5, "w": 1.0, "h": 1.2, "label": "signal pad in the notch"},
16
+ {"number": "3", "x": 3.5, "y": 0, "w": 1.6, "h": 2.6, "type": "tht", "drill": 0.8, "drill_h": 1.8, "label": "plated slot"},
17
+ {"x": -4.6, "y": 0, "type": "npth", "drill": 1.0, "label": "locating peg"}
18
+ ],
19
+ "body": {"x1": -3.8, "y1": 3, "x2": 3, "y2": -3},
20
+ "keepouts": [{"x1": 1.6, "y1": 2.8, "x2": 2.8, "y2": 1.2, "layers": ["F.Cu"], "rules": ["vias", "tracks"]}]
21
+ },
22
+ "height_max": 2.0,
23
+ "source": {"drawing": "hand-made example of the custom pad_table (no datasheet)"}
24
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "JST_GH_SM04B-GHS-TB_1x04-1MP_P1.25mm_Horizontal",
3
+ "description": "JST GH series connector, SM04B-GHS-TB, side entry, 4 pins + mounting pads, 1.25 mm pitch",
4
+ "package_type": "connector",
5
+ "pin_count": 4,
6
+ "pitch": 1.25,
7
+ "height_max": 4.25,
8
+ "pad_table": {
9
+ "unit": "mm",
10
+ "y_axis": "down",
11
+ "origin": "center",
12
+ "arrays": [
13
+ {
14
+ "count": 4,
15
+ "x": -1.875,
16
+ "y": -1.85,
17
+ "dx": 1.25,
18
+ "w": 0.6,
19
+ "h": 1.7
20
+ }
21
+ ],
22
+ "pads": [
23
+ {
24
+ "number": "MP",
25
+ "x": -3.725,
26
+ "y": 1.35,
27
+ "w": 1.0,
28
+ "h": 2.7
29
+ },
30
+ {
31
+ "number": "MP",
32
+ "x": 3.725,
33
+ "y": 1.35,
34
+ "w": 1.0,
35
+ "h": 2.7
36
+ }
37
+ ],
38
+ "body": {
39
+ "x1": -4.125,
40
+ "y1": -1.6,
41
+ "x2": 4.125,
42
+ "y2": 2.45
43
+ }
44
+ },
45
+ "source": {
46
+ "datasheet": "http://www.jst-mfg.com/product/pdf/eng/eGH.pdf",
47
+ "drawing": "recommended PCB layout; KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints) as the cross-check"
48
+ }
49
+ }