jscad-electronics 0.0.1
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 +3 -0
- package/dist/index.d.ts +113 -0
- package/dist/index.js +79282 -0
- package/package.json +34 -0
package/README.md
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { AnySoupElement, PCBSMTPad, PCBPlatedHole } from '@tscircuit/soup';
|
|
3
|
+
|
|
4
|
+
declare const A0402: () => react_jsx_runtime.JSX.Element;
|
|
5
|
+
|
|
6
|
+
declare const A0603: () => react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
declare const A0805: () => react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
interface BGAProps {
|
|
11
|
+
packageWidth?: number;
|
|
12
|
+
packageLength?: number;
|
|
13
|
+
packageHeight?: number;
|
|
14
|
+
standoffHeight?: number;
|
|
15
|
+
ballPitch?: number;
|
|
16
|
+
ballDiameter?: number;
|
|
17
|
+
ballRows?: number;
|
|
18
|
+
ballColumns?: number;
|
|
19
|
+
missingBalls?: number[];
|
|
20
|
+
footprintString?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const BGA: ({ packageWidth, packageLength, packageHeight, standoffHeight, ballPitch, ballDiameter, ballRows, ballColumns, missingBalls, footprintString, }: BGAProps) => react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
interface ChipBodyProps {
|
|
25
|
+
width: number;
|
|
26
|
+
length: number;
|
|
27
|
+
height: number;
|
|
28
|
+
center: {
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
z: number;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
declare const ChipBody: ({ center, width, length, height }: ChipBodyProps) => react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
declare const ExtrudedPads: ({ soup, footprint, }: {
|
|
37
|
+
soup?: AnySoupElement[];
|
|
38
|
+
footprint?: string;
|
|
39
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
40
|
+
|
|
41
|
+
declare const FootprintPad: ({ pad }: {
|
|
42
|
+
pad: PCBSMTPad;
|
|
43
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
44
|
+
|
|
45
|
+
declare const FootprintPlatedHole: ({ hole }: {
|
|
46
|
+
hole: PCBPlatedHole;
|
|
47
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Outputs a 3d model for any [footprinter string](https://github.com/tscircuit/footprinter)
|
|
51
|
+
*/
|
|
52
|
+
declare const Footprinter3d: ({ footprint }: {
|
|
53
|
+
footprint: string;
|
|
54
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
55
|
+
|
|
56
|
+
declare const SOT233P: ({ fullWidth, fullLength }: {
|
|
57
|
+
fullWidth?: number | undefined;
|
|
58
|
+
fullLength?: number | undefined;
|
|
59
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
60
|
+
|
|
61
|
+
declare const SOT563: ({ fullWidth, fullLength }: {
|
|
62
|
+
fullWidth?: number | undefined;
|
|
63
|
+
fullLength?: number | undefined;
|
|
64
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
66
|
+
declare const SOT723: () => react_jsx_runtime.JSX.Element;
|
|
67
|
+
|
|
68
|
+
interface SmdChipLeadProps {
|
|
69
|
+
thickness: number;
|
|
70
|
+
width: number;
|
|
71
|
+
height: number;
|
|
72
|
+
padContactLength: number;
|
|
73
|
+
bodyDistance: number;
|
|
74
|
+
curveLength?: number;
|
|
75
|
+
rotation?: number;
|
|
76
|
+
positionAnchor?: "outer-edge";
|
|
77
|
+
position?: {
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
|
+
z?: number;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Curved lead for an SMD chip
|
|
85
|
+
*/
|
|
86
|
+
declare const SmdChipLead: (props: SmdChipLeadProps) => react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
88
|
+
declare const Tssop20: ({ pinCount, fullWidth, }: {
|
|
89
|
+
pinCount: number;
|
|
90
|
+
fullWidth?: number;
|
|
91
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
92
|
+
|
|
93
|
+
declare const Tssop: ({ pinCount, fullWidth, }: {
|
|
94
|
+
pinCount: number;
|
|
95
|
+
fullWidth?: number;
|
|
96
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
declare const QFN: ({ fullWidth, height, thermalPadSize, }: {
|
|
99
|
+
fullWidth?: number;
|
|
100
|
+
height?: number;
|
|
101
|
+
thermalPadSize?: number;
|
|
102
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
103
|
+
|
|
104
|
+
declare const QFP: ({ pinCount, }: {
|
|
105
|
+
pinCount: number;
|
|
106
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
107
|
+
|
|
108
|
+
declare const SOD123: ({ fullWidth, fullLength }: {
|
|
109
|
+
fullWidth?: number | undefined;
|
|
110
|
+
fullLength?: number | undefined;
|
|
111
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
112
|
+
|
|
113
|
+
export { A0402, A0603, A0805, BGA, ChipBody, type ChipBodyProps, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, QFN, QFP, SOD123, SOT233P, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, Tssop, Tssop20 };
|