jscad-electronics 0.0.215 → 0.0.217
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/dist/index.d.ts +158 -134
- package/dist/index.js +1452 -1257
- package/dist/index.js.map +1 -1
- package/dist/vanilla.d.ts +55 -31
- package/dist/vanilla.js +403 -213
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { AnyCircuitElement, PcbSmtPad, PcbPlatedHole } from 'circuit-json';
|
|
3
3
|
import * as _jscad_modeling_src_geometries_types from '@jscad/modeling/src/geometries/types';
|
|
4
|
-
import { BallBearingModelPropsInput, ButtonScrewModelPropsInput, CableGrommetModelPropsInput, ClampingShaftCollarModelPropsInput, CompressionSpringModelPropsInput, FlangedBushingModelPropsInput, FlatHeadScrewModelPropsInput, SpurGearModelPropsInput, HelicalGearModelPropsInput, HexBoltModelPropsInput, HexNutModelPropsInput, HexSocketBoltModelPropsInput, HollowPositioningArmTubeModelPropsInput, NemaMotorModelPropsInput, PanScrewModelPropsInput, PlainBushingModelPropsInput, RigidCouplerModelPropsInput, ShaftCollarModelPropsInput, SheetMetalModelPropsInput, ThreadedRodModelPropsInput, TorsionSpringModelPropsInput, TSlotExtrusionModelPropsInput, TSlotGussetModelPropsInput, TSlotInsideCornerModelPropsInput, WormGearModelPropsInput } from '@tscircuit/modelprinter';
|
|
4
|
+
import { BallBearingModelPropsInput, BallTransferUnitModelPropsInput, ButtonScrewModelPropsInput, CableGrommetModelPropsInput, ClampingShaftCollarModelPropsInput, CompressionSpringModelPropsInput, FlangedBushingModelPropsInput, FlatHeadScrewModelPropsInput, SpurGearModelPropsInput, HelicalGearModelPropsInput, HexBoltModelPropsInput, HexNutModelPropsInput, HexSocketBoltModelPropsInput, HollowPositioningArmTubeModelPropsInput, NemaMotorModelPropsInput, PanScrewModelPropsInput, PlainBushingModelPropsInput, RigidCouplerModelPropsInput, ShaftCollarModelPropsInput, SheetMetalModelPropsInput, ThreadedRodModelPropsInput, TorsionSpringModelPropsInput, TSlotExtrusionModelPropsInput, TSlotGussetModelPropsInput, TSlotInsideCornerModelPropsInput, WormGearModelPropsInput } from '@tscircuit/modelprinter';
|
|
5
5
|
|
|
6
6
|
declare const A01005: ({ color }: {
|
|
7
7
|
color?: string | undefined;
|
|
8
|
-
}) =>
|
|
8
|
+
}) => react.JSX.Element;
|
|
9
9
|
|
|
10
10
|
declare const A0201: ({ color }: {
|
|
11
11
|
color?: string | undefined;
|
|
12
|
-
}) =>
|
|
12
|
+
}) => react.JSX.Element;
|
|
13
13
|
|
|
14
14
|
declare const A0402: ({ color }: {
|
|
15
15
|
color?: string | undefined;
|
|
16
|
-
}) =>
|
|
16
|
+
}) => react.JSX.Element;
|
|
17
17
|
|
|
18
18
|
declare const A0603: ({ color }: {
|
|
19
19
|
color?: string | undefined;
|
|
20
|
-
}) =>
|
|
20
|
+
}) => react.JSX.Element;
|
|
21
21
|
|
|
22
22
|
declare const A0805: ({ color }: {
|
|
23
23
|
color?: string | undefined;
|
|
24
|
-
}) =>
|
|
24
|
+
}) => react.JSX.Element;
|
|
25
25
|
|
|
26
26
|
declare const A1206: ({ color }: {
|
|
27
27
|
color?: string | undefined;
|
|
28
|
-
}) =>
|
|
28
|
+
}) => react.JSX.Element;
|
|
29
29
|
|
|
30
30
|
declare const A1210: ({ color }: {
|
|
31
31
|
color?: string | undefined;
|
|
32
|
-
}) =>
|
|
32
|
+
}) => react.JSX.Element;
|
|
33
33
|
|
|
34
34
|
declare const A2010: ({ color }: {
|
|
35
35
|
color?: string | undefined;
|
|
36
|
-
}) =>
|
|
36
|
+
}) => react.JSX.Element;
|
|
37
37
|
|
|
38
38
|
declare const A2512: ({ color }: {
|
|
39
39
|
color?: string | undefined;
|
|
40
|
-
}) =>
|
|
40
|
+
}) => react.JSX.Element;
|
|
41
41
|
|
|
42
42
|
interface BGAProps {
|
|
43
43
|
packageWidth?: number;
|
|
@@ -51,7 +51,7 @@ interface BGAProps {
|
|
|
51
51
|
missingBalls?: number[];
|
|
52
52
|
footprintString?: string;
|
|
53
53
|
}
|
|
54
|
-
declare const BGA: ({ packageWidth, packageLength, packageHeight, standoffHeight, ballPitch, ballDiameter, ballRows, ballColumns, missingBalls, footprintString, }: BGAProps) =>
|
|
54
|
+
declare const BGA: ({ packageWidth, packageLength, packageHeight, standoffHeight, ballPitch, ballDiameter, ballRows, ballColumns, missingBalls, footprintString, }: BGAProps) => react.JSX.Element;
|
|
55
55
|
|
|
56
56
|
/** Molded perimeter-land LGA. Opposite rows have equal counts; adjacent rows
|
|
57
57
|
* may differ. Pads remain entirely under the body, with no QFN exposed pad.
|
|
@@ -72,7 +72,7 @@ interface LGAProps {
|
|
|
72
72
|
/** Representative metallization thickness, not solder standoff. */
|
|
73
73
|
landThickness: number;
|
|
74
74
|
}
|
|
75
|
-
declare function LGA(p: LGAProps):
|
|
75
|
+
declare function LGA(p: LGAProps): react.JSX.Element;
|
|
76
76
|
|
|
77
77
|
interface ChipBodyProps {
|
|
78
78
|
width: number;
|
|
@@ -100,7 +100,7 @@ interface ChipBodyProps {
|
|
|
100
100
|
notchWidth?: number;
|
|
101
101
|
chamferSize?: number;
|
|
102
102
|
}
|
|
103
|
-
declare const ChipBody: ({ center, width, length, height, heightAboveSurface, color, taperRatio, faceRatio, straightHeightRatio, includeNotch, notchRadius, notchPosition, notchRotation, notchLength, notchWidth, chamferSize, }: ChipBodyProps) =>
|
|
103
|
+
declare const ChipBody: ({ center, width, length, height, heightAboveSurface, color, taperRatio, faceRatio, straightHeightRatio, includeNotch, notchRadius, notchPosition, notchRotation, notchLength, notchWidth, chamferSize, }: ChipBodyProps) => react.JSX.Element;
|
|
104
104
|
|
|
105
105
|
interface CrystalProps {
|
|
106
106
|
horizontalPadPitch?: number;
|
|
@@ -109,29 +109,29 @@ interface CrystalProps {
|
|
|
109
109
|
padHeight?: number;
|
|
110
110
|
bodyHeight?: number;
|
|
111
111
|
}
|
|
112
|
-
declare const Crystal: ({ horizontalPadPitch, verticalPadPitch, padWidth, padHeight, bodyHeight, }: CrystalProps) =>
|
|
112
|
+
declare const Crystal: ({ horizontalPadPitch, verticalPadPitch, padWidth, padHeight, bodyHeight, }: CrystalProps) => react.JSX.Element;
|
|
113
113
|
|
|
114
114
|
declare const ExtrudedPads: ({ circuitJson, footprint, }: {
|
|
115
115
|
circuitJson?: AnyCircuitElement[];
|
|
116
116
|
footprint?: string;
|
|
117
|
-
}) =>
|
|
117
|
+
}) => react.JSX.Element | null;
|
|
118
118
|
|
|
119
119
|
declare const FootprintPad: ({ pad, isPin1, }: {
|
|
120
120
|
pad: PcbSmtPad;
|
|
121
121
|
isPin1?: boolean;
|
|
122
|
-
}) =>
|
|
122
|
+
}) => react.JSX.Element | null;
|
|
123
123
|
|
|
124
124
|
declare const FootprintPlatedHole: ({ hole, isPin1, }: {
|
|
125
125
|
hole: PcbPlatedHole;
|
|
126
126
|
isPin1?: boolean;
|
|
127
|
-
}) =>
|
|
127
|
+
}) => react.JSX.Element;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Outputs a 3d model for any [footprinter string](https://github.com/tscircuit/footprinter)
|
|
131
131
|
*/
|
|
132
132
|
declare const Footprinter3d: ({ footprint }: {
|
|
133
133
|
footprint: string;
|
|
134
|
-
}) =>
|
|
134
|
+
}) => react.JSX.Element | null;
|
|
135
135
|
|
|
136
136
|
declare const StampBoard: ({ bodyWidth, boardThickness, leadWidth, leadLength, leadsPitch, leadsLeft, leadsRight, leadsTop, leadsBottom, innerHoles, innerHoleEdgeDistance, innerHoleDiameter, }: {
|
|
137
137
|
bodyWidth?: number;
|
|
@@ -146,25 +146,25 @@ declare const StampBoard: ({ bodyWidth, boardThickness, leadWidth, leadLength, l
|
|
|
146
146
|
innerHoles?: boolean;
|
|
147
147
|
innerHoleEdgeDistance?: number;
|
|
148
148
|
innerHoleDiameter?: number;
|
|
149
|
-
}) =>
|
|
149
|
+
}) => react.JSX.Element;
|
|
150
150
|
|
|
151
151
|
declare const SOT233P: ({ fullWidth, fullLength, color, }?: {
|
|
152
152
|
fullWidth?: number;
|
|
153
153
|
fullLength?: number;
|
|
154
154
|
color?: string;
|
|
155
|
-
}) =>
|
|
155
|
+
}) => react.JSX.Element;
|
|
156
156
|
|
|
157
157
|
declare const SOT23W: ({ fullWidth, fullLength }: {
|
|
158
158
|
fullWidth?: number | undefined;
|
|
159
159
|
fullLength?: number | undefined;
|
|
160
|
-
}) =>
|
|
160
|
+
}) => react.JSX.Element;
|
|
161
161
|
|
|
162
162
|
declare const SOT563: ({ fullWidth, fullLength }: {
|
|
163
163
|
fullWidth?: number | undefined;
|
|
164
164
|
fullLength?: number | undefined;
|
|
165
|
-
}) =>
|
|
165
|
+
}) => react.JSX.Element;
|
|
166
166
|
|
|
167
|
-
declare const SOT723: () =>
|
|
167
|
+
declare const SOT723: () => react.JSX.Element;
|
|
168
168
|
|
|
169
169
|
interface SmdChipLeadProps {
|
|
170
170
|
thickness: number;
|
|
@@ -184,7 +184,7 @@ interface SmdChipLeadProps {
|
|
|
184
184
|
/**
|
|
185
185
|
* Curved lead for an SMD chip
|
|
186
186
|
*/
|
|
187
|
-
declare const SmdChipLead: (props: SmdChipLeadProps) =>
|
|
187
|
+
declare const SmdChipLead: (props: SmdChipLeadProps) => react.JSX.Element;
|
|
188
188
|
|
|
189
189
|
type SmdLedSize = "0402" | "0603" | "0805";
|
|
190
190
|
/** Flat-top, two-contact LED packages in mm. The 0603 outline follows
|
|
@@ -214,7 +214,7 @@ declare const smdLedDimensions: {
|
|
|
214
214
|
declare function SmdLED({ footprint, color, }: {
|
|
215
215
|
footprint: SmdLedSize;
|
|
216
216
|
color?: string;
|
|
217
|
-
}):
|
|
217
|
+
}): react.JSX.Element;
|
|
218
218
|
|
|
219
219
|
interface SmdPinHeaderProps {
|
|
220
220
|
numberOfPins: number;
|
|
@@ -226,7 +226,7 @@ interface SmdPinHeaderProps {
|
|
|
226
226
|
matingPinLength?: number;
|
|
227
227
|
tailSpan?: number;
|
|
228
228
|
}
|
|
229
|
-
declare const SmdPinHeader: ({ numberOfPins, pitch, pinThickness, bodyWidth, bodyHeight, standoffHeight, matingPinLength, tailSpan, }: SmdPinHeaderProps) =>
|
|
229
|
+
declare const SmdPinHeader: ({ numberOfPins, pitch, pinThickness, bodyWidth, bodyHeight, standoffHeight, matingPinLength, tailSpan, }: SmdPinHeaderProps) => react.JSX.Element;
|
|
230
230
|
|
|
231
231
|
/** Physical package dimensions in mm, independent of copper land dimensions.
|
|
232
232
|
* X crosses the two lead rows; Y runs along each row. Z=0 is the seating plane.
|
|
@@ -260,20 +260,20 @@ declare const LegacySOIC: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth,
|
|
|
260
260
|
leadWidth: number;
|
|
261
261
|
leadLength: number;
|
|
262
262
|
bodyWidth: number;
|
|
263
|
-
}) =>
|
|
263
|
+
}) => react.JSX.Element;
|
|
264
264
|
/** Standard SOIC physical outline. Supplying leadSpan selects explicit package
|
|
265
265
|
* dimensions; the legacy land-derived API is retained for existing callers.
|
|
266
266
|
* See examples/fixtures/soic-variants.ts for MS-012 dimensional evidence.
|
|
267
267
|
*/
|
|
268
268
|
type SOICProps = Parameters<typeof LegacySOIC>[0] | DualRowGullWingDimensions;
|
|
269
|
-
declare const SOIC: (props: SOICProps) =>
|
|
269
|
+
declare const SOIC: (props: SOICProps) => react.JSX.Element;
|
|
270
270
|
|
|
271
271
|
/** Explicit SSOP physical outline (e.g. JEDEC MO-150), in mm. Copper land
|
|
272
272
|
* dimensions do not identify the package. Pin 1 is at -X,+Y; Z=0 seats the feet.
|
|
273
273
|
* Mold draft, bend curvature and the pin-1 dimple are visual approximations.
|
|
274
274
|
*/
|
|
275
275
|
type SSOPProps = Omit<DualRowGullWingDimensions, "exposedPadWidth" | "exposedPadLength">;
|
|
276
|
-
declare const SSOP: (props: SSOPProps) =>
|
|
276
|
+
declare const SSOP: (props: SSOPProps) => react.JSX.Element;
|
|
277
277
|
|
|
278
278
|
declare const LegacyTssop: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth, }: {
|
|
279
279
|
pinCount: number;
|
|
@@ -281,13 +281,13 @@ declare const LegacyTssop: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth,
|
|
|
281
281
|
leadWidth: number;
|
|
282
282
|
leadLength: number;
|
|
283
283
|
bodyWidth: number;
|
|
284
|
-
}) =>
|
|
284
|
+
}) => react.JSX.Element;
|
|
285
285
|
/** TSSOP physical outline. leadSpan selects explicit package dimensions;
|
|
286
286
|
* existing land-derived callers retain their current geometry.
|
|
287
287
|
* See examples/fixtures/tssop-variants.ts for standard outline evidence.
|
|
288
288
|
*/
|
|
289
289
|
type TssopProps = Parameters<typeof LegacyTssop>[0] | DualRowGullWingDimensions;
|
|
290
|
-
declare const Tssop: (props: TssopProps) =>
|
|
290
|
+
declare const Tssop: (props: TssopProps) => react.JSX.Element;
|
|
291
291
|
|
|
292
292
|
declare const LegacyMSOP: ({ pinCount, padContactLength, leadWidth, pitch, bodyWidth, }: {
|
|
293
293
|
pinCount: number;
|
|
@@ -295,12 +295,12 @@ declare const LegacyMSOP: ({ pinCount, padContactLength, leadWidth, pitch, bodyW
|
|
|
295
295
|
leadWidth?: number;
|
|
296
296
|
padContactLength?: number;
|
|
297
297
|
bodyWidth?: number;
|
|
298
|
-
}) =>
|
|
298
|
+
}) => react.JSX.Element;
|
|
299
299
|
/** MO-187 MSOP physical outline. leadSpan selects explicit package dimensions;
|
|
300
300
|
* existing callers retain the legacy default outline. See fixture source notes.
|
|
301
301
|
*/
|
|
302
302
|
type MSOPProps = Parameters<typeof LegacyMSOP>[0] | DualRowGullWingDimensions;
|
|
303
|
-
declare const MSOP: (props: MSOPProps) =>
|
|
303
|
+
declare const MSOP: (props: MSOPProps) => react.JSX.Element;
|
|
304
304
|
|
|
305
305
|
declare const VSSOP: ({ pinCount, pitch, leadWidth, leadLength, bodyWidth, bodyLength, }: {
|
|
306
306
|
pinCount: 8 | 10;
|
|
@@ -309,7 +309,7 @@ declare const VSSOP: ({ pinCount, pitch, leadWidth, leadLength, bodyWidth, bodyL
|
|
|
309
309
|
leadLength?: number;
|
|
310
310
|
bodyWidth?: number;
|
|
311
311
|
bodyLength?: number;
|
|
312
|
-
}) =>
|
|
312
|
+
}) => react.JSX.Element;
|
|
313
313
|
|
|
314
314
|
/** Physical QFN outline, in mm. Unlike the legacy land-derived API, bodyWidth
|
|
315
315
|
* and bodyLength measure the mold itself. Terminal spans measure outer edges,
|
|
@@ -346,10 +346,10 @@ declare const LegacyQFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, ther
|
|
|
346
346
|
padLength?: number;
|
|
347
347
|
pitch?: number;
|
|
348
348
|
thermalPadThickness?: number;
|
|
349
|
-
}) =>
|
|
349
|
+
}) => react.JSX.Element;
|
|
350
350
|
/** Supplying bodyHeight opts into physical dimensions; legacy callers are unchanged. */
|
|
351
351
|
type QFNProps = Parameters<typeof LegacyQFN>[0] | PhysicalQfnDimensions;
|
|
352
|
-
declare const QFN: (props: QFNProps) =>
|
|
352
|
+
declare const QFN: (props: QFNProps) => react.JSX.Element;
|
|
353
353
|
|
|
354
354
|
declare const DFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPadSize, padWidth, padLength, pitch, thermalPadThickness, bodyStyle, standoff, terminalInset, terminalThickness, pin1TerminalChamfer, pin1MarkWidth, }: {
|
|
355
355
|
num_pins: number;
|
|
@@ -376,7 +376,7 @@ declare const DFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPad
|
|
|
376
376
|
pin1TerminalChamfer?: number;
|
|
377
377
|
/** For rectangular bodies: optional top pin-1 stripe width in mm; zero omits it. */
|
|
378
378
|
pin1MarkWidth?: number;
|
|
379
|
-
}) =>
|
|
379
|
+
}) => react.JSX.Element;
|
|
380
380
|
|
|
381
381
|
declare const QFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyWidth, }: {
|
|
382
382
|
pinCount: number;
|
|
@@ -384,9 +384,9 @@ declare const QFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyWidth, }
|
|
|
384
384
|
leadWidth?: number;
|
|
385
385
|
padContactLength?: number;
|
|
386
386
|
bodyWidth?: number;
|
|
387
|
-
}) =>
|
|
387
|
+
}) => react.JSX.Element;
|
|
388
388
|
|
|
389
|
-
declare const TQFP: () =>
|
|
389
|
+
declare const TQFP: () => react.JSX.Element;
|
|
390
390
|
|
|
391
391
|
/** Physical package dimensions in mm, independent of copper land dimensions.
|
|
392
392
|
* Four equal lead rows surround the mold. Z=0 is the seating plane.
|
|
@@ -418,12 +418,12 @@ declare const LegacyLQFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyW
|
|
|
418
418
|
leadWidth?: number;
|
|
419
419
|
padContactLength?: number;
|
|
420
420
|
bodyWidth?: number;
|
|
421
|
-
}) =>
|
|
421
|
+
}) => react.JSX.Element;
|
|
422
422
|
/** leadSpanX selects explicit physical dimensions. Existing callers retain
|
|
423
423
|
* their legacy geometry. See standard outline evidence in the fixtures.
|
|
424
424
|
*/
|
|
425
425
|
type LQFPProps = Parameters<typeof LegacyLQFP>[0] | PhysicalLqfpDimensions;
|
|
426
|
-
declare const LQFP: (props: LQFPProps) =>
|
|
426
|
+
declare const LQFP: (props: LQFPProps) => react.JSX.Element;
|
|
427
427
|
|
|
428
428
|
interface SOD123Props {
|
|
429
429
|
/** Overall package length, including the leads, in millimeters. */
|
|
@@ -437,7 +437,7 @@ interface SOD123Props {
|
|
|
437
437
|
* The defaults are the nominal dimensions from the Vishay 1N4148W package
|
|
438
438
|
* drawing: https://www.vishay.com/docs/86356/1n4148w.pdf
|
|
439
439
|
*/
|
|
440
|
-
declare const SOD123: ({ fullWidth, fullLength, }?: SOD123Props) =>
|
|
440
|
+
declare const SOD123: ({ fullWidth, fullLength, }?: SOD123Props) => react.JSX.Element;
|
|
441
441
|
|
|
442
442
|
declare const PinRow: ({ numberOfPins, pitch, longSidePinLength, invert, rows, smd, rightangle, }: {
|
|
443
443
|
numberOfPins: number;
|
|
@@ -447,12 +447,12 @@ declare const PinRow: ({ numberOfPins, pitch, longSidePinLength, invert, rows, s
|
|
|
447
447
|
rows?: number;
|
|
448
448
|
smd?: boolean;
|
|
449
449
|
rightangle?: boolean;
|
|
450
|
-
}) =>
|
|
450
|
+
}) => react.JSX.Element;
|
|
451
451
|
|
|
452
452
|
interface AxialCapacitorProps {
|
|
453
453
|
pitch: number;
|
|
454
454
|
}
|
|
455
|
-
declare const AxialCapacitor: ({ pitch }: AxialCapacitorProps) =>
|
|
455
|
+
declare const AxialCapacitor: ({ pitch }: AxialCapacitorProps) => react.JSX.Element;
|
|
456
456
|
|
|
457
457
|
declare const PinHeader: ({ x, y, pinThickness, shortSidePinLength, longSidePinLength, bodyHeight, bodyLength, bodyWidth, flipZ, smd, rightangle, }: {
|
|
458
458
|
x: number;
|
|
@@ -466,7 +466,7 @@ declare const PinHeader: ({ x, y, pinThickness, shortSidePinLength, longSidePinL
|
|
|
466
466
|
flipZ: (z: number) => number;
|
|
467
467
|
smd?: boolean;
|
|
468
468
|
rightangle?: boolean;
|
|
469
|
-
}) =>
|
|
469
|
+
}) => react.JSX.Element;
|
|
470
470
|
|
|
471
471
|
declare const FemaleHeader: ({ x, y, z, pitch, legsLength, innerDiameter, bodyHeight, bodyLength, bodyWidth, flipZ, }: {
|
|
472
472
|
x: number;
|
|
@@ -479,7 +479,7 @@ declare const FemaleHeader: ({ x, y, z, pitch, legsLength, innerDiameter, bodyHe
|
|
|
479
479
|
bodyLength?: number;
|
|
480
480
|
bodyWidth?: number;
|
|
481
481
|
flipZ: (z: number) => number;
|
|
482
|
-
}) =>
|
|
482
|
+
}) => react.JSX.Element;
|
|
483
483
|
|
|
484
484
|
declare const FemaleHeaderRow: ({ numberOfPins, pitch, legsLength, innerDiameter, rows, invert, }: {
|
|
485
485
|
numberOfPins: number;
|
|
@@ -489,21 +489,21 @@ declare const FemaleHeaderRow: ({ numberOfPins, pitch, legsLength, innerDiameter
|
|
|
489
489
|
innerDiameter?: number;
|
|
490
490
|
rows?: number;
|
|
491
491
|
invert?: boolean;
|
|
492
|
-
}) =>
|
|
492
|
+
}) => react.JSX.Element;
|
|
493
493
|
|
|
494
|
-
declare const SOD523: () =>
|
|
494
|
+
declare const SOD523: () => react.JSX.Element;
|
|
495
495
|
|
|
496
|
-
declare const SOD723: () =>
|
|
496
|
+
declare const SOD723: () => react.JSX.Element;
|
|
497
497
|
|
|
498
|
-
declare const SOD882: () =>
|
|
498
|
+
declare const SOD882: () => react.JSX.Element;
|
|
499
499
|
|
|
500
|
-
declare const SMA: () =>
|
|
500
|
+
declare const SMA: () => react.JSX.Element;
|
|
501
501
|
|
|
502
|
-
declare const SMB: () =>
|
|
502
|
+
declare const SMB: () => react.JSX.Element;
|
|
503
503
|
|
|
504
|
-
declare const SMC: () =>
|
|
504
|
+
declare const SMC: () => react.JSX.Element;
|
|
505
505
|
|
|
506
|
-
declare const SMF: () =>
|
|
506
|
+
declare const SMF: () => react.JSX.Element;
|
|
507
507
|
|
|
508
508
|
/** Physical outline dimensions in mm, independent of a PCB land pattern. */
|
|
509
509
|
interface FlatLeadDiodeDimensions {
|
|
@@ -533,11 +533,11 @@ interface FlatLeadDiodeDimensions {
|
|
|
533
533
|
* geometry parameters, not new Footprinter tokens or manufacturer selectors.
|
|
534
534
|
*/
|
|
535
535
|
type DO219ADProps = Partial<FlatLeadDiodeDimensions>;
|
|
536
|
-
declare const DO219AD: (props: DO219ADProps) =>
|
|
536
|
+
declare const DO219AD: (props: DO219ADProps) => react.JSX.Element;
|
|
537
537
|
|
|
538
|
-
declare const SOD123F: () =>
|
|
538
|
+
declare const SOD123F: () => react.JSX.Element;
|
|
539
539
|
|
|
540
|
-
declare const SOD123FL: () =>
|
|
540
|
+
declare const SOD123FL: () => react.JSX.Element;
|
|
541
541
|
|
|
542
542
|
interface SOD123WProps {
|
|
543
543
|
/** Body extent along the leads (X). */
|
|
@@ -558,15 +558,15 @@ interface SOD123WProps {
|
|
|
558
558
|
* what makes it one package or another, so it must never be assumed. `sod110`
|
|
559
559
|
* used these defaults for a while and rendered a body 24% too long.
|
|
560
560
|
*/
|
|
561
|
-
declare const SOD123W: ({ bodyWidth, bodyLength, bodyHeight, }?: SOD123WProps) =>
|
|
561
|
+
declare const SOD123W: ({ bodyWidth, bodyLength, bodyHeight, }?: SOD123WProps) => react.JSX.Element;
|
|
562
562
|
|
|
563
|
-
declare const SOD128: () =>
|
|
563
|
+
declare const SOD128: () => react.JSX.Element;
|
|
564
564
|
|
|
565
|
-
declare const SOD323: () =>
|
|
565
|
+
declare const SOD323: () => react.JSX.Element;
|
|
566
566
|
|
|
567
|
-
declare const SOD323F: () =>
|
|
567
|
+
declare const SOD323F: () => react.JSX.Element;
|
|
568
568
|
|
|
569
|
-
declare const SOD323FL: () =>
|
|
569
|
+
declare const SOD323FL: () => react.JSX.Element;
|
|
570
570
|
|
|
571
571
|
/** SOD-323HE flat-lead outline with symmetric contacts by default.
|
|
572
572
|
* Dimensional reference: https://www.es.co.th/Schemetic/PDF/RFU02VSM6S.PDF
|
|
@@ -577,9 +577,9 @@ declare const SOD323FL: () => react_jsx_runtime.JSX.Element;
|
|
|
577
577
|
* geometry parameters, not new Footprinter tokens or manufacturer selectors.
|
|
578
578
|
*/
|
|
579
579
|
type SOD323HEProps = Partial<FlatLeadDiodeDimensions>;
|
|
580
|
-
declare const SOD323HE: (props: SOD323HEProps) =>
|
|
580
|
+
declare const SOD323HE: (props: SOD323HEProps) => react.JSX.Element;
|
|
581
581
|
|
|
582
|
-
declare const SOD923: () =>
|
|
582
|
+
declare const SOD923: () => react.JSX.Element;
|
|
583
583
|
|
|
584
584
|
interface SOT223Props {
|
|
585
585
|
/** Pad-to-pad span across the leads (X). */
|
|
@@ -603,17 +603,17 @@ interface SOT223Props {
|
|
|
603
603
|
* lead the other. Same construction, different dimensions, so the dimensions
|
|
604
604
|
* are props — SOT-89's body is 4.5 x 2.5 x 1.5, barely a third of the volume.
|
|
605
605
|
*/
|
|
606
|
-
declare const SOT223: ({ fullWidth, bodyWidth, bodyLength, bodyHeight, leadWidth, tabLeadWidth, padPitch, leadHeight, }?: SOT223Props) =>
|
|
606
|
+
declare const SOT223: ({ fullWidth, bodyWidth, bodyLength, bodyHeight, leadWidth, tabLeadWidth, padPitch, leadHeight, }?: SOT223Props) => react.JSX.Element;
|
|
607
607
|
|
|
608
|
-
declare const SOT457: () =>
|
|
608
|
+
declare const SOT457: () => react.JSX.Element;
|
|
609
609
|
|
|
610
|
-
declare const SOT323: () =>
|
|
610
|
+
declare const SOT323: () => react.JSX.Element;
|
|
611
611
|
|
|
612
|
-
declare const SOT363: () =>
|
|
612
|
+
declare const SOT363: () => react.JSX.Element;
|
|
613
613
|
|
|
614
|
-
declare const SOT886: () =>
|
|
614
|
+
declare const SOT886: () => react.JSX.Element;
|
|
615
615
|
|
|
616
|
-
declare const SOT963: () =>
|
|
616
|
+
declare const SOT963: () => react.JSX.Element;
|
|
617
617
|
|
|
618
618
|
/** Three-terminal SOT-89 / TO-243 / SC-62, in mm. Three flat leads at -X;
|
|
619
619
|
* the middle terminal continues into the exposed die pad and rear tab at +X.
|
|
@@ -635,7 +635,7 @@ interface SOT89Props {
|
|
|
635
635
|
rearExtension: number;
|
|
636
636
|
taperInset: number;
|
|
637
637
|
}
|
|
638
|
-
declare function SOT89(p: SOT89Props):
|
|
638
|
+
declare function SOT89(p: SOT89Props): react.JSX.Element;
|
|
639
639
|
|
|
640
640
|
interface MINIMELFProps {
|
|
641
641
|
bodyLength?: number;
|
|
@@ -644,7 +644,7 @@ interface MINIMELFProps {
|
|
|
644
644
|
contactColor?: string;
|
|
645
645
|
bandColor?: string;
|
|
646
646
|
}
|
|
647
|
-
declare const MINIMELF: ({ bodyLength, bodyDiameter, color, contactColor, bandColor, }: MINIMELFProps) =>
|
|
647
|
+
declare const MINIMELF: ({ bodyLength, bodyDiameter, color, contactColor, bandColor, }: MINIMELFProps) => react.JSX.Element;
|
|
648
648
|
|
|
649
649
|
interface MELFProps {
|
|
650
650
|
bodyLength?: number;
|
|
@@ -652,7 +652,7 @@ interface MELFProps {
|
|
|
652
652
|
color?: string;
|
|
653
653
|
contactColor?: string;
|
|
654
654
|
}
|
|
655
|
-
declare const MELF: ({ bodyLength, bodyDiameter, color, contactColor, }: MELFProps) =>
|
|
655
|
+
declare const MELF: ({ bodyLength, bodyDiameter, color, contactColor, }: MELFProps) => react.JSX.Element;
|
|
656
656
|
|
|
657
657
|
interface MicroMELFProps {
|
|
658
658
|
bodyLength?: number;
|
|
@@ -661,7 +661,7 @@ interface MicroMELFProps {
|
|
|
661
661
|
contactColor?: string;
|
|
662
662
|
cathodeIdentification?: string;
|
|
663
663
|
}
|
|
664
|
-
declare const MicroMELF: ({ bodyLength, bodyDiameter, color, contactColor, cathodeIdentification, }: MicroMELFProps) =>
|
|
664
|
+
declare const MicroMELF: ({ bodyLength, bodyDiameter, color, contactColor, cathodeIdentification, }: MicroMELFProps) => react.JSX.Element;
|
|
665
665
|
|
|
666
666
|
interface HC49Props {
|
|
667
667
|
/** overall body length (mm) */
|
|
@@ -683,21 +683,21 @@ interface HC49Props {
|
|
|
683
683
|
* HC-49 (through-hole crystal) simplified 3D model.
|
|
684
684
|
* Defaults chosen to match the HC-49/U-S recommended land pattern and dimensions.
|
|
685
685
|
*/
|
|
686
|
-
declare const HC49: ({ bodyLength, bodyWidth, bodyHeight, leadSpacing, leadDiameter, leadLength, color, leadColor, }: HC49Props) =>
|
|
686
|
+
declare const HC49: ({ bodyLength, bodyWidth, bodyHeight, leadSpacing, leadDiameter, leadLength, color, leadColor, }: HC49Props) => react.JSX.Element;
|
|
687
687
|
|
|
688
688
|
declare const MS012: ({ pinCount, padContactLength, leadWidth, pitch, }: {
|
|
689
689
|
pinCount: number;
|
|
690
690
|
pitch?: number;
|
|
691
691
|
leadWidth?: number;
|
|
692
692
|
padContactLength?: number;
|
|
693
|
-
}) =>
|
|
693
|
+
}) => react.JSX.Element;
|
|
694
694
|
|
|
695
695
|
declare const MS013: ({ pinCount, padContactLength, leadWidth, pitch, }: {
|
|
696
696
|
pinCount?: number;
|
|
697
697
|
pitch?: number;
|
|
698
698
|
leadWidth?: number;
|
|
699
699
|
padContactLength?: number;
|
|
700
|
-
}) =>
|
|
700
|
+
}) => react.JSX.Element;
|
|
701
701
|
|
|
702
702
|
interface TO220Lead {
|
|
703
703
|
x: number;
|
|
@@ -742,7 +742,7 @@ interface TO220Props {
|
|
|
742
742
|
* part that is 18mm over the board, and the holes met the leads at their tips
|
|
743
743
|
* instead of just under the body.
|
|
744
744
|
*/
|
|
745
|
-
declare const TO220: ({ mouldedTab, leads, bodyWidth, bodyThickness, bodyHeight, tabHeight, tabThickness, mountingHoleDiameter, standoff, leadLength, bodyColor, tabColor, leadColor, }?: TO220Props) =>
|
|
745
|
+
declare const TO220: ({ mouldedTab, leads, bodyWidth, bodyThickness, bodyHeight, tabHeight, tabThickness, mountingHoleDiameter, standoff, leadLength, bodyColor, tabColor, leadColor, }?: TO220Props) => react.JSX.Element;
|
|
746
746
|
|
|
747
747
|
interface TO92Lead {
|
|
748
748
|
x: number;
|
|
@@ -786,7 +786,7 @@ interface TO92Props {
|
|
|
786
786
|
* pattern, which measured 19.5mm end to end for a 4.5mm part and only lined up
|
|
787
787
|
* with one of the three TO-92 footprints.
|
|
788
788
|
*/
|
|
789
|
-
declare const TO92: ({ bodyDiameter, bodyHeight, flatCut, leads, standoff, leadLength, bodyColor, }?: TO92Props) =>
|
|
789
|
+
declare const TO92: ({ bodyDiameter, bodyHeight, flatCut, leads, standoff, leadLength, bodyColor, }?: TO92Props) => react.JSX.Element;
|
|
790
790
|
|
|
791
791
|
declare const MountedPcbModule: ({ numPins, rows, p, id, od, boardThickness, width, height, pinRowSide, holes, holeInset, pinRowHoleEdgeToEdgeDist, female, nopin, screen, screenWidth, screenHeight, screenCenterOffsetX, screenCenterOffsetY, }: {
|
|
792
792
|
numPins?: number;
|
|
@@ -808,7 +808,7 @@ declare const MountedPcbModule: ({ numPins, rows, p, id, od, boardThickness, wid
|
|
|
808
808
|
screenHeight?: number;
|
|
809
809
|
screenCenterOffsetX?: number;
|
|
810
810
|
screenCenterOffsetY?: number;
|
|
811
|
-
}) =>
|
|
811
|
+
}) => react.JSX.Element;
|
|
812
812
|
|
|
813
813
|
interface ScreenProps {
|
|
814
814
|
width?: number;
|
|
@@ -826,8 +826,8 @@ interface ScreenProps {
|
|
|
826
826
|
z?: number;
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
|
-
declare const Screen: ({ width, height, thickness, bezelInset, bezelDepth, screenColor, bezelColor, screenWidth, screenHeight, offset, }: ScreenProps) =>
|
|
830
|
-
declare const Display: ({ width, height, thickness, bezelInset, bezelDepth, screenColor, bezelColor, screenWidth, screenHeight, offset, }: ScreenProps) =>
|
|
829
|
+
declare const Screen: ({ width, height, thickness, bezelInset, bezelDepth, screenColor, bezelColor, screenWidth, screenHeight, offset, }: ScreenProps) => react.JSX.Element;
|
|
830
|
+
declare const Display: ({ width, height, thickness, bezelInset, bezelDepth, screenColor, bezelColor, screenWidth, screenHeight, offset, }: ScreenProps) => react.JSX.Element;
|
|
831
831
|
|
|
832
832
|
interface JSTZH1_5mmProps {
|
|
833
833
|
numPins?: number;
|
|
@@ -836,7 +836,7 @@ interface JSTZH1_5mmProps {
|
|
|
836
836
|
bodyColor?: string;
|
|
837
837
|
pinColor?: string;
|
|
838
838
|
}
|
|
839
|
-
declare const JSTZH1_5mm: ({ numPins, showPins, showFootprint, bodyColor, pinColor, }: JSTZH1_5mmProps) =>
|
|
839
|
+
declare const JSTZH1_5mm: ({ numPins, showPins, showFootprint, bodyColor, pinColor, }: JSTZH1_5mmProps) => react.JSX.Element;
|
|
840
840
|
|
|
841
841
|
interface JSTPH2_0mmProps {
|
|
842
842
|
numPins?: number;
|
|
@@ -845,7 +845,7 @@ interface JSTPH2_0mmProps {
|
|
|
845
845
|
bodyColor?: string;
|
|
846
846
|
pinColor?: string;
|
|
847
847
|
}
|
|
848
|
-
declare const JSTPH2_0mm: ({ numPins, showPins, showFootprint, bodyColor, pinColor, }: JSTPH2_0mmProps) =>
|
|
848
|
+
declare const JSTPH2_0mm: ({ numPins, showPins, showFootprint, bodyColor, pinColor, }: JSTPH2_0mmProps) => react.JSX.Element;
|
|
849
849
|
|
|
850
850
|
interface JSTXH2_5mmProps {
|
|
851
851
|
numPins?: number;
|
|
@@ -854,14 +854,14 @@ interface JSTXH2_5mmProps {
|
|
|
854
854
|
bodyColor?: string;
|
|
855
855
|
pinColor?: string;
|
|
856
856
|
}
|
|
857
|
-
declare const JSTXH2_5mm: ({ numPins, showPins, showFootprint, bodyColor, pinColor, }: JSTXH2_5mmProps) =>
|
|
857
|
+
declare const JSTXH2_5mm: ({ numPins, showPins, showFootprint, bodyColor, pinColor, }: JSTXH2_5mmProps) => react.JSX.Element;
|
|
858
858
|
|
|
859
859
|
/** A generic pad fit is SH only when its pitch AND hold-down layout agree. */
|
|
860
860
|
declare function isJstShFootprint(footprint: string): boolean;
|
|
861
861
|
/** JST SH BMxxB-SRSS-TB top-entry header, nominal dimensions from JST eSH.pdf. */
|
|
862
862
|
declare const JstSh: ({ footprint }: {
|
|
863
863
|
footprint?: string;
|
|
864
|
-
}) =>
|
|
864
|
+
}) => react.JSX.Element;
|
|
865
865
|
|
|
866
866
|
interface FPCProps {
|
|
867
867
|
pinCount?: number;
|
|
@@ -879,14 +879,14 @@ interface FPCProps {
|
|
|
879
879
|
mountPadWidth?: number;
|
|
880
880
|
mountPadLength?: number;
|
|
881
881
|
}
|
|
882
|
-
declare const FPC: ({ pinCount, pitch, padWidth, padLength, staggered, reverse, rowPitch, topPadLength, bottomPadLength, mountPadPitchX, mountPadOffsetY, mountTop, mountPadWidth, mountPadLength, }: FPCProps) =>
|
|
882
|
+
declare const FPC: ({ pinCount, pitch, padWidth, padLength, staggered, reverse, rowPitch, topPadLength, bottomPadLength, mountPadPitchX, mountPadOffsetY, mountTop, mountPadWidth, mountPadLength, }: FPCProps) => react.JSX.Element;
|
|
883
883
|
|
|
884
884
|
interface Led5050Props {
|
|
885
885
|
color?: string;
|
|
886
886
|
bodyColor?: string;
|
|
887
887
|
leadColor?: string;
|
|
888
888
|
}
|
|
889
|
-
declare const Led5050: ({ color, bodyColor, leadColor, }: Led5050Props) =>
|
|
889
|
+
declare const Led5050: ({ color, bodyColor, leadColor, }: Led5050Props) => react.JSX.Element;
|
|
890
890
|
|
|
891
891
|
interface RJ45Props {
|
|
892
892
|
/** Width of the shielded connector body in millimetres. */
|
|
@@ -928,7 +928,7 @@ interface RJ45Props {
|
|
|
928
928
|
* function so the model's signal, shield, locator and optional LED leads stay
|
|
929
929
|
* aligned with the generated land pattern.
|
|
930
930
|
*/
|
|
931
|
-
declare const RJ45: ({ bodyWidth, bodyDepth, bodyHeight, bodyCenterY, ledPins, firstPinLeft, firstPinTop, signalPitch, signalRowPitch, signalHoleDiameter, shieldPinX, shieldPinY, shieldHoleDiameter, locatorHoleX, locatorHoleY, locatorHoleDiameter, ledPinX, ledPinPitch, ledPinY, openingDirection, shellColor, housingColor, contactColor, }: RJ45Props) =>
|
|
931
|
+
declare const RJ45: ({ bodyWidth, bodyDepth, bodyHeight, bodyCenterY, ledPins, firstPinLeft, firstPinTop, signalPitch, signalRowPitch, signalHoleDiameter, shieldPinX, shieldPinY, shieldHoleDiameter, locatorHoleX, locatorHoleY, locatorHoleDiameter, ledPinX, ledPinPitch, ledPinY, openingDirection, shellColor, housingColor, contactColor, }: RJ45Props) => react.JSX.Element;
|
|
932
932
|
|
|
933
933
|
interface DPAKProps {
|
|
934
934
|
/** X extent of the moulded body (the lead-to-tab axis) */
|
|
@@ -966,7 +966,7 @@ interface DPAKProps {
|
|
|
966
966
|
* the origin. Getting that wrong moves a 4.4mm-tall part several millimetres,
|
|
967
967
|
* which is exactly the error an enclosure clearance check cannot see.
|
|
968
968
|
*/
|
|
969
|
-
declare const DPAK: ({ bodyWidth, bodyLength, bodyHeight, tabWidth, tabLength, span, pitch, leadWidth, leadContactLength, color, tabColor, leadColor, }: DPAKProps) =>
|
|
969
|
+
declare const DPAK: ({ bodyWidth, bodyLength, bodyHeight, tabWidth, tabLength, span, pitch, leadWidth, leadContactLength, color, tabColor, leadColor, }: DPAKProps) => react.JSX.Element;
|
|
970
970
|
|
|
971
971
|
/** Flat three-terminal TO-277A outline, in mm. The broad cathode is at +X;
|
|
972
972
|
* two anode contacts are at -X. Body dimensions exclude the metal frame.
|
|
@@ -989,7 +989,7 @@ interface TO277Props {
|
|
|
989
989
|
tabBarWidth: number;
|
|
990
990
|
tabBarLength: number;
|
|
991
991
|
}
|
|
992
|
-
declare function TO277(p: TO277Props):
|
|
992
|
+
declare function TO277(p: TO277Props): react.JSX.Element;
|
|
993
993
|
|
|
994
994
|
interface ElectrolyticCapacitorProps {
|
|
995
995
|
/** Can diameter. footprinter reports this as `d` for `electrolytic`. */
|
|
@@ -1017,7 +1017,7 @@ interface ElectrolyticCapacitorProps {
|
|
|
1017
1017
|
* Only the diameter and the lead pitch come from the footprint. The height is
|
|
1018
1018
|
* derived, and deliberately generous — see `heightToDiameterRatio`.
|
|
1019
1019
|
*/
|
|
1020
|
-
declare const ElectrolyticCapacitor: ({ diameter, heightToDiameterRatio, height, leadPitch, leadDiameter, leadLength, sleeveColor, baseColor, }: ElectrolyticCapacitorProps) =>
|
|
1020
|
+
declare const ElectrolyticCapacitor: ({ diameter, heightToDiameterRatio, height, leadPitch, leadDiameter, leadLength, sleeveColor, baseColor, }: ElectrolyticCapacitorProps) => react.JSX.Element;
|
|
1021
1021
|
|
|
1022
1022
|
interface Led2835Props {
|
|
1023
1023
|
/** X extent of the package (footprinter reports 3.5 for `led2835`). */
|
|
@@ -1042,7 +1042,7 @@ interface Led2835Props {
|
|
|
1042
1042
|
* gives `led2835` two DIFFERENT pad widths at two different offsets, so the body
|
|
1043
1043
|
* is not centred on the pads.
|
|
1044
1044
|
*/
|
|
1045
|
-
declare const Led2835: ({ bodyWidth, bodyLength, bodyHeight, color, bodyColor, padColor, pad1X, pad1Width, pad2X, pad2Width, padLength, }?: Led2835Props) =>
|
|
1045
|
+
declare const Led2835: ({ bodyWidth, bodyLength, bodyHeight, color, bodyColor, padColor, pad1X, pad1Width, pad2X, pad2Width, padLength, }?: Led2835Props) => react.JSX.Element;
|
|
1046
1046
|
|
|
1047
1047
|
interface PotentiometerLead {
|
|
1048
1048
|
x: number;
|
|
@@ -1093,7 +1093,7 @@ interface PotentiometerProps {
|
|
|
1093
1093
|
* which shadow core the same way). Renaming it would break that convention to
|
|
1094
1094
|
* avoid a collision that cannot occur: nothing imports both.
|
|
1095
1095
|
*/
|
|
1096
|
-
declare const Potentiometer: ({ bodyWidth, bodyLength, bodyHeight, bodyCenterX, adjusterDiameter, shaftDiameter, shaftHeight, leads, leadDiameter, leadLength, bodyColor, adjusterColor, }: PotentiometerProps) =>
|
|
1096
|
+
declare const Potentiometer: ({ bodyWidth, bodyLength, bodyHeight, bodyCenterX, adjusterDiameter, shaftDiameter, shaftHeight, leads, leadDiameter, leadLength, bodyColor, adjusterColor, }: PotentiometerProps) => react.JSX.Element;
|
|
1097
1097
|
|
|
1098
1098
|
interface SmdPushButtonProps {
|
|
1099
1099
|
/** X extent of the moulded body. */
|
|
@@ -1125,13 +1125,13 @@ interface SmdPushButtonProps {
|
|
|
1125
1125
|
* height an enclosure lid has to clear or press on, so it is separate from
|
|
1126
1126
|
* `bodyHeight` rather than folded into it.
|
|
1127
1127
|
*/
|
|
1128
|
-
declare const SmdPushButton: ({ bodyWidth, bodyLength, bodyHeight, actuatorDiameter, actuatorHeight, padSpanX, padSpanY, padWidth, padLength, bodyColor, actuatorColor, leadColor, }: SmdPushButtonProps) =>
|
|
1128
|
+
declare const SmdPushButton: ({ bodyWidth, bodyLength, bodyHeight, actuatorDiameter, actuatorHeight, padSpanX, padSpanY, padWidth, padLength, bodyColor, actuatorColor, leadColor, }: SmdPushButtonProps) => react.JSX.Element;
|
|
1129
1129
|
|
|
1130
1130
|
/** Low-profile side-actuated SPDT switch; MSK12C02 and MINI MSK12C02 outlines. */
|
|
1131
1131
|
declare const SmdSlideSwitch: ({ footprint, position, }: {
|
|
1132
1132
|
footprint?: string;
|
|
1133
1133
|
position?: 0 | 1;
|
|
1134
|
-
}) =>
|
|
1134
|
+
}) => react.JSX.Element;
|
|
1135
1135
|
|
|
1136
1136
|
interface SmdLeadPad {
|
|
1137
1137
|
x: number;
|
|
@@ -1168,17 +1168,17 @@ interface GullWingBodyProps {
|
|
|
1168
1168
|
* here uses (SOIC, SOT-235, SOT-223, MSOP, QFP, MS-012). Anything else is a
|
|
1169
1169
|
* second kind of leg in a repo that already has one.
|
|
1170
1170
|
*/
|
|
1171
|
-
declare const GullWingBody: ({ bodyWidth, bodyLength, bodyHeight, pads, leadThickness, leadHeightRatio, }: GullWingBodyProps) =>
|
|
1171
|
+
declare const GullWingBody: ({ bodyWidth, bodyLength, bodyHeight, pads, leadThickness, leadHeightRatio, }: GullWingBodyProps) => react.JSX.Element;
|
|
1172
1172
|
|
|
1173
1173
|
/** SOT143B nominal dimensions: Nexperia SOT143B package outline (mm). */
|
|
1174
1174
|
declare const SOT143: ({ footprint }: {
|
|
1175
1175
|
footprint?: string;
|
|
1176
|
-
}) =>
|
|
1176
|
+
}) => react.JSX.Element;
|
|
1177
1177
|
|
|
1178
1178
|
/** USB2 Type-C receptacle: rounded open shell, tongue, contacts and four slot tabs. */
|
|
1179
1179
|
declare const UsbCMidmount: ({ footprint, }: {
|
|
1180
1180
|
footprint?: string;
|
|
1181
|
-
}) =>
|
|
1181
|
+
}) => react.JSX.Element;
|
|
1182
1182
|
|
|
1183
1183
|
declare const tantalumCases: {
|
|
1184
1184
|
readonly A: readonly [3.2, 1.6, 1.6, 1.2, 0.8];
|
|
@@ -1191,7 +1191,7 @@ type TantalumCase = keyof typeof tantalumCases;
|
|
|
1191
1191
|
declare const TantalumCapacitor: ({ caseSize, footprint, }: {
|
|
1192
1192
|
caseSize?: TantalumCase;
|
|
1193
1193
|
footprint?: string;
|
|
1194
|
-
}) =>
|
|
1194
|
+
}) => react.JSX.Element;
|
|
1195
1195
|
|
|
1196
1196
|
declare const twoPadCrystalPackages: {
|
|
1197
1197
|
readonly FC135: readonly [3.2, 1.5, 0.9, 0.7];
|
|
@@ -1204,7 +1204,7 @@ type TwoPadCrystalPackage = keyof typeof twoPadCrystalPackages;
|
|
|
1204
1204
|
declare const TwoPadCrystal: ({ packageName, footprint, }: {
|
|
1205
1205
|
packageName?: TwoPadCrystalPackage;
|
|
1206
1206
|
footprint?: string;
|
|
1207
|
-
}) =>
|
|
1207
|
+
}) => react.JSX.Element;
|
|
1208
1208
|
|
|
1209
1209
|
/** Walsin RFANT5220110A0T outer geometry, L/W/T/A = 5.2/2/1.15/0.4 mm.
|
|
1210
1210
|
* Source: ASC_RFANT5220110A0T_V15, page 2. Pad 1 is the feed end.
|
|
@@ -1212,7 +1212,7 @@ declare const TwoPadCrystal: ({ packageName, footprint, }: {
|
|
|
1212
1212
|
*/
|
|
1213
1213
|
declare const CeramicChipAntenna: ({ footprint, }: {
|
|
1214
1214
|
footprint?: string;
|
|
1215
|
-
}) =>
|
|
1215
|
+
}) => react.JSX.Element;
|
|
1216
1216
|
|
|
1217
1217
|
declare const melfResistorSizes: {
|
|
1218
1218
|
readonly "0102": readonly [2.2, 1.1, 0.4];
|
|
@@ -1224,7 +1224,7 @@ type MelfResistorSize = keyof typeof melfResistorSizes;
|
|
|
1224
1224
|
declare const MelfResistor: ({ size, footprint, }: {
|
|
1225
1225
|
size?: MelfResistorSize;
|
|
1226
1226
|
footprint?: string;
|
|
1227
|
-
}) =>
|
|
1227
|
+
}) => react.JSX.Element;
|
|
1228
1228
|
|
|
1229
1229
|
interface BallBearingMeshPart {
|
|
1230
1230
|
name: string;
|
|
@@ -1253,7 +1253,31 @@ type BallBearingProps = BallBearingModelPropsInput & {
|
|
|
1253
1253
|
};
|
|
1254
1254
|
declare function createBallBearingGeom(input?: BallBearingModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1255
1255
|
/** Separately colored physical parts retain their individual closed surfaces. */
|
|
1256
|
-
declare function BallBearing({ color, ...props }: BallBearingProps):
|
|
1256
|
+
declare function BallBearing({ color, ...props }: BallBearingProps): react.JSX.Element;
|
|
1257
|
+
|
|
1258
|
+
type BallTransferUnitProps = BallTransferUnitModelPropsInput & {
|
|
1259
|
+
color?: string;
|
|
1260
|
+
};
|
|
1261
|
+
declare function createBallTransferUnitGeom(input?: BallTransferUnitModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1262
|
+
declare function BallTransferUnit({ color, ...props }: BallTransferUnitProps): react.JSX.Element;
|
|
1263
|
+
|
|
1264
|
+
type Mesh = {
|
|
1265
|
+
positions: number[];
|
|
1266
|
+
indices: number[];
|
|
1267
|
+
};
|
|
1268
|
+
interface BallTransferUnitMeshPart {
|
|
1269
|
+
name: "housing" | "load ball";
|
|
1270
|
+
color: string;
|
|
1271
|
+
mesh: Mesh;
|
|
1272
|
+
}
|
|
1273
|
+
interface BallTransferUnitMesh extends Mesh {
|
|
1274
|
+
parts: BallTransferUnitMeshPart[];
|
|
1275
|
+
}
|
|
1276
|
+
/** Millimeters; body bottom at Z=0, circular mounting flange at the cup mouth.
|
|
1277
|
+
* The load ball and the perforated cup are independently closed physical parts.
|
|
1278
|
+
* Internal recirculation details are nominally represented by the socket.
|
|
1279
|
+
*/
|
|
1280
|
+
declare function createBallTransferUnitMesh(input?: BallTransferUnitModelPropsInput): BallTransferUnitMesh;
|
|
1257
1281
|
|
|
1258
1282
|
/** Indexed counterclockwise triangles in millimeters. */
|
|
1259
1283
|
interface ButtonScrewMesh {
|
|
@@ -1272,7 +1296,7 @@ type ButtonScrewProps = ButtonScrewModelPropsInput & {
|
|
|
1272
1296
|
color?: string;
|
|
1273
1297
|
};
|
|
1274
1298
|
declare function createButtonScrewGeom(input: ButtonScrewModelPropsInput, resolution?: ButtonScrewMeshOptions): _jscad_modeling_src_geometries_types.Geom3;
|
|
1275
|
-
declare function ButtonScrew({ color, ...props }: ButtonScrewProps):
|
|
1299
|
+
declare function ButtonScrew({ color, ...props }: ButtonScrewProps): react.JSX.Element;
|
|
1276
1300
|
|
|
1277
1301
|
interface CableGrommetMesh {
|
|
1278
1302
|
positions: number[];
|
|
@@ -1289,7 +1313,7 @@ type CableGrommetProps = CableGrommetModelPropsInput & {
|
|
|
1289
1313
|
color?: string;
|
|
1290
1314
|
};
|
|
1291
1315
|
declare function createCableGrommetGeom(input: CableGrommetModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1292
|
-
declare function CableGrommet({ color, ...props }: CableGrommetProps):
|
|
1316
|
+
declare function CableGrommet({ color, ...props }: CableGrommetProps): react.JSX.Element;
|
|
1293
1317
|
|
|
1294
1318
|
type ShaftMountMesh = {
|
|
1295
1319
|
positions: number[];
|
|
@@ -1305,7 +1329,7 @@ type ClampingShaftCollarProps = ClampingShaftCollarModelPropsInput & {
|
|
|
1305
1329
|
};
|
|
1306
1330
|
/** Datum and mounting-hole coordinates follow the modelprinter contract. */
|
|
1307
1331
|
declare function createClampingShaftCollarGeom(input: ClampingShaftCollarModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1308
|
-
declare function ClampingShaftCollar({ color, ...props }: ClampingShaftCollarProps):
|
|
1332
|
+
declare function ClampingShaftCollar({ color, ...props }: ClampingShaftCollarProps): react.JSX.Element;
|
|
1309
1333
|
|
|
1310
1334
|
interface CompressionSpringMesh {
|
|
1311
1335
|
positions: number[];
|
|
@@ -1322,7 +1346,7 @@ type CompressionSpringProps = CompressionSpringModelPropsInput & {
|
|
|
1322
1346
|
color?: string;
|
|
1323
1347
|
};
|
|
1324
1348
|
declare function createCompressionSpringGeom(input: CompressionSpringModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1325
|
-
declare function CompressionSpring({ color, ...props }: CompressionSpringProps):
|
|
1349
|
+
declare function CompressionSpring({ color, ...props }: CompressionSpringProps): react.JSX.Element;
|
|
1326
1350
|
|
|
1327
1351
|
/** Shared ring vertices and outward counterclockwise triangles, in millimeters. */
|
|
1328
1352
|
interface FlangedBushingMesh {
|
|
@@ -1337,7 +1361,7 @@ type FlangedBushingProps = FlangedBushingModelPropsInput & {
|
|
|
1337
1361
|
};
|
|
1338
1362
|
/** Square integral flange at the Z=0 end; bore continues through overall length. */
|
|
1339
1363
|
declare function createFlangedBushingGeom(input: FlangedBushingModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1340
|
-
declare function FlangedBushing({ color, ...props }: FlangedBushingProps):
|
|
1364
|
+
declare function FlangedBushing({ color, ...props }: FlangedBushingProps): react.JSX.Element;
|
|
1341
1365
|
|
|
1342
1366
|
interface FlatHeadScrewMeshOptions {
|
|
1343
1367
|
radialSegments?: number;
|
|
@@ -1354,7 +1378,7 @@ type FlatHeadScrewProps = FlatHeadScrewModelPropsInput & {
|
|
|
1354
1378
|
color?: string;
|
|
1355
1379
|
};
|
|
1356
1380
|
declare function createFlatHeadScrewGeom(input: FlatHeadScrewModelPropsInput, options?: FlatHeadScrewMeshOptions): _jscad_modeling_src_geometries_types.Geom3;
|
|
1357
|
-
declare function FlatHeadScrew({ color, ...props }: FlatHeadScrewProps):
|
|
1381
|
+
declare function FlatHeadScrew({ color, ...props }: FlatHeadScrewProps): react.JSX.Element;
|
|
1358
1382
|
|
|
1359
1383
|
type Rotation3 = [number | string, number | string, number | string];
|
|
1360
1384
|
type FlexScreenOrientation = "sitsFlat" | "sitsFlatBelowBoard" | "foldedToFaceAboveBoard" | "foldedToFaceBelowBoard" | "foldedToRightAngleAboveBoard" | "foldedToRightAngleBelowBoard";
|
|
@@ -1476,7 +1500,7 @@ interface ResolvedFlexScreenSize {
|
|
|
1476
1500
|
aspectRatio: number;
|
|
1477
1501
|
}
|
|
1478
1502
|
declare const resolveFlexScreenSize: ({ width, height, diagonal, aspectRatio, ratio, defaultDiagonal, }: Pick<FlexScreenProps, "width" | "height" | "diagonal" | "aspectRatio" | "ratio" | "defaultDiagonal">) => ResolvedFlexScreenSize;
|
|
1479
|
-
declare const FlexScreen: (props: FlexScreenProps) =>
|
|
1503
|
+
declare const FlexScreen: (props: FlexScreenProps) => react.JSX.Element;
|
|
1480
1504
|
|
|
1481
1505
|
/** Indexed triangles, counterclockwise from outside; millimeters, Z up. */
|
|
1482
1506
|
interface SpurGearMesh {
|
|
@@ -1505,7 +1529,7 @@ type HelicalGearProps = HelicalGearModelPropsInput & {
|
|
|
1505
1529
|
};
|
|
1506
1530
|
/** Axis +Z, lower face Z=0; optional hub extends above the gear face. */
|
|
1507
1531
|
declare function createHelicalGearGeom(input: HelicalGearModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1508
|
-
declare function HelicalGear({ color, ...props }: HelicalGearProps):
|
|
1532
|
+
declare function HelicalGear({ color, ...props }: HelicalGearProps): react.JSX.Element;
|
|
1509
1533
|
|
|
1510
1534
|
interface HexBoltMeshOptions {
|
|
1511
1535
|
radialSegments?: number;
|
|
@@ -1522,7 +1546,7 @@ type HexBoltProps = HexBoltModelPropsInput & {
|
|
|
1522
1546
|
color?: string;
|
|
1523
1547
|
};
|
|
1524
1548
|
declare function createHexBoltGeom(input: HexBoltModelPropsInput, options?: HexBoltMeshOptions): _jscad_modeling_src_geometries_types.Geom3;
|
|
1525
|
-
declare function HexBolt({ color, ...props }: HexBoltProps):
|
|
1549
|
+
declare function HexBolt({ color, ...props }: HexBoltProps): react.JSX.Element;
|
|
1526
1550
|
|
|
1527
1551
|
/** Indexed counterclockwise triangles in millimeters. */
|
|
1528
1552
|
interface HexNutMesh {
|
|
@@ -1541,7 +1565,7 @@ type HexNutProps = HexNutModelPropsInput & {
|
|
|
1541
1565
|
color?: string;
|
|
1542
1566
|
};
|
|
1543
1567
|
declare function createHexNutGeom(input: HexNutModelPropsInput, resolution?: HexNutMeshOptions): _jscad_modeling_src_geometries_types.Geom3;
|
|
1544
|
-
declare function HexNut({ color, ...props }: HexNutProps):
|
|
1568
|
+
declare function HexNut({ color, ...props }: HexNutProps): react.JSX.Element;
|
|
1545
1569
|
|
|
1546
1570
|
/** Indexed triangles, counterclockwise from outside; millimeters, Z up. */
|
|
1547
1571
|
interface HexSocketBoltMesh {
|
|
@@ -1561,7 +1585,7 @@ type HexSocketBoltProps = HexSocketBoltModelPropsInput & {
|
|
|
1561
1585
|
};
|
|
1562
1586
|
/** Bearing plane Z=0, tip along -Z, head along +Z. Threads are approximate. */
|
|
1563
1587
|
declare function createHexSocketBoltGeom(input: HexSocketBoltModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1564
|
-
declare function HexSocketBolt({ color, ...props }: HexSocketBoltProps):
|
|
1588
|
+
declare function HexSocketBolt({ color, ...props }: HexSocketBoltProps): react.JSX.Element;
|
|
1565
1589
|
|
|
1566
1590
|
interface HollowPositioningArmTubeMesh {
|
|
1567
1591
|
positions: number[];
|
|
@@ -1578,7 +1602,7 @@ type HollowPositioningArmTubeProps = HollowPositioningArmTubeModelPropsInput & {
|
|
|
1578
1602
|
color?: string;
|
|
1579
1603
|
};
|
|
1580
1604
|
declare function createHollowPositioningArmTubeGeom(input: HollowPositioningArmTubeModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1581
|
-
declare function HollowPositioningArmTube({ color, ...props }: HollowPositioningArmTubeProps):
|
|
1605
|
+
declare function HollowPositioningArmTube({ color, ...props }: HollowPositioningArmTubeProps): react.JSX.Element;
|
|
1582
1606
|
|
|
1583
1607
|
type NemaMotorProps = NemaMotorModelPropsInput & {
|
|
1584
1608
|
bodyColor?: string;
|
|
@@ -1590,10 +1614,10 @@ type NemaFrameMotorProps = Omit<NemaMotorProps, "nemaSize">;
|
|
|
1590
1614
|
/** Mounting face at Z=0, body along -Z, shaft along +Z; all lengths in mm.
|
|
1591
1615
|
* Parameters follow the modelprinter NEMA contract; JSCAD builds all geometry.
|
|
1592
1616
|
*/
|
|
1593
|
-
declare function NemaMotor({ bodyColor, capColor, shaftColor, screwColor, ...props }: NemaMotorProps):
|
|
1594
|
-
declare const NEMA8: (props: NemaFrameMotorProps) =>
|
|
1595
|
-
declare const NEMA17: (props: NemaFrameMotorProps) =>
|
|
1596
|
-
declare const NEMA23: (props: NemaFrameMotorProps) =>
|
|
1617
|
+
declare function NemaMotor({ bodyColor, capColor, shaftColor, screwColor, ...props }: NemaMotorProps): react.JSX.Element;
|
|
1618
|
+
declare const NEMA8: (props: NemaFrameMotorProps) => react.JSX.Element;
|
|
1619
|
+
declare const NEMA17: (props: NemaFrameMotorProps) => react.JSX.Element;
|
|
1620
|
+
declare const NEMA23: (props: NemaFrameMotorProps) => react.JSX.Element;
|
|
1597
1621
|
|
|
1598
1622
|
interface PanScrewMeshOptions {
|
|
1599
1623
|
radialSegments?: number;
|
|
@@ -1610,7 +1634,7 @@ type PanScrewProps = PanScrewModelPropsInput & {
|
|
|
1610
1634
|
color?: string;
|
|
1611
1635
|
};
|
|
1612
1636
|
declare function createPanScrewGeom(input: PanScrewModelPropsInput, options?: PanScrewMeshOptions): _jscad_modeling_src_geometries_types.Geom3;
|
|
1613
|
-
declare function PanScrew({ color, ...props }: PanScrewProps):
|
|
1637
|
+
declare function PanScrew({ color, ...props }: PanScrewProps): react.JSX.Element;
|
|
1614
1638
|
|
|
1615
1639
|
/** Shared ring vertices and outward counterclockwise triangles, in millimeters. */
|
|
1616
1640
|
interface PlainBushingMesh {
|
|
@@ -1625,7 +1649,7 @@ type PlainBushingProps = PlainBushingModelPropsInput & {
|
|
|
1625
1649
|
};
|
|
1626
1650
|
/** Through sleeve from Z=0 to length, with four optional 45-degree rim chamfers. */
|
|
1627
1651
|
declare function createPlainBushingGeom(input: PlainBushingModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1628
|
-
declare function PlainBushing({ color, ...props }: PlainBushingProps):
|
|
1652
|
+
declare function PlainBushing({ color, ...props }: PlainBushingProps): react.JSX.Element;
|
|
1629
1653
|
|
|
1630
1654
|
type RigidCouplerMesh = ShaftMountMesh;
|
|
1631
1655
|
/** Geometry is driven by the corresponding modelprinter schema and hole layout. */
|
|
@@ -1636,7 +1660,7 @@ type RigidCouplerProps = RigidCouplerModelPropsInput & {
|
|
|
1636
1660
|
};
|
|
1637
1661
|
/** Datum and mounting-hole coordinates follow the modelprinter contract. */
|
|
1638
1662
|
declare function createRigidCouplerGeom(input: RigidCouplerModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1639
|
-
declare function RigidCoupler({ color, ...props }: RigidCouplerProps):
|
|
1663
|
+
declare function RigidCoupler({ color, ...props }: RigidCouplerProps): react.JSX.Element;
|
|
1640
1664
|
|
|
1641
1665
|
type ShaftCollarMesh = ShaftMountMesh;
|
|
1642
1666
|
/** Geometry is driven by the corresponding modelprinter schema and hole layout. */
|
|
@@ -1647,7 +1671,7 @@ type ShaftCollarProps = ShaftCollarModelPropsInput & {
|
|
|
1647
1671
|
};
|
|
1648
1672
|
/** Datum and mounting-hole coordinates follow the modelprinter contract. */
|
|
1649
1673
|
declare function createShaftCollarGeom(input: ShaftCollarModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1650
|
-
declare function ShaftCollar({ color, ...props }: ShaftCollarProps):
|
|
1674
|
+
declare function ShaftCollar({ color, ...props }: ShaftCollarProps): react.JSX.Element;
|
|
1651
1675
|
|
|
1652
1676
|
interface SheetMetalMesh {
|
|
1653
1677
|
positions: number[];
|
|
@@ -1666,14 +1690,14 @@ type SheetMetalProps = SheetMetalModelPropsInput & {
|
|
|
1666
1690
|
};
|
|
1667
1691
|
/** Base midsurface Z=0; bends and flanges rise along +Z. Dimensions in mm. */
|
|
1668
1692
|
declare function createSheetMetalGeom(input: SheetMetalModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1669
|
-
declare function SheetMetal({ color, ...props }: SheetMetalProps):
|
|
1693
|
+
declare function SheetMetal({ color, ...props }: SheetMetalProps): react.JSX.Element;
|
|
1670
1694
|
|
|
1671
1695
|
type SpurGearProps = SpurGearModelPropsInput & {
|
|
1672
1696
|
color?: string;
|
|
1673
1697
|
};
|
|
1674
1698
|
/** Axis +Z, lower face Z=0; optional hub extends above the gear face. */
|
|
1675
1699
|
declare function createSpurGearGeom(input: SpurGearModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1676
|
-
declare function SpurGear({ color, ...props }: SpurGearProps):
|
|
1700
|
+
declare function SpurGear({ color, ...props }: SpurGearProps): react.JSX.Element;
|
|
1677
1701
|
|
|
1678
1702
|
/** Indexed counterclockwise triangles in millimeters. */
|
|
1679
1703
|
interface ThreadedRodMesh {
|
|
@@ -1692,7 +1716,7 @@ type ThreadedRodProps = ThreadedRodModelPropsInput & {
|
|
|
1692
1716
|
color?: string;
|
|
1693
1717
|
};
|
|
1694
1718
|
declare function createThreadedRodGeom(input: ThreadedRodModelPropsInput, resolution?: ThreadedRodMeshOptions): _jscad_modeling_src_geometries_types.Geom3;
|
|
1695
|
-
declare function ThreadedRod({ color, ...props }: ThreadedRodProps):
|
|
1719
|
+
declare function ThreadedRod({ color, ...props }: ThreadedRodProps): react.JSX.Element;
|
|
1696
1720
|
|
|
1697
1721
|
interface TorsionSpringMesh {
|
|
1698
1722
|
positions: number[];
|
|
@@ -1709,7 +1733,7 @@ type TorsionSpringProps = TorsionSpringModelPropsInput & {
|
|
|
1709
1733
|
color?: string;
|
|
1710
1734
|
};
|
|
1711
1735
|
declare function createTorsionSpringGeom(input: TorsionSpringModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1712
|
-
declare function TorsionSpring({ color, ...props }: TorsionSpringProps):
|
|
1736
|
+
declare function TorsionSpring({ color, ...props }: TorsionSpringProps): react.JSX.Element;
|
|
1713
1737
|
|
|
1714
1738
|
interface TSlotExtrusionMesh {
|
|
1715
1739
|
positions: number[];
|
|
@@ -1724,7 +1748,7 @@ type TSlotExtrusionProps = TSlotExtrusionModelPropsInput & {
|
|
|
1724
1748
|
color?: string;
|
|
1725
1749
|
};
|
|
1726
1750
|
declare function createTSlotExtrusionGeom(input?: TSlotExtrusionModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1727
|
-
declare function TSlotExtrusion({ color, ...props }: TSlotExtrusionProps):
|
|
1751
|
+
declare function TSlotExtrusion({ color, ...props }: TSlotExtrusionProps): react.JSX.Element;
|
|
1728
1752
|
|
|
1729
1753
|
interface TSlotGussetMesh {
|
|
1730
1754
|
positions: number[];
|
|
@@ -1739,7 +1763,7 @@ type TSlotGussetProps = TSlotGussetModelPropsInput & {
|
|
|
1739
1763
|
color?: string;
|
|
1740
1764
|
};
|
|
1741
1765
|
declare function createTSlotGussetGeom(input?: TSlotGussetModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1742
|
-
declare function TSlotGusset({ color, ...props }: TSlotGussetProps):
|
|
1766
|
+
declare function TSlotGusset({ color, ...props }: TSlotGussetProps): react.JSX.Element;
|
|
1743
1767
|
|
|
1744
1768
|
interface TSlotInsideCornerMesh {
|
|
1745
1769
|
positions: number[];
|
|
@@ -1754,7 +1778,7 @@ type TSlotInsideCornerProps = TSlotInsideCornerModelPropsInput & {
|
|
|
1754
1778
|
color?: string;
|
|
1755
1779
|
};
|
|
1756
1780
|
declare function createTSlotInsideCornerGeom(input?: TSlotInsideCornerModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1757
|
-
declare function TSlotInsideCorner({ color, ...props }: TSlotInsideCornerProps):
|
|
1781
|
+
declare function TSlotInsideCorner({ color, ...props }: TSlotInsideCornerProps): react.JSX.Element;
|
|
1758
1782
|
|
|
1759
1783
|
/** Indexed triangles, counterclockwise from outside; millimeters, Z up. */
|
|
1760
1784
|
interface WormGearMesh {
|
|
@@ -1774,6 +1798,6 @@ type WormGearProps = WormGearModelPropsInput & {
|
|
|
1774
1798
|
};
|
|
1775
1799
|
/** Square-cut worm along +Z, from Z=0 to length. Threads are approximate. */
|
|
1776
1800
|
declare function createWormGearGeom(input: WormGearModelPropsInput): _jscad_modeling_src_geometries_types.Geom3;
|
|
1777
|
-
declare function WormGear({ color, ...props }: WormGearProps):
|
|
1801
|
+
declare function WormGear({ color, ...props }: WormGearProps): react.JSX.Element;
|
|
1778
1802
|
|
|
1779
|
-
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, BallBearing, type BallBearingMesh, type BallBearingMeshOptions, type BallBearingMeshPart, type BallBearingProps, ButtonScrew, type ButtonScrewMesh, type ButtonScrewMeshOptions, type ButtonScrewProps, CableGrommet, type CableGrommetMesh, type CableGrommetMeshOptions, type CableGrommetProps, CeramicChipAntenna, ChipBody, type ChipBodyProps, ClampingShaftCollar, type ClampingShaftCollarMesh, type ClampingShaftCollarProps, CompressionSpring, type CompressionSpringMesh, type CompressionSpringMeshOptions, type CompressionSpringProps, Crystal, type CrystalProps, DFN, DO219AD, type DO219ADProps, DPAK, type DPAKProps, Display, ElectrolyticCapacitor, type ElectrolyticCapacitorProps, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FlangedBushing, type FlangedBushingMesh, type FlangedBushingProps, FlatHeadScrew, type FlatHeadScrewMesh, type FlatHeadScrewMeshOptions, type FlatHeadScrewProps, FlexScreen, type FlexScreenAspectRatio, type FlexScreenOrientation, type FlexScreenProps, FootprintPad, FootprintPlatedHole, Footprinter3d, GullWingBody, type GullWingBodyProps, HC49, type HC49Props, HelicalGear, type HelicalGearMesh, type HelicalGearProps, HexBolt, type HexBoltMesh, type HexBoltMeshOptions, type HexBoltProps, HexNut, type HexNutMesh, type HexNutMeshOptions, type HexNutProps, HexSocketBolt, type HexSocketBoltMesh, type HexSocketBoltProps, HollowPositioningArmTube, type HollowPositioningArmTubeMesh, type HollowPositioningArmTubeMeshOptions, type HollowPositioningArmTubeProps, JSTPH2_0mm, JSTXH2_5mm, type JSTXH2_5mmProps, JSTZH1_5mm, JstSh, LGA, type LGAProps, LQFP, type LQFPProps, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, type MSOPProps, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, NEMA17, NEMA23, NEMA8, type NemaFrameMotorProps, NemaMotor, type NemaMotorProps, PanScrew, type PanScrewMesh, type PanScrewMeshOptions, type PanScrewProps, PinHeader, PinRow, PlainBushing, type PlainBushingMesh, type PlainBushingProps, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, type QFNProps, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, RigidCoupler, type RigidCouplerMesh, type RigidCouplerProps, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD323HE, type SOD323HEProps, SOD523, SOD723, SOD882, SOD923, SOIC, type SOICProps, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT89, type SOT89Props, SOT963, SSOP, type SSOPProps, Screen, type ScreenProps, ShaftCollar, type ShaftCollarMesh, type ShaftCollarProps, SheetMetal, type SheetMetalMesh, type SheetMetalProps, SmdChipLead, type SmdChipLeadProps, SmdLED, type SmdLeadPad, type SmdLedSize, SmdPinHeader, type SmdPinHeaderProps, SmdPushButton, type SmdPushButtonProps, SmdSlideSwitch, SpurGear, type SpurGearMesh, type SpurGearProps, StampBoard, TO220, type TO220Lead, type TO220Props, TO277, type TO277Props, TO92, type TO92Lead, type TO92Props, TQFP, TSlotExtrusion, type TSlotExtrusionMesh, type TSlotExtrusionProps, TSlotGusset, type TSlotGussetMesh, type TSlotGussetProps, TSlotInsideCorner, type TSlotInsideCornerMesh, type TSlotInsideCornerProps, TantalumCapacitor, type TantalumCase, ThreadedRod, type ThreadedRodMesh, type ThreadedRodMeshOptions, type ThreadedRodProps, TorsionSpring, type TorsionSpringMesh, type TorsionSpringMeshOptions, type TorsionSpringProps, Tssop, type TssopProps, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, WormGear, type WormGearMesh, type WormGearProps, createBallBearingGeom, createBallBearingMesh, createButtonScrewGeom, createButtonScrewMesh, createCableGrommetGeom, createCableGrommetMesh, createClampingShaftCollarGeom, createClampingShaftCollarMesh, createCompressionSpringGeom, createCompressionSpringMesh, createFlangedBushingGeom, createFlangedBushingMesh, createFlatHeadScrewGeom, createFlatHeadScrewMesh, createHelicalGearGeom, createHelicalGearMesh, createHexBoltGeom, createHexBoltMesh, createHexNutGeom, createHexNutMesh, createHexSocketBoltGeom, createHexSocketBoltMesh, createHollowPositioningArmTubeGeom, createHollowPositioningArmTubeMesh, createPanScrewGeom, createPanScrewMesh, createPlainBushingGeom, createPlainBushingMesh, createRigidCouplerGeom, createRigidCouplerMesh, createShaftCollarGeom, createShaftCollarMesh, createSheetMetalGeom, createSheetMetalMesh, createSpurGearGeom, createSpurGearMesh, createTSlotExtrusionGeom, createTSlotExtrusionMesh, createTSlotGussetGeom, createTSlotGussetMesh, createTSlotInsideCornerGeom, createTSlotInsideCornerMesh, createThreadedRodGeom, createThreadedRodMesh, createTorsionSpringGeom, createTorsionSpringMesh, createWormGearGeom, createWormGearMesh, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, smdLedDimensions, tantalumCases, twoPadCrystalPackages };
|
|
1803
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, BallBearing, type BallBearingMesh, type BallBearingMeshOptions, type BallBearingMeshPart, type BallBearingProps, BallTransferUnit, type BallTransferUnitMesh, type BallTransferUnitMeshPart, type BallTransferUnitProps, ButtonScrew, type ButtonScrewMesh, type ButtonScrewMeshOptions, type ButtonScrewProps, CableGrommet, type CableGrommetMesh, type CableGrommetMeshOptions, type CableGrommetProps, CeramicChipAntenna, ChipBody, type ChipBodyProps, ClampingShaftCollar, type ClampingShaftCollarMesh, type ClampingShaftCollarProps, CompressionSpring, type CompressionSpringMesh, type CompressionSpringMeshOptions, type CompressionSpringProps, Crystal, type CrystalProps, DFN, DO219AD, type DO219ADProps, DPAK, type DPAKProps, Display, ElectrolyticCapacitor, type ElectrolyticCapacitorProps, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FlangedBushing, type FlangedBushingMesh, type FlangedBushingProps, FlatHeadScrew, type FlatHeadScrewMesh, type FlatHeadScrewMeshOptions, type FlatHeadScrewProps, FlexScreen, type FlexScreenAspectRatio, type FlexScreenOrientation, type FlexScreenProps, FootprintPad, FootprintPlatedHole, Footprinter3d, GullWingBody, type GullWingBodyProps, HC49, type HC49Props, HelicalGear, type HelicalGearMesh, type HelicalGearProps, HexBolt, type HexBoltMesh, type HexBoltMeshOptions, type HexBoltProps, HexNut, type HexNutMesh, type HexNutMeshOptions, type HexNutProps, HexSocketBolt, type HexSocketBoltMesh, type HexSocketBoltProps, HollowPositioningArmTube, type HollowPositioningArmTubeMesh, type HollowPositioningArmTubeMeshOptions, type HollowPositioningArmTubeProps, JSTPH2_0mm, JSTXH2_5mm, type JSTXH2_5mmProps, JSTZH1_5mm, JstSh, LGA, type LGAProps, LQFP, type LQFPProps, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, type MSOPProps, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, NEMA17, NEMA23, NEMA8, type NemaFrameMotorProps, NemaMotor, type NemaMotorProps, PanScrew, type PanScrewMesh, type PanScrewMeshOptions, type PanScrewProps, PinHeader, PinRow, PlainBushing, type PlainBushingMesh, type PlainBushingProps, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, type QFNProps, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, RigidCoupler, type RigidCouplerMesh, type RigidCouplerProps, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD323HE, type SOD323HEProps, SOD523, SOD723, SOD882, SOD923, SOIC, type SOICProps, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT89, type SOT89Props, SOT963, SSOP, type SSOPProps, Screen, type ScreenProps, ShaftCollar, type ShaftCollarMesh, type ShaftCollarProps, SheetMetal, type SheetMetalMesh, type SheetMetalProps, SmdChipLead, type SmdChipLeadProps, SmdLED, type SmdLeadPad, type SmdLedSize, SmdPinHeader, type SmdPinHeaderProps, SmdPushButton, type SmdPushButtonProps, SmdSlideSwitch, SpurGear, type SpurGearMesh, type SpurGearProps, StampBoard, TO220, type TO220Lead, type TO220Props, TO277, type TO277Props, TO92, type TO92Lead, type TO92Props, TQFP, TSlotExtrusion, type TSlotExtrusionMesh, type TSlotExtrusionProps, TSlotGusset, type TSlotGussetMesh, type TSlotGussetProps, TSlotInsideCorner, type TSlotInsideCornerMesh, type TSlotInsideCornerProps, TantalumCapacitor, type TantalumCase, ThreadedRod, type ThreadedRodMesh, type ThreadedRodMeshOptions, type ThreadedRodProps, TorsionSpring, type TorsionSpringMesh, type TorsionSpringMeshOptions, type TorsionSpringProps, Tssop, type TssopProps, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, WormGear, type WormGearMesh, type WormGearProps, createBallBearingGeom, createBallBearingMesh, createBallTransferUnitGeom, createBallTransferUnitMesh, createButtonScrewGeom, createButtonScrewMesh, createCableGrommetGeom, createCableGrommetMesh, createClampingShaftCollarGeom, createClampingShaftCollarMesh, createCompressionSpringGeom, createCompressionSpringMesh, createFlangedBushingGeom, createFlangedBushingMesh, createFlatHeadScrewGeom, createFlatHeadScrewMesh, createHelicalGearGeom, createHelicalGearMesh, createHexBoltGeom, createHexBoltMesh, createHexNutGeom, createHexNutMesh, createHexSocketBoltGeom, createHexSocketBoltMesh, createHollowPositioningArmTubeGeom, createHollowPositioningArmTubeMesh, createPanScrewGeom, createPanScrewMesh, createPlainBushingGeom, createPlainBushingMesh, createRigidCouplerGeom, createRigidCouplerMesh, createShaftCollarGeom, createShaftCollarMesh, createSheetMetalGeom, createSheetMetalMesh, createSpurGearGeom, createSpurGearMesh, createTSlotExtrusionGeom, createTSlotExtrusionMesh, createTSlotGussetGeom, createTSlotGussetMesh, createTSlotInsideCornerGeom, createTSlotInsideCornerMesh, createThreadedRodGeom, createThreadedRodMesh, createTorsionSpringGeom, createTorsionSpringMesh, createWormGearGeom, createWormGearMesh, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, smdLedDimensions, tantalumCases, twoPadCrystalPackages };
|