jscad-electronics 0.0.94 → 0.0.95
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 +6 -1
- package/dist/index.js +408 -329
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +77 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/vanilla.js
CHANGED
|
@@ -1011,6 +1011,81 @@ var SOT235 = () => {
|
|
|
1011
1011
|
};
|
|
1012
1012
|
var SOT_235_default = SOT235;
|
|
1013
1013
|
|
|
1014
|
+
// lib/SOT-23W.tsx
|
|
1015
|
+
var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
1016
|
+
const bodyWidth = 1.92;
|
|
1017
|
+
const bodyLength10 = 2.9;
|
|
1018
|
+
const bodyHeight = 1.1;
|
|
1019
|
+
const leadWidth = 0.4;
|
|
1020
|
+
const leadThickness = 0.15;
|
|
1021
|
+
const leadHeight = 0.45;
|
|
1022
|
+
const padContactLength = 0.25;
|
|
1023
|
+
const padThickness = leadThickness / 2;
|
|
1024
|
+
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
1025
|
+
return /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
1026
|
+
/* @__PURE__ */ jsx(
|
|
1027
|
+
SmdChipLead,
|
|
1028
|
+
{
|
|
1029
|
+
rotation: Math.PI,
|
|
1030
|
+
position: {
|
|
1031
|
+
x: fullWidth / 2,
|
|
1032
|
+
y: 0,
|
|
1033
|
+
z: padThickness
|
|
1034
|
+
},
|
|
1035
|
+
width: leadWidth,
|
|
1036
|
+
thickness: leadThickness,
|
|
1037
|
+
padContactLength,
|
|
1038
|
+
bodyDistance: extendedBodyDistance,
|
|
1039
|
+
height: leadHeight
|
|
1040
|
+
},
|
|
1041
|
+
1
|
|
1042
|
+
),
|
|
1043
|
+
/* @__PURE__ */ jsx(
|
|
1044
|
+
SmdChipLead,
|
|
1045
|
+
{
|
|
1046
|
+
position: {
|
|
1047
|
+
x: -fullWidth / 2,
|
|
1048
|
+
y: -0.95,
|
|
1049
|
+
z: padThickness
|
|
1050
|
+
},
|
|
1051
|
+
width: leadWidth,
|
|
1052
|
+
thickness: leadThickness,
|
|
1053
|
+
padContactLength,
|
|
1054
|
+
bodyDistance: extendedBodyDistance,
|
|
1055
|
+
height: leadHeight
|
|
1056
|
+
},
|
|
1057
|
+
2
|
|
1058
|
+
),
|
|
1059
|
+
/* @__PURE__ */ jsx(
|
|
1060
|
+
SmdChipLead,
|
|
1061
|
+
{
|
|
1062
|
+
position: {
|
|
1063
|
+
x: -fullWidth / 2,
|
|
1064
|
+
y: 0.95,
|
|
1065
|
+
z: padThickness
|
|
1066
|
+
},
|
|
1067
|
+
width: leadWidth,
|
|
1068
|
+
thickness: leadThickness,
|
|
1069
|
+
padContactLength,
|
|
1070
|
+
bodyDistance: extendedBodyDistance,
|
|
1071
|
+
height: leadHeight
|
|
1072
|
+
},
|
|
1073
|
+
3
|
|
1074
|
+
),
|
|
1075
|
+
/* @__PURE__ */ jsx(
|
|
1076
|
+
ChipBody,
|
|
1077
|
+
{
|
|
1078
|
+
center: { x: 0, y: 0, z: 0 },
|
|
1079
|
+
width: bodyWidth,
|
|
1080
|
+
length: bodyLength10,
|
|
1081
|
+
height: bodyHeight,
|
|
1082
|
+
straightHeightRatio: 0.45,
|
|
1083
|
+
heightAboveSurface: 0.05
|
|
1084
|
+
}
|
|
1085
|
+
)
|
|
1086
|
+
] });
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1014
1089
|
// lib/A0201.tsx
|
|
1015
1090
|
var fullLength4 = 0.6;
|
|
1016
1091
|
var width4 = 0.3;
|
|
@@ -3408,6 +3483,8 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3408
3483
|
return /* @__PURE__ */ jsx(SOT457, {});
|
|
3409
3484
|
case "sot223":
|
|
3410
3485
|
return /* @__PURE__ */ jsx(SOT223, {});
|
|
3486
|
+
case "sot23w":
|
|
3487
|
+
return /* @__PURE__ */ jsx(SOT23W, {});
|
|
3411
3488
|
case "sot323":
|
|
3412
3489
|
return /* @__PURE__ */ jsx(SOT323, {});
|
|
3413
3490
|
case "sot363":
|