jscad-electronics 0.0.88 → 0.0.90
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.js +94 -64
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +75 -45
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -865,13 +865,13 @@ var QFP = ({
|
|
|
865
865
|
const fullWidth = fullLength10;
|
|
866
866
|
const leadHeight = 0.8;
|
|
867
867
|
const leadThickness = 0.15;
|
|
868
|
-
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.
|
|
868
|
+
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.5;
|
|
869
869
|
return /* @__PURE__ */ jsxs17(Fragment15, { children: [
|
|
870
870
|
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx19(
|
|
871
871
|
SmdChipLead,
|
|
872
872
|
{
|
|
873
873
|
position: {
|
|
874
|
-
x: -fullWidth / 2,
|
|
874
|
+
x: -fullWidth / 2 - 0.4,
|
|
875
875
|
y: i * pitch - pinOffsetToCenter,
|
|
876
876
|
z: leadThickness / 2
|
|
877
877
|
},
|
|
@@ -888,7 +888,7 @@ var QFP = ({
|
|
|
888
888
|
{
|
|
889
889
|
rotation: Math.PI,
|
|
890
890
|
position: {
|
|
891
|
-
x: fullWidth / 2,
|
|
891
|
+
x: fullWidth / 2 + 0.4,
|
|
892
892
|
y: i * pitch - pinOffsetToCenter,
|
|
893
893
|
z: leadThickness / 2
|
|
894
894
|
},
|
|
@@ -906,7 +906,7 @@ var QFP = ({
|
|
|
906
906
|
rotation: Math.PI / 2,
|
|
907
907
|
position: {
|
|
908
908
|
x: i * pitch - pinOffsetToCenter,
|
|
909
|
-
y: -fullLength10 / 2,
|
|
909
|
+
y: -fullLength10 / 2 - 0.4,
|
|
910
910
|
z: leadThickness / 2
|
|
911
911
|
},
|
|
912
912
|
width: leadWidth,
|
|
@@ -923,7 +923,7 @@ var QFP = ({
|
|
|
923
923
|
rotation: -Math.PI / 2,
|
|
924
924
|
position: {
|
|
925
925
|
x: i * pitch - pinOffsetToCenter,
|
|
926
|
-
y: fullLength10 / 2,
|
|
926
|
+
y: fullLength10 / 2 + 0.4,
|
|
927
927
|
z: leadThickness / 2
|
|
928
928
|
},
|
|
929
929
|
width: leadWidth,
|
|
@@ -937,12 +937,12 @@ var QFP = ({
|
|
|
937
937
|
/* @__PURE__ */ jsx19(
|
|
938
938
|
ChipBody,
|
|
939
939
|
{
|
|
940
|
-
center: { x: 0, y: 0, z:
|
|
940
|
+
center: { x: 0, y: 0, z: 0 },
|
|
941
941
|
width: bodyWidth,
|
|
942
942
|
length: bodyLength10,
|
|
943
943
|
height: 1.5,
|
|
944
944
|
taperRatio: 0.03,
|
|
945
|
-
chamferSize:
|
|
945
|
+
chamferSize: 0.7,
|
|
946
946
|
notchPosition: {
|
|
947
947
|
x: bodyLength10 / 2 - 1.5,
|
|
948
948
|
y: bodyWidth / 2 - 1.5,
|
|
@@ -968,14 +968,17 @@ var getPitch = (pinCount, width10) => {
|
|
|
968
968
|
};
|
|
969
969
|
var getPadContactLength = (pinCount) => {
|
|
970
970
|
switch (pinCount) {
|
|
971
|
-
case
|
|
971
|
+
case 32:
|
|
972
|
+
return 0.6;
|
|
973
|
+
case 40:
|
|
974
|
+
return 0.6;
|
|
972
975
|
case 52:
|
|
973
976
|
case 64:
|
|
974
|
-
return
|
|
977
|
+
return 0.65;
|
|
975
978
|
case 208:
|
|
976
979
|
return 1.65;
|
|
977
980
|
default:
|
|
978
|
-
return
|
|
981
|
+
return 0.6;
|
|
979
982
|
}
|
|
980
983
|
};
|
|
981
984
|
var getLeadWidth = (pinCount, width10) => {
|
|
@@ -2375,7 +2378,7 @@ var TQFP = () => {
|
|
|
2375
2378
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
2376
2379
|
const fullLength10 = bodyLength10 + 2 * padContactLength + 0.6;
|
|
2377
2380
|
const fullWidth = fullLength10;
|
|
2378
|
-
const leadHeight = 0.
|
|
2381
|
+
const leadHeight = 0.65;
|
|
2379
2382
|
const leadThickness = 0.25;
|
|
2380
2383
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2381
2384
|
return /* @__PURE__ */ jsxs35(Fragment33, { children: [
|
|
@@ -2449,11 +2452,11 @@ var TQFP = () => {
|
|
|
2449
2452
|
/* @__PURE__ */ jsx37(
|
|
2450
2453
|
ChipBody,
|
|
2451
2454
|
{
|
|
2452
|
-
center: { x: 0, y: 0, z:
|
|
2455
|
+
center: { x: 0, y: 0, z: 0 },
|
|
2453
2456
|
width: bodyWidth,
|
|
2454
2457
|
length: bodyLength10,
|
|
2455
2458
|
height: 1.2,
|
|
2456
|
-
chamferSize: 0.
|
|
2459
|
+
chamferSize: 0.7,
|
|
2457
2460
|
taperRatio: 0.05,
|
|
2458
2461
|
notchPosition: { x: 3.5, y: 3.5, z: 1.2 },
|
|
2459
2462
|
notchRadius: 1.2 / 2
|
|
@@ -2565,13 +2568,13 @@ var LQFP = ({
|
|
|
2565
2568
|
const fullWidth = fullLength10;
|
|
2566
2569
|
const leadHeight = 0.8;
|
|
2567
2570
|
const leadThickness = 0.2;
|
|
2568
|
-
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.
|
|
2571
|
+
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
2569
2572
|
return /* @__PURE__ */ jsxs37(Fragment35, { children: [
|
|
2570
2573
|
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx39(
|
|
2571
2574
|
SmdChipLead,
|
|
2572
2575
|
{
|
|
2573
2576
|
position: {
|
|
2574
|
-
x: -fullWidth /
|
|
2577
|
+
x: -fullWidth / 2 - 0.36,
|
|
2575
2578
|
y: i * pitch - pinOffsetToCenter,
|
|
2576
2579
|
z: leadThickness / 2
|
|
2577
2580
|
},
|
|
@@ -2588,7 +2591,7 @@ var LQFP = ({
|
|
|
2588
2591
|
{
|
|
2589
2592
|
rotation: Math.PI,
|
|
2590
2593
|
position: {
|
|
2591
|
-
x: fullWidth /
|
|
2594
|
+
x: fullWidth / 2 + 0.36,
|
|
2592
2595
|
y: i * pitch - pinOffsetToCenter,
|
|
2593
2596
|
z: leadThickness / 2
|
|
2594
2597
|
},
|
|
@@ -2606,7 +2609,7 @@ var LQFP = ({
|
|
|
2606
2609
|
rotation: Math.PI / 2,
|
|
2607
2610
|
position: {
|
|
2608
2611
|
x: i * pitch - pinOffsetToCenter,
|
|
2609
|
-
y: -fullLength10 /
|
|
2612
|
+
y: -fullLength10 / 2 - 0.36,
|
|
2610
2613
|
z: leadThickness / 2
|
|
2611
2614
|
},
|
|
2612
2615
|
width: leadWidth,
|
|
@@ -2623,7 +2626,7 @@ var LQFP = ({
|
|
|
2623
2626
|
rotation: -Math.PI / 2,
|
|
2624
2627
|
position: {
|
|
2625
2628
|
x: i * pitch - pinOffsetToCenter,
|
|
2626
|
-
y: fullLength10 /
|
|
2629
|
+
y: fullLength10 / 2 + 0.36,
|
|
2627
2630
|
z: leadThickness / 2
|
|
2628
2631
|
},
|
|
2629
2632
|
width: leadWidth,
|
|
@@ -2637,7 +2640,7 @@ var LQFP = ({
|
|
|
2637
2640
|
/* @__PURE__ */ jsx39(
|
|
2638
2641
|
ChipBody,
|
|
2639
2642
|
{
|
|
2640
|
-
center: { x: 0, y: 0, z:
|
|
2643
|
+
center: { x: 0, y: 0, z: 0 },
|
|
2641
2644
|
width: bodyWidth,
|
|
2642
2645
|
length: bodyLength10,
|
|
2643
2646
|
height: 1.5,
|
|
@@ -2656,40 +2659,67 @@ var LQFP = ({
|
|
|
2656
2659
|
};
|
|
2657
2660
|
|
|
2658
2661
|
// lib/SOT-723.tsx
|
|
2659
|
-
import { Cuboid as Cuboid27, Translate as Translate18,
|
|
2662
|
+
import { Cuboid as Cuboid27, Translate as Translate18, Colorize as Colorize19, Hull as Hull13, Union as Union14 } from "jscad-fiber";
|
|
2660
2663
|
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2661
|
-
var getCcwSot723Coords = (pn) => {
|
|
2662
|
-
if (pn === 1) {
|
|
2663
|
-
return { x: 0, y: 0 };
|
|
2664
|
-
} else if (pn === 2) {
|
|
2665
|
-
return { x: 1, y: -0.4 };
|
|
2666
|
-
} else {
|
|
2667
|
-
return { x: 1, y: 0.4 };
|
|
2668
|
-
}
|
|
2669
|
-
};
|
|
2670
2664
|
var SOT723 = () => {
|
|
2671
|
-
const bodyWidth = 0.
|
|
2665
|
+
const bodyWidth = 0.85;
|
|
2672
2666
|
const bodyLength10 = 1.2;
|
|
2673
|
-
const bodyHeight = 0.
|
|
2674
|
-
const
|
|
2675
|
-
const
|
|
2676
|
-
const
|
|
2677
|
-
const
|
|
2667
|
+
const bodyHeight = 0.38;
|
|
2668
|
+
const straightHeight = bodyHeight * 0.55;
|
|
2669
|
+
const taperOffset = 0.1;
|
|
2670
|
+
const padLength = 0.3;
|
|
2671
|
+
const padThickness = 0.1;
|
|
2672
|
+
const leftPadWidth = 0.2;
|
|
2673
|
+
const rightPadWidth = 0.25;
|
|
2674
|
+
const rightPadCenterX = 0.55;
|
|
2675
|
+
const rightPadCenterY = 0;
|
|
2676
|
+
const leftTopPadCenterX = -0.55;
|
|
2677
|
+
const leftTopPadCenterY = 0.4;
|
|
2678
|
+
const leftBottomPadCenterX = -0.55;
|
|
2679
|
+
const leftBottomPadCenterY = -0.4;
|
|
2678
2680
|
return /* @__PURE__ */ jsxs38(Fragment36, { children: [
|
|
2679
|
-
/* @__PURE__ */ jsx40(
|
|
2680
|
-
|
|
2681
|
-
const { x, y } = getCcwSot723Coords(pn);
|
|
2682
|
-
return /* @__PURE__ */ jsx40(Translate18, { center: [x, y, 0.05], children: /* @__PURE__ */ jsx40(
|
|
2681
|
+
/* @__PURE__ */ jsx40(Colorize19, { color: "#222", children: /* @__PURE__ */ jsxs38(Union14, { children: [
|
|
2682
|
+
/* @__PURE__ */ jsx40(
|
|
2683
2683
|
Cuboid27,
|
|
2684
2684
|
{
|
|
2685
|
-
size: [
|
|
2686
|
-
|
|
2687
|
-
pn === 1 ? centerLeadWidth : leadWidth,
|
|
2688
|
-
leadHeight
|
|
2689
|
-
]
|
|
2685
|
+
size: [bodyWidth, bodyLength10, straightHeight],
|
|
2686
|
+
center: [0, 0, straightHeight / 2]
|
|
2690
2687
|
}
|
|
2691
|
-
)
|
|
2692
|
-
|
|
2688
|
+
),
|
|
2689
|
+
/* @__PURE__ */ jsxs38(Hull13, { children: [
|
|
2690
|
+
/* @__PURE__ */ jsx40(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx40(Cuboid27, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2691
|
+
/* @__PURE__ */ jsx40(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx40(
|
|
2692
|
+
Cuboid27,
|
|
2693
|
+
{
|
|
2694
|
+
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2695
|
+
}
|
|
2696
|
+
) })
|
|
2697
|
+
] })
|
|
2698
|
+
] }) }),
|
|
2699
|
+
/* @__PURE__ */ jsx40(
|
|
2700
|
+
Cuboid27,
|
|
2701
|
+
{
|
|
2702
|
+
color: "#ccc",
|
|
2703
|
+
size: [padLength, rightPadWidth, padThickness],
|
|
2704
|
+
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
2705
|
+
}
|
|
2706
|
+
),
|
|
2707
|
+
/* @__PURE__ */ jsx40(
|
|
2708
|
+
Cuboid27,
|
|
2709
|
+
{
|
|
2710
|
+
color: "#ccc",
|
|
2711
|
+
size: [padLength, leftPadWidth, padThickness],
|
|
2712
|
+
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
2713
|
+
}
|
|
2714
|
+
),
|
|
2715
|
+
/* @__PURE__ */ jsx40(
|
|
2716
|
+
Cuboid27,
|
|
2717
|
+
{
|
|
2718
|
+
color: "#ccc",
|
|
2719
|
+
size: [padLength, leftPadWidth, padThickness],
|
|
2720
|
+
center: [leftBottomPadCenterX, leftBottomPadCenterY, padThickness / 2]
|
|
2721
|
+
}
|
|
2722
|
+
)
|
|
2693
2723
|
] });
|
|
2694
2724
|
};
|
|
2695
2725
|
|
|
@@ -2764,7 +2794,7 @@ var DFN = ({
|
|
|
2764
2794
|
};
|
|
2765
2795
|
|
|
2766
2796
|
// lib/hc49.tsx
|
|
2767
|
-
import { Colorize as Colorize20, Cylinder as Cylinder6, Hull as
|
|
2797
|
+
import { Colorize as Colorize20, Cylinder as Cylinder6, Hull as Hull14, RoundedCylinder } from "jscad-fiber";
|
|
2768
2798
|
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2769
2799
|
var HC49 = ({
|
|
2770
2800
|
bodyLength: bodyLength10 = 10.2,
|
|
@@ -2783,7 +2813,7 @@ var HC49 = ({
|
|
|
2783
2813
|
const baseHeight = 0.85;
|
|
2784
2814
|
return /* @__PURE__ */ jsxs40(Fragment38, { children: [
|
|
2785
2815
|
/* @__PURE__ */ jsxs40(Colorize20, { color, children: [
|
|
2786
|
-
/* @__PURE__ */ jsxs40(
|
|
2816
|
+
/* @__PURE__ */ jsxs40(Hull14, { children: [
|
|
2787
2817
|
/* @__PURE__ */ jsx42(
|
|
2788
2818
|
RoundedCylinder,
|
|
2789
2819
|
{
|
|
@@ -2803,7 +2833,7 @@ var HC49 = ({
|
|
|
2803
2833
|
}
|
|
2804
2834
|
)
|
|
2805
2835
|
] }),
|
|
2806
|
-
/* @__PURE__ */ jsxs40(
|
|
2836
|
+
/* @__PURE__ */ jsxs40(Hull14, { children: [
|
|
2807
2837
|
/* @__PURE__ */ jsx42(
|
|
2808
2838
|
RoundedCylinder,
|
|
2809
2839
|
{
|
|
@@ -2850,7 +2880,7 @@ import {
|
|
|
2850
2880
|
Colorize as Colorize21,
|
|
2851
2881
|
Cylinder as Cylinder7,
|
|
2852
2882
|
RoundedCylinder as RoundedCylinder2,
|
|
2853
|
-
Rotate as
|
|
2883
|
+
Rotate as Rotate6,
|
|
2854
2884
|
RoundedCuboid as RoundedCuboid2
|
|
2855
2885
|
} from "jscad-fiber";
|
|
2856
2886
|
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
@@ -2863,7 +2893,7 @@ var MicroMELF = ({
|
|
|
2863
2893
|
}) => {
|
|
2864
2894
|
const padLength = 0.2;
|
|
2865
2895
|
return /* @__PURE__ */ jsxs41(Fragment39, { children: [
|
|
2866
|
-
/* @__PURE__ */ jsx43(Colorize21, { color, children: /* @__PURE__ */ jsxs41(
|
|
2896
|
+
/* @__PURE__ */ jsx43(Colorize21, { color, children: /* @__PURE__ */ jsxs41(Rotate6, { rotation: [0, "90deg", 0], children: [
|
|
2867
2897
|
/* @__PURE__ */ jsx43(
|
|
2868
2898
|
RoundedCuboid2,
|
|
2869
2899
|
{
|
|
@@ -2881,7 +2911,7 @@ var MicroMELF = ({
|
|
|
2881
2911
|
}
|
|
2882
2912
|
)
|
|
2883
2913
|
] }) }),
|
|
2884
|
-
/* @__PURE__ */ jsx43(Colorize21, { color: cathodeIdentification, children: /* @__PURE__ */ jsx43(
|
|
2914
|
+
/* @__PURE__ */ jsx43(Colorize21, { color: cathodeIdentification, children: /* @__PURE__ */ jsx43(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx43(
|
|
2885
2915
|
RoundedCuboid2,
|
|
2886
2916
|
{
|
|
2887
2917
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -2889,7 +2919,7 @@ var MicroMELF = ({
|
|
|
2889
2919
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
2890
2920
|
}
|
|
2891
2921
|
) }) }),
|
|
2892
|
-
/* @__PURE__ */ jsx43(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx43(
|
|
2922
|
+
/* @__PURE__ */ jsx43(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx43(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx43(
|
|
2893
2923
|
RoundedCylinder2,
|
|
2894
2924
|
{
|
|
2895
2925
|
height: padLength,
|
|
@@ -2898,7 +2928,7 @@ var MicroMELF = ({
|
|
|
2898
2928
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2899
2929
|
}
|
|
2900
2930
|
) }) }),
|
|
2901
|
-
/* @__PURE__ */ jsx43(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx43(
|
|
2931
|
+
/* @__PURE__ */ jsx43(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx43(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx43(
|
|
2902
2932
|
RoundedCylinder2,
|
|
2903
2933
|
{
|
|
2904
2934
|
height: padLength,
|
|
@@ -2911,7 +2941,7 @@ var MicroMELF = ({
|
|
|
2911
2941
|
};
|
|
2912
2942
|
|
|
2913
2943
|
// lib/MINIMELF.tsx
|
|
2914
|
-
import { Colorize as Colorize22, RoundedCylinder as RoundedCylinder3, Rotate as
|
|
2944
|
+
import { Colorize as Colorize22, RoundedCylinder as RoundedCylinder3, Rotate as Rotate7 } from "jscad-fiber";
|
|
2915
2945
|
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
2916
2946
|
var MINIMELF = ({
|
|
2917
2947
|
bodyLength: bodyLength10 = 3.5,
|
|
@@ -2921,7 +2951,7 @@ var MINIMELF = ({
|
|
|
2921
2951
|
}) => {
|
|
2922
2952
|
const padLength = 0.5;
|
|
2923
2953
|
return /* @__PURE__ */ jsxs42(Fragment40, { children: [
|
|
2924
|
-
/* @__PURE__ */ jsx44(Colorize22, { color, children: /* @__PURE__ */ jsx44(
|
|
2954
|
+
/* @__PURE__ */ jsx44(Colorize22, { color, children: /* @__PURE__ */ jsx44(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2925
2955
|
RoundedCylinder3,
|
|
2926
2956
|
{
|
|
2927
2957
|
height: bodyLength10,
|
|
@@ -2930,7 +2960,7 @@ var MINIMELF = ({
|
|
|
2930
2960
|
center: [-bodyDiameter / 2, 0, 0]
|
|
2931
2961
|
}
|
|
2932
2962
|
) }) }),
|
|
2933
|
-
/* @__PURE__ */ jsx44(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx44(
|
|
2963
|
+
/* @__PURE__ */ jsx44(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx44(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2934
2964
|
RoundedCylinder3,
|
|
2935
2965
|
{
|
|
2936
2966
|
height: padLength,
|
|
@@ -2939,7 +2969,7 @@ var MINIMELF = ({
|
|
|
2939
2969
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2940
2970
|
}
|
|
2941
2971
|
) }) }),
|
|
2942
|
-
/* @__PURE__ */ jsx44(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx44(
|
|
2972
|
+
/* @__PURE__ */ jsx44(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx44(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2943
2973
|
RoundedCylinder3,
|
|
2944
2974
|
{
|
|
2945
2975
|
height: padLength,
|
|
@@ -2952,7 +2982,7 @@ var MINIMELF = ({
|
|
|
2952
2982
|
};
|
|
2953
2983
|
|
|
2954
2984
|
// lib/MELF.tsx
|
|
2955
|
-
import { Colorize as Colorize23, RoundedCylinder as RoundedCylinder4, Rotate as
|
|
2985
|
+
import { Colorize as Colorize23, RoundedCylinder as RoundedCylinder4, Rotate as Rotate8 } from "jscad-fiber";
|
|
2956
2986
|
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
2957
2987
|
var MELF = ({
|
|
2958
2988
|
bodyLength: bodyLength10 = 3.9,
|
|
@@ -2962,7 +2992,7 @@ var MELF = ({
|
|
|
2962
2992
|
}) => {
|
|
2963
2993
|
const padLength = 0.55;
|
|
2964
2994
|
return /* @__PURE__ */ jsxs43(Fragment41, { children: [
|
|
2965
|
-
/* @__PURE__ */ jsx45(Colorize23, { color, children: /* @__PURE__ */ jsx45(
|
|
2995
|
+
/* @__PURE__ */ jsx45(Colorize23, { color, children: /* @__PURE__ */ jsx45(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx45(
|
|
2966
2996
|
RoundedCylinder4,
|
|
2967
2997
|
{
|
|
2968
2998
|
height: bodyLength10,
|
|
@@ -2971,7 +3001,7 @@ var MELF = ({
|
|
|
2971
3001
|
center: [-bodyDiameter / 2, 0, 0]
|
|
2972
3002
|
}
|
|
2973
3003
|
) }) }),
|
|
2974
|
-
/* @__PURE__ */ jsx45(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx45(
|
|
3004
|
+
/* @__PURE__ */ jsx45(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx45(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx45(
|
|
2975
3005
|
RoundedCylinder4,
|
|
2976
3006
|
{
|
|
2977
3007
|
height: padLength,
|
|
@@ -2980,7 +3010,7 @@ var MELF = ({
|
|
|
2980
3010
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2981
3011
|
}
|
|
2982
3012
|
) }) }),
|
|
2983
|
-
/* @__PURE__ */ jsx45(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx45(
|
|
3013
|
+
/* @__PURE__ */ jsx45(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx45(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx45(
|
|
2984
3014
|
RoundedCylinder4,
|
|
2985
3015
|
{
|
|
2986
3016
|
height: padLength,
|
|
@@ -3342,7 +3372,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3342
3372
|
};
|
|
3343
3373
|
|
|
3344
3374
|
// lib/SOT-563.tsx
|
|
3345
|
-
import { Cuboid as Cuboid31, Translate as Translate19, Rotate as
|
|
3375
|
+
import { Cuboid as Cuboid31, Translate as Translate19, Rotate as Rotate9, Colorize as Colorize24 } from "jscad-fiber";
|
|
3346
3376
|
import { Fragment as Fragment44, jsx as jsx49, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3347
3377
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
3348
3378
|
const bodyWidth = 1.2;
|
|
@@ -3354,7 +3384,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3354
3384
|
const leadSpacing = 0.5;
|
|
3355
3385
|
const bodyZOffset = -0.4;
|
|
3356
3386
|
return /* @__PURE__ */ jsxs46(Fragment44, { children: [
|
|
3357
|
-
/* @__PURE__ */ jsx49(
|
|
3387
|
+
/* @__PURE__ */ jsx49(Rotate9, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx49(Translate19, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx49(Colorize24, { color: "grey", children: /* @__PURE__ */ jsx49(Cuboid31, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
3358
3388
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
3359
3389
|
// Left lead
|
|
3360
3390
|
/* @__PURE__ */ jsx49(
|