@tscircuit/footprinter 0.0.198 → 0.0.200
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.
- package/README.md +2 -2
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,10 +77,10 @@ fp.string("dip4_w0.3in") // same as fp.dip(4).w("0.3in")
|
|
|
77
77
|
|
|
78
78
|
## Getting JSON output from the builder
|
|
79
79
|
|
|
80
|
-
Use the `.
|
|
80
|
+
Use the `.circuitJson()` function to output [tscircuit circuit JSON](https://github.com/tscircuit/circuit-json)
|
|
81
81
|
|
|
82
82
|
```ts
|
|
83
|
-
fp.string("res0402").
|
|
83
|
+
fp.string("res0402").circuitJson()
|
|
84
84
|
/*
|
|
85
85
|
[
|
|
86
86
|
{
|
package/dist/index.js
CHANGED
|
@@ -283,6 +283,15 @@ var footprintSizes = [
|
|
|
283
283
|
w_mm_min: 0.58,
|
|
284
284
|
h_mm_min: 0.21
|
|
285
285
|
},
|
|
286
|
+
{
|
|
287
|
+
imperial: "0504",
|
|
288
|
+
metric: "1310",
|
|
289
|
+
p_mm_min: 1.1,
|
|
290
|
+
pw_mm_min: 0.65,
|
|
291
|
+
ph_mm_min: 1.3,
|
|
292
|
+
w_mm_min: 0.58,
|
|
293
|
+
h_mm_min: 0.21
|
|
294
|
+
},
|
|
286
295
|
{
|
|
287
296
|
imperial: "0201",
|
|
288
297
|
metric: "0603",
|