jscad-electronics 0.0.145 → 0.0.146
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 +14 -5
- package/dist/index.js +575 -554
- 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/index.js
CHANGED
|
@@ -2729,9 +2729,86 @@ var SOD123W = () => {
|
|
|
2729
2729
|
] });
|
|
2730
2730
|
};
|
|
2731
2731
|
|
|
2732
|
-
// lib/sod-
|
|
2733
|
-
import {
|
|
2732
|
+
// lib/sod-123.tsx
|
|
2733
|
+
import { Cuboid as Cuboid27 } from "jscad-fiber";
|
|
2734
2734
|
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2735
|
+
var SOD123 = ({
|
|
2736
|
+
fullWidth = 3.7,
|
|
2737
|
+
fullLength: fullLength10 = 1.55
|
|
2738
|
+
} = {}) => {
|
|
2739
|
+
const bodyWidth = fullWidth - 1;
|
|
2740
|
+
const bodyLength10 = fullLength10;
|
|
2741
|
+
const packageHeight = 1.175;
|
|
2742
|
+
const bodyStandoff = 0.1;
|
|
2743
|
+
const bodyHeight = packageHeight - bodyStandoff;
|
|
2744
|
+
const leadWidth = 0.55;
|
|
2745
|
+
const leadThickness = 0.12;
|
|
2746
|
+
const leadHeight = 0.35;
|
|
2747
|
+
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
2748
|
+
const padContactLength = 0.25;
|
|
2749
|
+
const leadCurveLength = 0.2;
|
|
2750
|
+
return /* @__PURE__ */ jsxs36(Fragment36, { children: [
|
|
2751
|
+
/* @__PURE__ */ jsx40(
|
|
2752
|
+
SmdChipLead,
|
|
2753
|
+
{
|
|
2754
|
+
position: {
|
|
2755
|
+
x: -fullWidth / 2,
|
|
2756
|
+
y: 0,
|
|
2757
|
+
z: leadThickness / 2
|
|
2758
|
+
},
|
|
2759
|
+
width: leadWidth,
|
|
2760
|
+
thickness: leadThickness,
|
|
2761
|
+
padContactLength,
|
|
2762
|
+
bodyDistance,
|
|
2763
|
+
curveLength: leadCurveLength,
|
|
2764
|
+
height: leadHeight
|
|
2765
|
+
}
|
|
2766
|
+
),
|
|
2767
|
+
/* @__PURE__ */ jsx40(
|
|
2768
|
+
SmdChipLead,
|
|
2769
|
+
{
|
|
2770
|
+
rotation: Math.PI,
|
|
2771
|
+
position: {
|
|
2772
|
+
x: fullWidth / 2,
|
|
2773
|
+
y: 0,
|
|
2774
|
+
z: leadThickness / 2
|
|
2775
|
+
},
|
|
2776
|
+
width: leadWidth,
|
|
2777
|
+
thickness: leadThickness,
|
|
2778
|
+
padContactLength,
|
|
2779
|
+
bodyDistance,
|
|
2780
|
+
curveLength: leadCurveLength,
|
|
2781
|
+
height: leadHeight
|
|
2782
|
+
}
|
|
2783
|
+
),
|
|
2784
|
+
/* @__PURE__ */ jsx40(
|
|
2785
|
+
ChipBody,
|
|
2786
|
+
{
|
|
2787
|
+
center: { x: 0, y: 0, z: 0 },
|
|
2788
|
+
width: bodyWidth,
|
|
2789
|
+
length: bodyLength10,
|
|
2790
|
+
height: bodyHeight,
|
|
2791
|
+
heightAboveSurface: bodyStandoff,
|
|
2792
|
+
includeNotch: false,
|
|
2793
|
+
color: "#222",
|
|
2794
|
+
taperRatio: 0.06,
|
|
2795
|
+
straightHeightRatio: 0.6
|
|
2796
|
+
}
|
|
2797
|
+
),
|
|
2798
|
+
/* @__PURE__ */ jsx40(
|
|
2799
|
+
Cuboid27,
|
|
2800
|
+
{
|
|
2801
|
+
color: "#777",
|
|
2802
|
+
size: [0.45, bodyLength10 - 0.15, 0.02],
|
|
2803
|
+
center: [-bodyWidth / 4, 0, packageHeight]
|
|
2804
|
+
}
|
|
2805
|
+
)
|
|
2806
|
+
] });
|
|
2807
|
+
};
|
|
2808
|
+
|
|
2809
|
+
// lib/sod-128.tsx
|
|
2810
|
+
import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull15, Translate as Translate19, Union as Union13 } from "jscad-fiber";
|
|
2811
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2735
2812
|
var SOD128 = () => {
|
|
2736
2813
|
const fullWidth = 3.8;
|
|
2737
2814
|
const bodyLength10 = 2.5;
|
|
@@ -2744,27 +2821,27 @@ var SOD128 = () => {
|
|
|
2744
2821
|
const taperOffset = 0.4;
|
|
2745
2822
|
const lowerTaperOffset = 0.05;
|
|
2746
2823
|
const straightHeight = bodyHeight * 0.2;
|
|
2747
|
-
return /* @__PURE__ */
|
|
2748
|
-
/* @__PURE__ */
|
|
2749
|
-
|
|
2824
|
+
return /* @__PURE__ */ jsxs37(Fragment37, { children: [
|
|
2825
|
+
/* @__PURE__ */ jsx41(
|
|
2826
|
+
Cuboid28,
|
|
2750
2827
|
{
|
|
2751
2828
|
color: "#ccc",
|
|
2752
2829
|
size: [padLength, padWidth, padThickness],
|
|
2753
2830
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2754
2831
|
}
|
|
2755
2832
|
),
|
|
2756
|
-
/* @__PURE__ */
|
|
2757
|
-
|
|
2833
|
+
/* @__PURE__ */ jsx41(
|
|
2834
|
+
Cuboid28,
|
|
2758
2835
|
{
|
|
2759
2836
|
color: "#ccc",
|
|
2760
2837
|
size: [padLength, padWidth, padThickness],
|
|
2761
2838
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2762
2839
|
}
|
|
2763
2840
|
),
|
|
2764
|
-
/* @__PURE__ */
|
|
2765
|
-
/* @__PURE__ */
|
|
2766
|
-
/* @__PURE__ */
|
|
2767
|
-
|
|
2841
|
+
/* @__PURE__ */ jsx41(Colorize20, { color: "#222", children: /* @__PURE__ */ jsxs37(Union13, { children: [
|
|
2842
|
+
/* @__PURE__ */ jsxs37(Hull15, { children: [
|
|
2843
|
+
/* @__PURE__ */ jsx41(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx41(
|
|
2844
|
+
Cuboid28,
|
|
2768
2845
|
{
|
|
2769
2846
|
size: [
|
|
2770
2847
|
fullWidth - lowerTaperOffset / 2,
|
|
@@ -2773,8 +2850,8 @@ var SOD128 = () => {
|
|
|
2773
2850
|
]
|
|
2774
2851
|
}
|
|
2775
2852
|
) }),
|
|
2776
|
-
/* @__PURE__ */
|
|
2777
|
-
|
|
2853
|
+
/* @__PURE__ */ jsx41(Translate19, { z: 0.01, children: /* @__PURE__ */ jsx41(
|
|
2854
|
+
Cuboid28,
|
|
2778
2855
|
{
|
|
2779
2856
|
size: [
|
|
2780
2857
|
fullWidth - lowerTaperOffset,
|
|
@@ -2784,18 +2861,18 @@ var SOD128 = () => {
|
|
|
2784
2861
|
}
|
|
2785
2862
|
) })
|
|
2786
2863
|
] }),
|
|
2787
|
-
/* @__PURE__ */
|
|
2788
|
-
/* @__PURE__ */
|
|
2789
|
-
/* @__PURE__ */
|
|
2790
|
-
|
|
2864
|
+
/* @__PURE__ */ jsxs37(Hull15, { children: [
|
|
2865
|
+
/* @__PURE__ */ jsx41(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx41(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2866
|
+
/* @__PURE__ */ jsx41(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx41(
|
|
2867
|
+
Cuboid28,
|
|
2791
2868
|
{
|
|
2792
2869
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2793
2870
|
}
|
|
2794
2871
|
) })
|
|
2795
2872
|
] })
|
|
2796
2873
|
] }) }),
|
|
2797
|
-
/* @__PURE__ */
|
|
2798
|
-
|
|
2874
|
+
/* @__PURE__ */ jsx41(
|
|
2875
|
+
Cuboid28,
|
|
2799
2876
|
{
|
|
2800
2877
|
color: "#777",
|
|
2801
2878
|
size: [padThickness * 2.7, bodyLength10 - taperOffset, 0.02],
|
|
@@ -2806,8 +2883,8 @@ var SOD128 = () => {
|
|
|
2806
2883
|
};
|
|
2807
2884
|
|
|
2808
2885
|
// lib/SOD-923.tsx
|
|
2809
|
-
import { Colorize as Colorize21, Cuboid as
|
|
2810
|
-
import { Fragment as
|
|
2886
|
+
import { Colorize as Colorize21, Cuboid as Cuboid29, Hull as Hull16, Translate as Translate20, Union as Union14 } from "jscad-fiber";
|
|
2887
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2811
2888
|
var SOD923 = () => {
|
|
2812
2889
|
const fullWidth = 0.8;
|
|
2813
2890
|
const bodyLength10 = 0.6;
|
|
@@ -2819,29 +2896,29 @@ var SOD923 = () => {
|
|
|
2819
2896
|
const rightPadCenterX = fullWidth / 2;
|
|
2820
2897
|
const taperOffset = 0.1;
|
|
2821
2898
|
const straightHeight = padThickness;
|
|
2822
|
-
return /* @__PURE__ */
|
|
2823
|
-
/* @__PURE__ */
|
|
2824
|
-
|
|
2899
|
+
return /* @__PURE__ */ jsxs38(Fragment38, { children: [
|
|
2900
|
+
/* @__PURE__ */ jsx42(
|
|
2901
|
+
Cuboid29,
|
|
2825
2902
|
{
|
|
2826
2903
|
color: "#ccc",
|
|
2827
2904
|
size: [padLength, padWidth, padThickness],
|
|
2828
2905
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2829
2906
|
}
|
|
2830
2907
|
),
|
|
2831
|
-
/* @__PURE__ */
|
|
2832
|
-
|
|
2908
|
+
/* @__PURE__ */ jsx42(
|
|
2909
|
+
Cuboid29,
|
|
2833
2910
|
{
|
|
2834
2911
|
color: "#ccc",
|
|
2835
2912
|
size: [padLength, padWidth, padThickness],
|
|
2836
2913
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2837
2914
|
}
|
|
2838
2915
|
),
|
|
2839
|
-
/* @__PURE__ */
|
|
2840
|
-
/* @__PURE__ */
|
|
2841
|
-
/* @__PURE__ */
|
|
2842
|
-
/* @__PURE__ */
|
|
2843
|
-
/* @__PURE__ */
|
|
2844
|
-
|
|
2916
|
+
/* @__PURE__ */ jsx42(Colorize21, { color: "#222", children: /* @__PURE__ */ jsxs38(Union14, { children: [
|
|
2917
|
+
/* @__PURE__ */ jsx42(Translate20, { z: straightHeight / 2, children: /* @__PURE__ */ jsx42(Cuboid29, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2918
|
+
/* @__PURE__ */ jsxs38(Hull16, { children: [
|
|
2919
|
+
/* @__PURE__ */ jsx42(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx42(Cuboid29, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2920
|
+
/* @__PURE__ */ jsx42(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx42(
|
|
2921
|
+
Cuboid29,
|
|
2845
2922
|
{
|
|
2846
2923
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2847
2924
|
}
|
|
@@ -2852,7 +2929,7 @@ var SOD923 = () => {
|
|
|
2852
2929
|
};
|
|
2853
2930
|
|
|
2854
2931
|
// lib/SOT-223.tsx
|
|
2855
|
-
import { Fragment as
|
|
2932
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2856
2933
|
var SOT223 = () => {
|
|
2857
2934
|
const fullWidth = 6.6;
|
|
2858
2935
|
const bodyWidth = 3.5;
|
|
@@ -2865,8 +2942,8 @@ var SOT223 = () => {
|
|
|
2865
2942
|
const padContactLength = 0.5;
|
|
2866
2943
|
const padPitch = 2.3;
|
|
2867
2944
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2868
|
-
return /* @__PURE__ */
|
|
2869
|
-
/* @__PURE__ */
|
|
2945
|
+
return /* @__PURE__ */ jsxs39(Fragment39, { children: [
|
|
2946
|
+
/* @__PURE__ */ jsx43(
|
|
2870
2947
|
SmdChipLead,
|
|
2871
2948
|
{
|
|
2872
2949
|
rotation: Math.PI,
|
|
@@ -2883,7 +2960,7 @@ var SOT223 = () => {
|
|
|
2883
2960
|
},
|
|
2884
2961
|
4
|
|
2885
2962
|
),
|
|
2886
|
-
/* @__PURE__ */
|
|
2963
|
+
/* @__PURE__ */ jsx43(
|
|
2887
2964
|
SmdChipLead,
|
|
2888
2965
|
{
|
|
2889
2966
|
position: {
|
|
@@ -2899,7 +2976,7 @@ var SOT223 = () => {
|
|
|
2899
2976
|
},
|
|
2900
2977
|
3
|
|
2901
2978
|
),
|
|
2902
|
-
/* @__PURE__ */
|
|
2979
|
+
/* @__PURE__ */ jsx43(
|
|
2903
2980
|
SmdChipLead,
|
|
2904
2981
|
{
|
|
2905
2982
|
position: {
|
|
@@ -2915,7 +2992,7 @@ var SOT223 = () => {
|
|
|
2915
2992
|
},
|
|
2916
2993
|
1
|
|
2917
2994
|
),
|
|
2918
|
-
/* @__PURE__ */
|
|
2995
|
+
/* @__PURE__ */ jsx43(
|
|
2919
2996
|
SmdChipLead,
|
|
2920
2997
|
{
|
|
2921
2998
|
position: {
|
|
@@ -2931,7 +3008,7 @@ var SOT223 = () => {
|
|
|
2931
3008
|
},
|
|
2932
3009
|
2
|
|
2933
3010
|
),
|
|
2934
|
-
/* @__PURE__ */
|
|
3011
|
+
/* @__PURE__ */ jsx43(
|
|
2935
3012
|
ChipBody,
|
|
2936
3013
|
{
|
|
2937
3014
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2947,7 +3024,7 @@ var SOT223 = () => {
|
|
|
2947
3024
|
};
|
|
2948
3025
|
|
|
2949
3026
|
// lib/tqfp.tsx
|
|
2950
|
-
import { Fragment as
|
|
3027
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2951
3028
|
var TQFP = () => {
|
|
2952
3029
|
const pinCount = 64;
|
|
2953
3030
|
const pitch = 0.5;
|
|
@@ -2962,8 +3039,8 @@ var TQFP = () => {
|
|
|
2962
3039
|
const leadHeight = 0.65;
|
|
2963
3040
|
const leadThickness = 0.25;
|
|
2964
3041
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2965
|
-
return /* @__PURE__ */
|
|
2966
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3042
|
+
return /* @__PURE__ */ jsxs40(Fragment40, { children: [
|
|
3043
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2967
3044
|
SmdChipLead,
|
|
2968
3045
|
{
|
|
2969
3046
|
position: {
|
|
@@ -2979,7 +3056,7 @@ var TQFP = () => {
|
|
|
2979
3056
|
},
|
|
2980
3057
|
`left-${i}`
|
|
2981
3058
|
)),
|
|
2982
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3059
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2983
3060
|
SmdChipLead,
|
|
2984
3061
|
{
|
|
2985
3062
|
rotation: Math.PI,
|
|
@@ -2996,7 +3073,7 @@ var TQFP = () => {
|
|
|
2996
3073
|
},
|
|
2997
3074
|
`right-${i}`
|
|
2998
3075
|
)),
|
|
2999
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3076
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
3000
3077
|
SmdChipLead,
|
|
3001
3078
|
{
|
|
3002
3079
|
rotation: Math.PI / 2,
|
|
@@ -3013,7 +3090,7 @@ var TQFP = () => {
|
|
|
3013
3090
|
},
|
|
3014
3091
|
`bottom-${i}`
|
|
3015
3092
|
)),
|
|
3016
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3093
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
3017
3094
|
SmdChipLead,
|
|
3018
3095
|
{
|
|
3019
3096
|
rotation: -Math.PI / 2,
|
|
@@ -3030,7 +3107,7 @@ var TQFP = () => {
|
|
|
3030
3107
|
},
|
|
3031
3108
|
`top-${i}`
|
|
3032
3109
|
)),
|
|
3033
|
-
/* @__PURE__ */
|
|
3110
|
+
/* @__PURE__ */ jsx44(
|
|
3034
3111
|
ChipBody,
|
|
3035
3112
|
{
|
|
3036
3113
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3048,7 +3125,7 @@ var TQFP = () => {
|
|
|
3048
3125
|
var tqfp_default = TQFP;
|
|
3049
3126
|
|
|
3050
3127
|
// lib/SOT-323.tsx
|
|
3051
|
-
import { Fragment as
|
|
3128
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
3052
3129
|
var SOT323 = () => {
|
|
3053
3130
|
const fullWidth = 2.05;
|
|
3054
3131
|
const bodyWidth = 1.25;
|
|
@@ -3060,8 +3137,8 @@ var SOT323 = () => {
|
|
|
3060
3137
|
const padContactLength = 0.2;
|
|
3061
3138
|
const padPitch = 0.65;
|
|
3062
3139
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3063
|
-
return /* @__PURE__ */
|
|
3064
|
-
/* @__PURE__ */
|
|
3140
|
+
return /* @__PURE__ */ jsxs41(Fragment41, { children: [
|
|
3141
|
+
/* @__PURE__ */ jsx45(
|
|
3065
3142
|
SmdChipLead,
|
|
3066
3143
|
{
|
|
3067
3144
|
rotation: Math.PI,
|
|
@@ -3078,7 +3155,7 @@ var SOT323 = () => {
|
|
|
3078
3155
|
},
|
|
3079
3156
|
4
|
|
3080
3157
|
),
|
|
3081
|
-
/* @__PURE__ */
|
|
3158
|
+
/* @__PURE__ */ jsx45(
|
|
3082
3159
|
SmdChipLead,
|
|
3083
3160
|
{
|
|
3084
3161
|
position: {
|
|
@@ -3094,7 +3171,7 @@ var SOT323 = () => {
|
|
|
3094
3171
|
},
|
|
3095
3172
|
1
|
|
3096
3173
|
),
|
|
3097
|
-
/* @__PURE__ */
|
|
3174
|
+
/* @__PURE__ */ jsx45(
|
|
3098
3175
|
SmdChipLead,
|
|
3099
3176
|
{
|
|
3100
3177
|
position: {
|
|
@@ -3110,7 +3187,7 @@ var SOT323 = () => {
|
|
|
3110
3187
|
},
|
|
3111
3188
|
2
|
|
3112
3189
|
),
|
|
3113
|
-
/* @__PURE__ */
|
|
3190
|
+
/* @__PURE__ */ jsx45(
|
|
3114
3191
|
ChipBody,
|
|
3115
3192
|
{
|
|
3116
3193
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3127,7 +3204,7 @@ var SOT323 = () => {
|
|
|
3127
3204
|
};
|
|
3128
3205
|
|
|
3129
3206
|
// lib/lqfp.tsx
|
|
3130
|
-
import { Fragment as
|
|
3207
|
+
import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3131
3208
|
var LQFP = ({
|
|
3132
3209
|
pinCount,
|
|
3133
3210
|
pitch,
|
|
@@ -3150,8 +3227,8 @@ var LQFP = ({
|
|
|
3150
3227
|
const leadHeight = 0.8;
|
|
3151
3228
|
const leadThickness = 0.2;
|
|
3152
3229
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
3153
|
-
return /* @__PURE__ */
|
|
3154
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3230
|
+
return /* @__PURE__ */ jsxs42(Fragment42, { children: [
|
|
3231
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx46(
|
|
3155
3232
|
SmdChipLead,
|
|
3156
3233
|
{
|
|
3157
3234
|
position: {
|
|
@@ -3167,7 +3244,7 @@ var LQFP = ({
|
|
|
3167
3244
|
},
|
|
3168
3245
|
`left-${i}`
|
|
3169
3246
|
)),
|
|
3170
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3247
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx46(
|
|
3171
3248
|
SmdChipLead,
|
|
3172
3249
|
{
|
|
3173
3250
|
rotation: Math.PI,
|
|
@@ -3184,7 +3261,7 @@ var LQFP = ({
|
|
|
3184
3261
|
},
|
|
3185
3262
|
`right-${i}`
|
|
3186
3263
|
)),
|
|
3187
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3264
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx46(
|
|
3188
3265
|
SmdChipLead,
|
|
3189
3266
|
{
|
|
3190
3267
|
rotation: Math.PI / 2,
|
|
@@ -3201,7 +3278,7 @@ var LQFP = ({
|
|
|
3201
3278
|
},
|
|
3202
3279
|
`bottom-${i}`
|
|
3203
3280
|
)),
|
|
3204
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3281
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx46(
|
|
3205
3282
|
SmdChipLead,
|
|
3206
3283
|
{
|
|
3207
3284
|
rotation: -Math.PI / 2,
|
|
@@ -3218,7 +3295,7 @@ var LQFP = ({
|
|
|
3218
3295
|
},
|
|
3219
3296
|
`top-${i}`
|
|
3220
3297
|
)),
|
|
3221
|
-
/* @__PURE__ */
|
|
3298
|
+
/* @__PURE__ */ jsx46(
|
|
3222
3299
|
ChipBody,
|
|
3223
3300
|
{
|
|
3224
3301
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3240,8 +3317,8 @@ var LQFP = ({
|
|
|
3240
3317
|
};
|
|
3241
3318
|
|
|
3242
3319
|
// lib/SOT-723.tsx
|
|
3243
|
-
import { Cuboid as
|
|
3244
|
-
import { Fragment as
|
|
3320
|
+
import { Cuboid as Cuboid30, Translate as Translate21, Colorize as Colorize22, Hull as Hull17, Union as Union15 } from "jscad-fiber";
|
|
3321
|
+
import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3245
3322
|
var SOT723 = () => {
|
|
3246
3323
|
const bodyWidth = 0.85;
|
|
3247
3324
|
const bodyLength10 = 1.2;
|
|
@@ -3258,43 +3335,43 @@ var SOT723 = () => {
|
|
|
3258
3335
|
const leftTopPadCenterY = 0.4;
|
|
3259
3336
|
const leftBottomPadCenterX = -0.55;
|
|
3260
3337
|
const leftBottomPadCenterY = -0.4;
|
|
3261
|
-
return /* @__PURE__ */
|
|
3262
|
-
/* @__PURE__ */
|
|
3263
|
-
/* @__PURE__ */
|
|
3264
|
-
|
|
3338
|
+
return /* @__PURE__ */ jsxs43(Fragment43, { children: [
|
|
3339
|
+
/* @__PURE__ */ jsx47(Colorize22, { color: "#222", children: /* @__PURE__ */ jsxs43(Union15, { children: [
|
|
3340
|
+
/* @__PURE__ */ jsx47(
|
|
3341
|
+
Cuboid30,
|
|
3265
3342
|
{
|
|
3266
3343
|
size: [bodyWidth, bodyLength10, straightHeight],
|
|
3267
3344
|
center: [0, 0, straightHeight / 2]
|
|
3268
3345
|
}
|
|
3269
3346
|
),
|
|
3270
|
-
/* @__PURE__ */
|
|
3271
|
-
/* @__PURE__ */
|
|
3272
|
-
/* @__PURE__ */
|
|
3273
|
-
|
|
3347
|
+
/* @__PURE__ */ jsxs43(Hull17, { children: [
|
|
3348
|
+
/* @__PURE__ */ jsx47(Translate21, { z: straightHeight, children: /* @__PURE__ */ jsx47(Cuboid30, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
3349
|
+
/* @__PURE__ */ jsx47(Translate21, { z: bodyHeight, children: /* @__PURE__ */ jsx47(
|
|
3350
|
+
Cuboid30,
|
|
3274
3351
|
{
|
|
3275
3352
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
3276
3353
|
}
|
|
3277
3354
|
) })
|
|
3278
3355
|
] })
|
|
3279
3356
|
] }) }),
|
|
3280
|
-
/* @__PURE__ */
|
|
3281
|
-
|
|
3357
|
+
/* @__PURE__ */ jsx47(
|
|
3358
|
+
Cuboid30,
|
|
3282
3359
|
{
|
|
3283
3360
|
color: "#ccc",
|
|
3284
3361
|
size: [padLength, rightPadWidth, padThickness],
|
|
3285
3362
|
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
3286
3363
|
}
|
|
3287
3364
|
),
|
|
3288
|
-
/* @__PURE__ */
|
|
3289
|
-
|
|
3365
|
+
/* @__PURE__ */ jsx47(
|
|
3366
|
+
Cuboid30,
|
|
3290
3367
|
{
|
|
3291
3368
|
color: "#ccc",
|
|
3292
3369
|
size: [padLength, leftPadWidth, padThickness],
|
|
3293
3370
|
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
3294
3371
|
}
|
|
3295
3372
|
),
|
|
3296
|
-
/* @__PURE__ */
|
|
3297
|
-
|
|
3373
|
+
/* @__PURE__ */ jsx47(
|
|
3374
|
+
Cuboid30,
|
|
3298
3375
|
{
|
|
3299
3376
|
color: "#ccc",
|
|
3300
3377
|
size: [padLength, leftPadWidth, padThickness],
|
|
@@ -3305,8 +3382,8 @@ var SOT723 = () => {
|
|
|
3305
3382
|
};
|
|
3306
3383
|
|
|
3307
3384
|
// lib/dfn.tsx
|
|
3308
|
-
import { Cuboid as
|
|
3309
|
-
import { Fragment as
|
|
3385
|
+
import { Cuboid as Cuboid31 } from "jscad-fiber";
|
|
3386
|
+
import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3310
3387
|
var DFN = ({
|
|
3311
3388
|
num_pins,
|
|
3312
3389
|
bodyWidth = 5.3,
|
|
@@ -3333,8 +3410,8 @@ var DFN = ({
|
|
|
3333
3410
|
const pinNumber = i + 1;
|
|
3334
3411
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
3335
3412
|
}
|
|
3336
|
-
return /* @__PURE__ */
|
|
3337
|
-
/* @__PURE__ */
|
|
3413
|
+
return /* @__PURE__ */ jsxs44(Fragment44, { children: [
|
|
3414
|
+
/* @__PURE__ */ jsx48(
|
|
3338
3415
|
ChipBody,
|
|
3339
3416
|
{
|
|
3340
3417
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3352,16 +3429,16 @@ var DFN = ({
|
|
|
3352
3429
|
}
|
|
3353
3430
|
}
|
|
3354
3431
|
),
|
|
3355
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
3356
|
-
|
|
3432
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx48(
|
|
3433
|
+
Cuboid31,
|
|
3357
3434
|
{
|
|
3358
3435
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
3359
3436
|
size: [p.padSizeX, p.padSizeY, thermalPadThickness]
|
|
3360
3437
|
},
|
|
3361
3438
|
i
|
|
3362
3439
|
)),
|
|
3363
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
3364
|
-
|
|
3440
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx48(
|
|
3441
|
+
Cuboid31,
|
|
3365
3442
|
{
|
|
3366
3443
|
center: [0, 0, thermalPadThickness / 2],
|
|
3367
3444
|
size: [
|
|
@@ -3376,7 +3453,7 @@ var DFN = ({
|
|
|
3376
3453
|
|
|
3377
3454
|
// lib/hc49.tsx
|
|
3378
3455
|
import { Colorize as Colorize23, Cylinder as Cylinder5, Hull as Hull18, RoundedCylinder } from "jscad-fiber";
|
|
3379
|
-
import { Fragment as
|
|
3456
|
+
import { Fragment as Fragment45, jsx as jsx49, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3380
3457
|
var HC49 = ({
|
|
3381
3458
|
bodyLength: bodyLength10 = 10.2,
|
|
3382
3459
|
bodyWidth = 4.65,
|
|
@@ -3392,10 +3469,10 @@ var HC49 = ({
|
|
|
3392
3469
|
const endCenterX = halfLength - endRadius;
|
|
3393
3470
|
const leadCenterX = leadSpacing / 2;
|
|
3394
3471
|
const baseHeight = 0.85;
|
|
3395
|
-
return /* @__PURE__ */
|
|
3396
|
-
/* @__PURE__ */
|
|
3397
|
-
/* @__PURE__ */
|
|
3398
|
-
/* @__PURE__ */
|
|
3472
|
+
return /* @__PURE__ */ jsxs45(Fragment45, { children: [
|
|
3473
|
+
/* @__PURE__ */ jsxs45(Colorize23, { color, children: [
|
|
3474
|
+
/* @__PURE__ */ jsxs45(Hull18, { children: [
|
|
3475
|
+
/* @__PURE__ */ jsx49(
|
|
3399
3476
|
RoundedCylinder,
|
|
3400
3477
|
{
|
|
3401
3478
|
height: bodyHeight,
|
|
@@ -3404,7 +3481,7 @@ var HC49 = ({
|
|
|
3404
3481
|
center: [-endCenterX, 0, bodyHeight]
|
|
3405
3482
|
}
|
|
3406
3483
|
),
|
|
3407
|
-
/* @__PURE__ */
|
|
3484
|
+
/* @__PURE__ */ jsx49(
|
|
3408
3485
|
RoundedCylinder,
|
|
3409
3486
|
{
|
|
3410
3487
|
height: bodyHeight,
|
|
@@ -3414,8 +3491,8 @@ var HC49 = ({
|
|
|
3414
3491
|
}
|
|
3415
3492
|
)
|
|
3416
3493
|
] }),
|
|
3417
|
-
/* @__PURE__ */
|
|
3418
|
-
/* @__PURE__ */
|
|
3494
|
+
/* @__PURE__ */ jsxs45(Hull18, { children: [
|
|
3495
|
+
/* @__PURE__ */ jsx49(
|
|
3419
3496
|
RoundedCylinder,
|
|
3420
3497
|
{
|
|
3421
3498
|
height: baseHeight,
|
|
@@ -3424,7 +3501,7 @@ var HC49 = ({
|
|
|
3424
3501
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
3425
3502
|
}
|
|
3426
3503
|
),
|
|
3427
|
-
/* @__PURE__ */
|
|
3504
|
+
/* @__PURE__ */ jsx49(
|
|
3428
3505
|
RoundedCylinder,
|
|
3429
3506
|
{
|
|
3430
3507
|
height: baseHeight,
|
|
@@ -3435,8 +3512,8 @@ var HC49 = ({
|
|
|
3435
3512
|
)
|
|
3436
3513
|
] })
|
|
3437
3514
|
] }),
|
|
3438
|
-
/* @__PURE__ */
|
|
3439
|
-
/* @__PURE__ */
|
|
3515
|
+
/* @__PURE__ */ jsxs45(Colorize23, { color: leadColor, children: [
|
|
3516
|
+
/* @__PURE__ */ jsx49(
|
|
3440
3517
|
Cylinder5,
|
|
3441
3518
|
{
|
|
3442
3519
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3444,7 +3521,7 @@ var HC49 = ({
|
|
|
3444
3521
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
3445
3522
|
}
|
|
3446
3523
|
),
|
|
3447
|
-
/* @__PURE__ */
|
|
3524
|
+
/* @__PURE__ */ jsx49(
|
|
3448
3525
|
Cylinder5,
|
|
3449
3526
|
{
|
|
3450
3527
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3464,7 +3541,7 @@ import {
|
|
|
3464
3541
|
Rotate as Rotate7,
|
|
3465
3542
|
RoundedCuboid as RoundedCuboid2
|
|
3466
3543
|
} from "jscad-fiber";
|
|
3467
|
-
import { Fragment as
|
|
3544
|
+
import { Fragment as Fragment46, jsx as jsx50, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3468
3545
|
var MicroMELF = ({
|
|
3469
3546
|
bodyLength: bodyLength10 = 1.4,
|
|
3470
3547
|
bodyDiameter = 1.1,
|
|
@@ -3473,9 +3550,9 @@ var MicroMELF = ({
|
|
|
3473
3550
|
cathodeIdentification = "#111"
|
|
3474
3551
|
}) => {
|
|
3475
3552
|
const padLength = 0.2;
|
|
3476
|
-
return /* @__PURE__ */
|
|
3477
|
-
/* @__PURE__ */
|
|
3478
|
-
/* @__PURE__ */
|
|
3553
|
+
return /* @__PURE__ */ jsxs46(Fragment46, { children: [
|
|
3554
|
+
/* @__PURE__ */ jsx50(Colorize24, { color, children: /* @__PURE__ */ jsxs46(Rotate7, { rotation: [0, "90deg", 0], children: [
|
|
3555
|
+
/* @__PURE__ */ jsx50(
|
|
3479
3556
|
RoundedCuboid2,
|
|
3480
3557
|
{
|
|
3481
3558
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -3483,7 +3560,7 @@ var MicroMELF = ({
|
|
|
3483
3560
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
3484
3561
|
}
|
|
3485
3562
|
),
|
|
3486
|
-
/* @__PURE__ */
|
|
3563
|
+
/* @__PURE__ */ jsx50(
|
|
3487
3564
|
Cylinder6,
|
|
3488
3565
|
{
|
|
3489
3566
|
height: padLength / 2,
|
|
@@ -3492,7 +3569,7 @@ var MicroMELF = ({
|
|
|
3492
3569
|
}
|
|
3493
3570
|
)
|
|
3494
3571
|
] }) }),
|
|
3495
|
-
/* @__PURE__ */
|
|
3572
|
+
/* @__PURE__ */ jsx50(Colorize24, { color: cathodeIdentification, children: /* @__PURE__ */ jsx50(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3496
3573
|
RoundedCuboid2,
|
|
3497
3574
|
{
|
|
3498
3575
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -3500,7 +3577,7 @@ var MicroMELF = ({
|
|
|
3500
3577
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
3501
3578
|
}
|
|
3502
3579
|
) }) }),
|
|
3503
|
-
/* @__PURE__ */
|
|
3580
|
+
/* @__PURE__ */ jsx50(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx50(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3504
3581
|
RoundedCylinder2,
|
|
3505
3582
|
{
|
|
3506
3583
|
height: padLength,
|
|
@@ -3509,7 +3586,7 @@ var MicroMELF = ({
|
|
|
3509
3586
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3510
3587
|
}
|
|
3511
3588
|
) }) }),
|
|
3512
|
-
/* @__PURE__ */
|
|
3589
|
+
/* @__PURE__ */ jsx50(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx50(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3513
3590
|
RoundedCylinder2,
|
|
3514
3591
|
{
|
|
3515
3592
|
height: padLength,
|
|
@@ -3523,7 +3600,7 @@ var MicroMELF = ({
|
|
|
3523
3600
|
|
|
3524
3601
|
// lib/MINIMELF.tsx
|
|
3525
3602
|
import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder3, Rotate as Rotate8 } from "jscad-fiber";
|
|
3526
|
-
import { Fragment as
|
|
3603
|
+
import { Fragment as Fragment47, jsx as jsx51, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3527
3604
|
var MINIMELF = ({
|
|
3528
3605
|
bodyLength: bodyLength10 = 3.5,
|
|
3529
3606
|
bodyDiameter = 1.5,
|
|
@@ -3531,8 +3608,8 @@ var MINIMELF = ({
|
|
|
3531
3608
|
contactColor = "#c6c6c6"
|
|
3532
3609
|
}) => {
|
|
3533
3610
|
const padLength = 0.5;
|
|
3534
|
-
return /* @__PURE__ */
|
|
3535
|
-
/* @__PURE__ */
|
|
3611
|
+
return /* @__PURE__ */ jsxs47(Fragment47, { children: [
|
|
3612
|
+
/* @__PURE__ */ jsx51(Colorize25, { color, children: /* @__PURE__ */ jsx51(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3536
3613
|
RoundedCylinder3,
|
|
3537
3614
|
{
|
|
3538
3615
|
height: bodyLength10,
|
|
@@ -3541,7 +3618,7 @@ var MINIMELF = ({
|
|
|
3541
3618
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3542
3619
|
}
|
|
3543
3620
|
) }) }),
|
|
3544
|
-
/* @__PURE__ */
|
|
3621
|
+
/* @__PURE__ */ jsx51(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx51(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3545
3622
|
RoundedCylinder3,
|
|
3546
3623
|
{
|
|
3547
3624
|
height: padLength,
|
|
@@ -3550,7 +3627,7 @@ var MINIMELF = ({
|
|
|
3550
3627
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3551
3628
|
}
|
|
3552
3629
|
) }) }),
|
|
3553
|
-
/* @__PURE__ */
|
|
3630
|
+
/* @__PURE__ */ jsx51(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx51(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3554
3631
|
RoundedCylinder3,
|
|
3555
3632
|
{
|
|
3556
3633
|
height: padLength,
|
|
@@ -3564,7 +3641,7 @@ var MINIMELF = ({
|
|
|
3564
3641
|
|
|
3565
3642
|
// lib/MELF.tsx
|
|
3566
3643
|
import { Colorize as Colorize26, RoundedCylinder as RoundedCylinder4, Rotate as Rotate9 } from "jscad-fiber";
|
|
3567
|
-
import { Fragment as
|
|
3644
|
+
import { Fragment as Fragment48, jsx as jsx52, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
3568
3645
|
var MELF = ({
|
|
3569
3646
|
bodyLength: bodyLength10 = 3.9,
|
|
3570
3647
|
bodyDiameter = 2.5,
|
|
@@ -3572,8 +3649,8 @@ var MELF = ({
|
|
|
3572
3649
|
contactColor = "#c6c6c6"
|
|
3573
3650
|
}) => {
|
|
3574
3651
|
const padLength = 0.55;
|
|
3575
|
-
return /* @__PURE__ */
|
|
3576
|
-
/* @__PURE__ */
|
|
3652
|
+
return /* @__PURE__ */ jsxs48(Fragment48, { children: [
|
|
3653
|
+
/* @__PURE__ */ jsx52(Colorize26, { color, children: /* @__PURE__ */ jsx52(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3577
3654
|
RoundedCylinder4,
|
|
3578
3655
|
{
|
|
3579
3656
|
height: bodyLength10,
|
|
@@ -3582,7 +3659,7 @@ var MELF = ({
|
|
|
3582
3659
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3583
3660
|
}
|
|
3584
3661
|
) }) }),
|
|
3585
|
-
/* @__PURE__ */
|
|
3662
|
+
/* @__PURE__ */ jsx52(Colorize26, { color: contactColor, children: /* @__PURE__ */ jsx52(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3586
3663
|
RoundedCylinder4,
|
|
3587
3664
|
{
|
|
3588
3665
|
height: padLength,
|
|
@@ -3591,7 +3668,7 @@ var MELF = ({
|
|
|
3591
3668
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3592
3669
|
}
|
|
3593
3670
|
) }) }),
|
|
3594
|
-
/* @__PURE__ */
|
|
3671
|
+
/* @__PURE__ */ jsx52(Colorize26, { color: contactColor, children: /* @__PURE__ */ jsx52(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3595
3672
|
RoundedCylinder4,
|
|
3596
3673
|
{
|
|
3597
3674
|
height: padLength,
|
|
@@ -3604,7 +3681,7 @@ var MELF = ({
|
|
|
3604
3681
|
};
|
|
3605
3682
|
|
|
3606
3683
|
// lib/ms012.tsx
|
|
3607
|
-
import { Fragment as
|
|
3684
|
+
import { Fragment as Fragment49, jsx as jsx53, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
3608
3685
|
var MS012 = ({
|
|
3609
3686
|
pinCount,
|
|
3610
3687
|
padContactLength = 0.6,
|
|
@@ -3619,8 +3696,8 @@ var MS012 = ({
|
|
|
3619
3696
|
const bodyLength10 = 3.9;
|
|
3620
3697
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3621
3698
|
const leadThickness = 0.2;
|
|
3622
|
-
return /* @__PURE__ */
|
|
3623
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3699
|
+
return /* @__PURE__ */ jsxs49(Fragment49, { children: [
|
|
3700
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx53(
|
|
3624
3701
|
SmdChipLead,
|
|
3625
3702
|
{
|
|
3626
3703
|
position: {
|
|
@@ -3636,7 +3713,7 @@ var MS012 = ({
|
|
|
3636
3713
|
},
|
|
3637
3714
|
i
|
|
3638
3715
|
)),
|
|
3639
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3716
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx53(
|
|
3640
3717
|
SmdChipLead,
|
|
3641
3718
|
{
|
|
3642
3719
|
rotation: Math.PI,
|
|
@@ -3653,7 +3730,7 @@ var MS012 = ({
|
|
|
3653
3730
|
},
|
|
3654
3731
|
`right-${i}`
|
|
3655
3732
|
)),
|
|
3656
|
-
/* @__PURE__ */
|
|
3733
|
+
/* @__PURE__ */ jsx53(
|
|
3657
3734
|
ChipBody,
|
|
3658
3735
|
{
|
|
3659
3736
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3673,7 +3750,7 @@ var MS012 = ({
|
|
|
3673
3750
|
};
|
|
3674
3751
|
|
|
3675
3752
|
// lib/ms013.tsx
|
|
3676
|
-
import { Fragment as
|
|
3753
|
+
import { Fragment as Fragment50, jsx as jsx54, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
3677
3754
|
var MS013 = ({
|
|
3678
3755
|
pinCount = 16,
|
|
3679
3756
|
padContactLength = 0.6,
|
|
@@ -3688,8 +3765,8 @@ var MS013 = ({
|
|
|
3688
3765
|
const bodyLength10 = 10.3;
|
|
3689
3766
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3690
3767
|
const leadThickness = 0.2;
|
|
3691
|
-
return /* @__PURE__ */
|
|
3692
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3768
|
+
return /* @__PURE__ */ jsxs50(Fragment50, { children: [
|
|
3769
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx54(
|
|
3693
3770
|
SmdChipLead,
|
|
3694
3771
|
{
|
|
3695
3772
|
position: {
|
|
@@ -3705,7 +3782,7 @@ var MS013 = ({
|
|
|
3705
3782
|
},
|
|
3706
3783
|
i
|
|
3707
3784
|
)),
|
|
3708
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3785
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx54(
|
|
3709
3786
|
SmdChipLead,
|
|
3710
3787
|
{
|
|
3711
3788
|
rotation: Math.PI,
|
|
@@ -3722,7 +3799,7 @@ var MS013 = ({
|
|
|
3722
3799
|
},
|
|
3723
3800
|
`right-${i}`
|
|
3724
3801
|
)),
|
|
3725
|
-
/* @__PURE__ */
|
|
3802
|
+
/* @__PURE__ */ jsx54(
|
|
3726
3803
|
ChipBody,
|
|
3727
3804
|
{
|
|
3728
3805
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3744,14 +3821,14 @@ var MS013 = ({
|
|
|
3744
3821
|
// lib/TO220.tsx
|
|
3745
3822
|
import {
|
|
3746
3823
|
Colorize as Colorize27,
|
|
3747
|
-
Cuboid as
|
|
3824
|
+
Cuboid as Cuboid34,
|
|
3748
3825
|
Hull as Hull19,
|
|
3749
3826
|
Rotate as Rotate10,
|
|
3750
3827
|
Translate as Translate22,
|
|
3751
3828
|
Cylinder as Cylinder7,
|
|
3752
3829
|
Subtract as Subtract4
|
|
3753
3830
|
} from "jscad-fiber";
|
|
3754
|
-
import { Fragment as
|
|
3831
|
+
import { Fragment as Fragment51, jsx as jsx55, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
3755
3832
|
var TO220 = () => {
|
|
3756
3833
|
const fullLength10 = 20;
|
|
3757
3834
|
const bodyLength10 = 9.9;
|
|
@@ -3770,18 +3847,18 @@ var TO220 = () => {
|
|
|
3770
3847
|
const bodyBackX = fullLength10 + bodyLength10 / 2;
|
|
3771
3848
|
const prongCenterX = bodyFrontX - prongLength / 2;
|
|
3772
3849
|
const padCenterX = bodyBackX + padLength / 2;
|
|
3773
|
-
return /* @__PURE__ */
|
|
3774
|
-
/* @__PURE__ */
|
|
3775
|
-
/* @__PURE__ */
|
|
3776
|
-
/* @__PURE__ */
|
|
3777
|
-
|
|
3850
|
+
return /* @__PURE__ */ jsx55(Translate22, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs51(Fragment51, { children: [
|
|
3851
|
+
/* @__PURE__ */ jsxs51(Rotate10, { rotation: [0, 55, -55], children: [
|
|
3852
|
+
/* @__PURE__ */ jsxs51(Subtract4, { children: [
|
|
3853
|
+
/* @__PURE__ */ jsx55(
|
|
3854
|
+
Cuboid34,
|
|
3778
3855
|
{
|
|
3779
3856
|
color: "#ccc",
|
|
3780
3857
|
size: [padLength + 0.1, padWidth, padThickness],
|
|
3781
3858
|
center: [padCenterX, 0, padThickness - 2]
|
|
3782
3859
|
}
|
|
3783
3860
|
),
|
|
3784
|
-
/* @__PURE__ */
|
|
3861
|
+
/* @__PURE__ */ jsx55(
|
|
3785
3862
|
Cylinder7,
|
|
3786
3863
|
{
|
|
3787
3864
|
color: "black",
|
|
@@ -3791,7 +3868,7 @@ var TO220 = () => {
|
|
|
3791
3868
|
}
|
|
3792
3869
|
)
|
|
3793
3870
|
] }),
|
|
3794
|
-
/* @__PURE__ */
|
|
3871
|
+
/* @__PURE__ */ jsx55(Colorize27, { color: "#222", children: /* @__PURE__ */ jsx55(
|
|
3795
3872
|
ChipBody,
|
|
3796
3873
|
{
|
|
3797
3874
|
width: bodyWidth,
|
|
@@ -3805,29 +3882,29 @@ var TO220 = () => {
|
|
|
3805
3882
|
}
|
|
3806
3883
|
) })
|
|
3807
3884
|
] }),
|
|
3808
|
-
/* @__PURE__ */
|
|
3885
|
+
/* @__PURE__ */ jsx55(Rotate10, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
|
|
3809
3886
|
const x = prongCenterX;
|
|
3810
3887
|
const y = (i - 1) * prongPitch;
|
|
3811
3888
|
const z = -prongHeight - 0.6;
|
|
3812
|
-
return /* @__PURE__ */
|
|
3813
|
-
/* @__PURE__ */
|
|
3814
|
-
/* @__PURE__ */
|
|
3815
|
-
/* @__PURE__ */
|
|
3889
|
+
return /* @__PURE__ */ jsxs51(Colorize27, { color: "gold", children: [
|
|
3890
|
+
/* @__PURE__ */ jsxs51(Hull19, { children: [
|
|
3891
|
+
/* @__PURE__ */ jsx55(Translate22, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx55(Cuboid34, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
|
|
3892
|
+
/* @__PURE__ */ jsx55(
|
|
3816
3893
|
Translate22,
|
|
3817
3894
|
{
|
|
3818
3895
|
center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
|
|
3819
|
-
children: /* @__PURE__ */
|
|
3896
|
+
children: /* @__PURE__ */ jsx55(Cuboid34, { size: [bodyHeight, prongWidth, prongHeight] })
|
|
3820
3897
|
}
|
|
3821
3898
|
)
|
|
3822
3899
|
] }),
|
|
3823
|
-
/* @__PURE__ */
|
|
3900
|
+
/* @__PURE__ */ jsx55(Translate22, { center: [x, y, z], children: /* @__PURE__ */ jsx55(Cuboid34, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
|
|
3824
3901
|
] }, `prong-${i}`);
|
|
3825
3902
|
}) })
|
|
3826
3903
|
] }) });
|
|
3827
3904
|
};
|
|
3828
3905
|
|
|
3829
3906
|
// lib/SOT-457.tsx
|
|
3830
|
-
import { Fragment as
|
|
3907
|
+
import { Fragment as Fragment52, jsx as jsx56, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
3831
3908
|
var SOT457 = () => {
|
|
3832
3909
|
const fullWidth = 2.8;
|
|
3833
3910
|
const bodyWidth = 1.6;
|
|
@@ -3839,8 +3916,8 @@ var SOT457 = () => {
|
|
|
3839
3916
|
const padContactLength = 0.5;
|
|
3840
3917
|
const padPitch = 0.95;
|
|
3841
3918
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3842
|
-
return /* @__PURE__ */
|
|
3843
|
-
/* @__PURE__ */
|
|
3919
|
+
return /* @__PURE__ */ jsxs52(Fragment52, { children: [
|
|
3920
|
+
/* @__PURE__ */ jsx56(
|
|
3844
3921
|
SmdChipLead,
|
|
3845
3922
|
{
|
|
3846
3923
|
rotation: Math.PI,
|
|
@@ -3857,7 +3934,7 @@ var SOT457 = () => {
|
|
|
3857
3934
|
},
|
|
3858
3935
|
1
|
|
3859
3936
|
),
|
|
3860
|
-
/* @__PURE__ */
|
|
3937
|
+
/* @__PURE__ */ jsx56(
|
|
3861
3938
|
SmdChipLead,
|
|
3862
3939
|
{
|
|
3863
3940
|
rotation: Math.PI,
|
|
@@ -3874,7 +3951,7 @@ var SOT457 = () => {
|
|
|
3874
3951
|
},
|
|
3875
3952
|
2
|
|
3876
3953
|
),
|
|
3877
|
-
/* @__PURE__ */
|
|
3954
|
+
/* @__PURE__ */ jsx56(
|
|
3878
3955
|
SmdChipLead,
|
|
3879
3956
|
{
|
|
3880
3957
|
rotation: Math.PI,
|
|
@@ -3891,7 +3968,7 @@ var SOT457 = () => {
|
|
|
3891
3968
|
},
|
|
3892
3969
|
3
|
|
3893
3970
|
),
|
|
3894
|
-
/* @__PURE__ */
|
|
3971
|
+
/* @__PURE__ */ jsx56(
|
|
3895
3972
|
SmdChipLead,
|
|
3896
3973
|
{
|
|
3897
3974
|
position: {
|
|
@@ -3907,7 +3984,7 @@ var SOT457 = () => {
|
|
|
3907
3984
|
},
|
|
3908
3985
|
3
|
|
3909
3986
|
),
|
|
3910
|
-
/* @__PURE__ */
|
|
3987
|
+
/* @__PURE__ */ jsx56(
|
|
3911
3988
|
SmdChipLead,
|
|
3912
3989
|
{
|
|
3913
3990
|
position: {
|
|
@@ -3923,7 +4000,7 @@ var SOT457 = () => {
|
|
|
3923
4000
|
},
|
|
3924
4001
|
1
|
|
3925
4002
|
),
|
|
3926
|
-
/* @__PURE__ */
|
|
4003
|
+
/* @__PURE__ */ jsx56(
|
|
3927
4004
|
SmdChipLead,
|
|
3928
4005
|
{
|
|
3929
4006
|
position: {
|
|
@@ -3939,7 +4016,7 @@ var SOT457 = () => {
|
|
|
3939
4016
|
},
|
|
3940
4017
|
2
|
|
3941
4018
|
),
|
|
3942
|
-
/* @__PURE__ */
|
|
4019
|
+
/* @__PURE__ */ jsx56(
|
|
3943
4020
|
ChipBody,
|
|
3944
4021
|
{
|
|
3945
4022
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3959,8 +4036,8 @@ var SOT457 = () => {
|
|
|
3959
4036
|
};
|
|
3960
4037
|
|
|
3961
4038
|
// lib/SOT-963.tsx
|
|
3962
|
-
import { Cuboid as
|
|
3963
|
-
import { Fragment as
|
|
4039
|
+
import { Cuboid as Cuboid35 } from "jscad-fiber";
|
|
4040
|
+
import { Fragment as Fragment53, jsx as jsx57, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
3964
4041
|
var SOT963 = () => {
|
|
3965
4042
|
const bodyWidth = 0.8;
|
|
3966
4043
|
const bodyLength10 = 1;
|
|
@@ -3971,8 +4048,8 @@ var SOT963 = () => {
|
|
|
3971
4048
|
const pitch = 0.35;
|
|
3972
4049
|
const pinsPerSide = 3;
|
|
3973
4050
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3974
|
-
return /* @__PURE__ */
|
|
3975
|
-
/* @__PURE__ */
|
|
4051
|
+
return /* @__PURE__ */ jsxs53(Fragment53, { children: [
|
|
4052
|
+
/* @__PURE__ */ jsx57(
|
|
3976
4053
|
ChipBody,
|
|
3977
4054
|
{
|
|
3978
4055
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3992,8 +4069,8 @@ var SOT963 = () => {
|
|
|
3992
4069
|
),
|
|
3993
4070
|
[0, 1, 2].map((i) => {
|
|
3994
4071
|
const y = -pinSpan / 2 + i * pitch;
|
|
3995
|
-
return /* @__PURE__ */
|
|
3996
|
-
|
|
4072
|
+
return /* @__PURE__ */ jsx57(
|
|
4073
|
+
Cuboid35,
|
|
3997
4074
|
{
|
|
3998
4075
|
center: [
|
|
3999
4076
|
-bodyWidth / 2 + terminalLength / 2 - 0.1,
|
|
@@ -4007,8 +4084,8 @@ var SOT963 = () => {
|
|
|
4007
4084
|
}),
|
|
4008
4085
|
[0, 1, 2].map((i) => {
|
|
4009
4086
|
const y = -pinSpan / 2 + i * pitch;
|
|
4010
|
-
return /* @__PURE__ */
|
|
4011
|
-
|
|
4087
|
+
return /* @__PURE__ */ jsx57(
|
|
4088
|
+
Cuboid35,
|
|
4012
4089
|
{
|
|
4013
4090
|
center: [
|
|
4014
4091
|
bodyWidth / 2 - terminalLength / 2 + 0.1,
|
|
@@ -4026,13 +4103,13 @@ var SOT963 = () => {
|
|
|
4026
4103
|
// lib/TO92.tsx
|
|
4027
4104
|
import {
|
|
4028
4105
|
Colorize as Colorize28,
|
|
4029
|
-
Cuboid as
|
|
4106
|
+
Cuboid as Cuboid36,
|
|
4030
4107
|
Hull as Hull20,
|
|
4031
4108
|
Translate as Translate23,
|
|
4032
4109
|
Cylinder as Cylinder8,
|
|
4033
4110
|
Subtract as Subtract5
|
|
4034
4111
|
} from "jscad-fiber";
|
|
4035
|
-
import { jsx as
|
|
4112
|
+
import { jsx as jsx58, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4036
4113
|
var TO92 = () => {
|
|
4037
4114
|
const bodyRadius = 2.4;
|
|
4038
4115
|
const bodyHeight = 4.5;
|
|
@@ -4053,24 +4130,24 @@ var TO92 = () => {
|
|
|
4053
4130
|
const leadMidPosB = [0, 1.28, -2.72];
|
|
4054
4131
|
const leadTipPos2 = [0, 1.28, -8.9];
|
|
4055
4132
|
const sideLeadZ = -7.5;
|
|
4056
|
-
return /* @__PURE__ */
|
|
4057
|
-
/* @__PURE__ */
|
|
4058
|
-
/* @__PURE__ */
|
|
4059
|
-
/* @__PURE__ */
|
|
4133
|
+
return /* @__PURE__ */ jsxs54(Translate23, { center: [0, 1, 10.5], children: [
|
|
4134
|
+
/* @__PURE__ */ jsx58(Colorize28, { color: bodyColor, children: /* @__PURE__ */ jsxs54(Subtract5, { children: [
|
|
4135
|
+
/* @__PURE__ */ jsx58(Translate23, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx58(Cylinder8, { radius: bodyRadius, height: bodyHeight }) }),
|
|
4136
|
+
/* @__PURE__ */ jsx58(Translate23, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx58(Cuboid36, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
|
|
4060
4137
|
] }) }),
|
|
4061
|
-
/* @__PURE__ */
|
|
4062
|
-
/* @__PURE__ */
|
|
4063
|
-
/* @__PURE__ */
|
|
4064
|
-
/* @__PURE__ */
|
|
4138
|
+
/* @__PURE__ */ jsx58(Translate23, { center: leadTipPos1, children: /* @__PURE__ */ jsx58(Cuboid36, { size: leadTipSize }) }),
|
|
4139
|
+
/* @__PURE__ */ jsxs54(Hull20, { children: [
|
|
4140
|
+
/* @__PURE__ */ jsx58(Translate23, { center: leadMidPosA, children: /* @__PURE__ */ jsx58(Cuboid36, { size: leadSmallSize }) }),
|
|
4141
|
+
/* @__PURE__ */ jsx58(Translate23, { center: leadMidPosB, children: /* @__PURE__ */ jsx58(Cuboid36, { size: leadSmallSize }) })
|
|
4065
4142
|
] }),
|
|
4066
|
-
/* @__PURE__ */
|
|
4067
|
-
/* @__PURE__ */
|
|
4068
|
-
/* @__PURE__ */
|
|
4143
|
+
/* @__PURE__ */ jsx58(Translate23, { center: leadTipPos2, children: /* @__PURE__ */ jsx58(Cuboid36, { size: [leadLength, legWidth, 12.2] }) }),
|
|
4144
|
+
/* @__PURE__ */ jsx58(Translate23, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx58(Cuboid36, { size: [leadLength, legWidth, 15] }) }),
|
|
4145
|
+
/* @__PURE__ */ jsx58(Translate23, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx58(Cuboid36, { size: [leadLength, legWidth, 15] }) })
|
|
4069
4146
|
] });
|
|
4070
4147
|
};
|
|
4071
4148
|
|
|
4072
4149
|
// lib/SOT-363.tsx
|
|
4073
|
-
import { Fragment as
|
|
4150
|
+
import { Fragment as Fragment54, jsx as jsx59, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4074
4151
|
var SOT363 = () => {
|
|
4075
4152
|
const fullWidth = 2;
|
|
4076
4153
|
const bodyWidth = 1.25;
|
|
@@ -4081,8 +4158,8 @@ var SOT363 = () => {
|
|
|
4081
4158
|
const leadHeight = 0.85;
|
|
4082
4159
|
const padContactLength = 0.3;
|
|
4083
4160
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
4084
|
-
return /* @__PURE__ */
|
|
4085
|
-
/* @__PURE__ */
|
|
4161
|
+
return /* @__PURE__ */ jsxs55(Fragment54, { children: [
|
|
4162
|
+
/* @__PURE__ */ jsx59(
|
|
4086
4163
|
SmdChipLead,
|
|
4087
4164
|
{
|
|
4088
4165
|
rotation: Math.PI,
|
|
@@ -4099,7 +4176,7 @@ var SOT363 = () => {
|
|
|
4099
4176
|
},
|
|
4100
4177
|
1
|
|
4101
4178
|
),
|
|
4102
|
-
/* @__PURE__ */
|
|
4179
|
+
/* @__PURE__ */ jsx59(
|
|
4103
4180
|
SmdChipLead,
|
|
4104
4181
|
{
|
|
4105
4182
|
rotation: Math.PI,
|
|
@@ -4116,7 +4193,7 @@ var SOT363 = () => {
|
|
|
4116
4193
|
},
|
|
4117
4194
|
2
|
|
4118
4195
|
),
|
|
4119
|
-
/* @__PURE__ */
|
|
4196
|
+
/* @__PURE__ */ jsx59(
|
|
4120
4197
|
SmdChipLead,
|
|
4121
4198
|
{
|
|
4122
4199
|
rotation: Math.PI,
|
|
@@ -4133,7 +4210,7 @@ var SOT363 = () => {
|
|
|
4133
4210
|
},
|
|
4134
4211
|
3
|
|
4135
4212
|
),
|
|
4136
|
-
/* @__PURE__ */
|
|
4213
|
+
/* @__PURE__ */ jsx59(
|
|
4137
4214
|
SmdChipLead,
|
|
4138
4215
|
{
|
|
4139
4216
|
position: {
|
|
@@ -4149,7 +4226,7 @@ var SOT363 = () => {
|
|
|
4149
4226
|
},
|
|
4150
4227
|
3
|
|
4151
4228
|
),
|
|
4152
|
-
/* @__PURE__ */
|
|
4229
|
+
/* @__PURE__ */ jsx59(
|
|
4153
4230
|
SmdChipLead,
|
|
4154
4231
|
{
|
|
4155
4232
|
position: {
|
|
@@ -4165,7 +4242,7 @@ var SOT363 = () => {
|
|
|
4165
4242
|
},
|
|
4166
4243
|
1
|
|
4167
4244
|
),
|
|
4168
|
-
/* @__PURE__ */
|
|
4245
|
+
/* @__PURE__ */ jsx59(
|
|
4169
4246
|
SmdChipLead,
|
|
4170
4247
|
{
|
|
4171
4248
|
position: {
|
|
@@ -4181,7 +4258,7 @@ var SOT363 = () => {
|
|
|
4181
4258
|
},
|
|
4182
4259
|
2
|
|
4183
4260
|
),
|
|
4184
|
-
/* @__PURE__ */
|
|
4261
|
+
/* @__PURE__ */ jsx59(
|
|
4185
4262
|
ChipBody,
|
|
4186
4263
|
{
|
|
4187
4264
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4202,8 +4279,8 @@ var SOT363 = () => {
|
|
|
4202
4279
|
var SOT_363_default = SOT363;
|
|
4203
4280
|
|
|
4204
4281
|
// lib/SOT-886.tsx
|
|
4205
|
-
import { Cuboid as
|
|
4206
|
-
import { Fragment as
|
|
4282
|
+
import { Cuboid as Cuboid37 } from "jscad-fiber";
|
|
4283
|
+
import { Fragment as Fragment55, jsx as jsx60, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4207
4284
|
var SOT886 = () => {
|
|
4208
4285
|
const bodyWidth = 1;
|
|
4209
4286
|
const bodyLength10 = 1.45;
|
|
@@ -4214,8 +4291,8 @@ var SOT886 = () => {
|
|
|
4214
4291
|
const pitch = 0.5;
|
|
4215
4292
|
const pinsPerSide = 3;
|
|
4216
4293
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
4217
|
-
return /* @__PURE__ */
|
|
4218
|
-
/* @__PURE__ */
|
|
4294
|
+
return /* @__PURE__ */ jsxs56(Fragment55, { children: [
|
|
4295
|
+
/* @__PURE__ */ jsx60(
|
|
4219
4296
|
ChipBody,
|
|
4220
4297
|
{
|
|
4221
4298
|
center: { x: 0, y: 0, z: terminalThickness },
|
|
@@ -4230,8 +4307,8 @@ var SOT886 = () => {
|
|
|
4230
4307
|
),
|
|
4231
4308
|
[0, 1, 2].map((i) => {
|
|
4232
4309
|
const y = -pinSpan / 2 + i * pitch;
|
|
4233
|
-
return /* @__PURE__ */
|
|
4234
|
-
|
|
4310
|
+
return /* @__PURE__ */ jsx60(
|
|
4311
|
+
Cuboid37,
|
|
4235
4312
|
{
|
|
4236
4313
|
center: [
|
|
4237
4314
|
-bodyWidth / 2 + terminalLength / 2,
|
|
@@ -4245,8 +4322,8 @@ var SOT886 = () => {
|
|
|
4245
4322
|
}),
|
|
4246
4323
|
[0, 1, 2].map((i) => {
|
|
4247
4324
|
const y = -pinSpan / 2 + i * pitch;
|
|
4248
|
-
return /* @__PURE__ */
|
|
4249
|
-
|
|
4325
|
+
return /* @__PURE__ */ jsx60(
|
|
4326
|
+
Cuboid37,
|
|
4250
4327
|
{
|
|
4251
4328
|
center: [
|
|
4252
4329
|
bodyWidth / 2 - terminalLength / 2,
|
|
@@ -4262,8 +4339,8 @@ var SOT886 = () => {
|
|
|
4262
4339
|
};
|
|
4263
4340
|
|
|
4264
4341
|
// lib/sod-323.tsx
|
|
4265
|
-
import { Colorize as Colorize29, Cuboid as
|
|
4266
|
-
import { Fragment as
|
|
4342
|
+
import { Colorize as Colorize29, Cuboid as Cuboid38 } from "jscad-fiber";
|
|
4343
|
+
import { Fragment as Fragment56, jsx as jsx61, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4267
4344
|
var SOD323 = () => {
|
|
4268
4345
|
const fullWidth = 2.5;
|
|
4269
4346
|
const bodyLength10 = 1.25;
|
|
@@ -4275,8 +4352,8 @@ var SOD323 = () => {
|
|
|
4275
4352
|
const padCenterX = bodyWidth / 2;
|
|
4276
4353
|
const bodyDistance = 0.45;
|
|
4277
4354
|
const leadHeight = 0.7;
|
|
4278
|
-
return /* @__PURE__ */
|
|
4279
|
-
/* @__PURE__ */
|
|
4355
|
+
return /* @__PURE__ */ jsxs57(Fragment56, { children: [
|
|
4356
|
+
/* @__PURE__ */ jsx61(
|
|
4280
4357
|
SmdChipLead,
|
|
4281
4358
|
{
|
|
4282
4359
|
position: {
|
|
@@ -4292,7 +4369,7 @@ var SOD323 = () => {
|
|
|
4292
4369
|
},
|
|
4293
4370
|
1
|
|
4294
4371
|
),
|
|
4295
|
-
/* @__PURE__ */
|
|
4372
|
+
/* @__PURE__ */ jsx61(
|
|
4296
4373
|
SmdChipLead,
|
|
4297
4374
|
{
|
|
4298
4375
|
rotation: Math.PI,
|
|
@@ -4309,7 +4386,7 @@ var SOD323 = () => {
|
|
|
4309
4386
|
},
|
|
4310
4387
|
1
|
|
4311
4388
|
),
|
|
4312
|
-
/* @__PURE__ */
|
|
4389
|
+
/* @__PURE__ */ jsx61(Colorize29, { color: "#222", children: /* @__PURE__ */ jsx61(
|
|
4313
4390
|
ChipBody,
|
|
4314
4391
|
{
|
|
4315
4392
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4322,8 +4399,8 @@ var SOD323 = () => {
|
|
|
4322
4399
|
heightAboveSurface: 0.05
|
|
4323
4400
|
}
|
|
4324
4401
|
) }),
|
|
4325
|
-
/* @__PURE__ */
|
|
4326
|
-
|
|
4402
|
+
/* @__PURE__ */ jsx61(
|
|
4403
|
+
Cuboid38,
|
|
4327
4404
|
{
|
|
4328
4405
|
color: "#777",
|
|
4329
4406
|
size: [bodyWidth / 3, bodyLength10 - 0.075, 0.02],
|
|
@@ -4334,8 +4411,8 @@ var SOD323 = () => {
|
|
|
4334
4411
|
};
|
|
4335
4412
|
|
|
4336
4413
|
// lib/sod-323F.tsx
|
|
4337
|
-
import { Colorize as Colorize30, Cuboid as
|
|
4338
|
-
import { Fragment as
|
|
4414
|
+
import { Colorize as Colorize30, Cuboid as Cuboid39, Hull as Hull22, Translate as Translate25, Union as Union17 } from "jscad-fiber";
|
|
4415
|
+
import { Fragment as Fragment57, jsx as jsx62, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4339
4416
|
var SOD323F = () => {
|
|
4340
4417
|
const fullWidth = 1.7;
|
|
4341
4418
|
const bodyLength10 = 1.25;
|
|
@@ -4347,37 +4424,37 @@ var SOD323F = () => {
|
|
|
4347
4424
|
const rightPadCenterX = fullWidth / 2 + padLength / 2;
|
|
4348
4425
|
const taperOffset = 0.2;
|
|
4349
4426
|
const straightHeight = padThickness;
|
|
4350
|
-
return /* @__PURE__ */
|
|
4351
|
-
/* @__PURE__ */
|
|
4352
|
-
|
|
4427
|
+
return /* @__PURE__ */ jsxs58(Fragment57, { children: [
|
|
4428
|
+
/* @__PURE__ */ jsx62(
|
|
4429
|
+
Cuboid39,
|
|
4353
4430
|
{
|
|
4354
4431
|
color: "#ccc",
|
|
4355
4432
|
size: [padLength, padWidth, padThickness],
|
|
4356
4433
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4357
4434
|
}
|
|
4358
4435
|
),
|
|
4359
|
-
/* @__PURE__ */
|
|
4360
|
-
|
|
4436
|
+
/* @__PURE__ */ jsx62(
|
|
4437
|
+
Cuboid39,
|
|
4361
4438
|
{
|
|
4362
4439
|
color: "#ccc",
|
|
4363
4440
|
size: [padLength, padWidth, padThickness],
|
|
4364
4441
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4365
4442
|
}
|
|
4366
4443
|
),
|
|
4367
|
-
/* @__PURE__ */
|
|
4368
|
-
/* @__PURE__ */
|
|
4369
|
-
/* @__PURE__ */
|
|
4370
|
-
/* @__PURE__ */
|
|
4371
|
-
/* @__PURE__ */
|
|
4372
|
-
|
|
4444
|
+
/* @__PURE__ */ jsx62(Colorize30, { color: "#222", children: /* @__PURE__ */ jsxs58(Union17, { children: [
|
|
4445
|
+
/* @__PURE__ */ jsx62(Translate25, { z: straightHeight / 2, children: /* @__PURE__ */ jsx62(Cuboid39, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
4446
|
+
/* @__PURE__ */ jsxs58(Hull22, { children: [
|
|
4447
|
+
/* @__PURE__ */ jsx62(Translate25, { z: straightHeight, children: /* @__PURE__ */ jsx62(Cuboid39, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
4448
|
+
/* @__PURE__ */ jsx62(Translate25, { z: bodyHeight, children: /* @__PURE__ */ jsx62(
|
|
4449
|
+
Cuboid39,
|
|
4373
4450
|
{
|
|
4374
4451
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
4375
4452
|
}
|
|
4376
4453
|
) })
|
|
4377
4454
|
] })
|
|
4378
4455
|
] }) }),
|
|
4379
|
-
/* @__PURE__ */
|
|
4380
|
-
|
|
4456
|
+
/* @__PURE__ */ jsx62(
|
|
4457
|
+
Cuboid39,
|
|
4381
4458
|
{
|
|
4382
4459
|
color: "#777",
|
|
4383
4460
|
size: [fullWidth / 3, bodyLength10 - taperOffset, 0.02],
|
|
@@ -4388,8 +4465,8 @@ var SOD323F = () => {
|
|
|
4388
4465
|
};
|
|
4389
4466
|
|
|
4390
4467
|
// lib/sod-323FL.tsx
|
|
4391
|
-
import { Colorize as Colorize31, Cuboid as
|
|
4392
|
-
import { Fragment as
|
|
4468
|
+
import { Colorize as Colorize31, Cuboid as Cuboid40 } from "jscad-fiber";
|
|
4469
|
+
import { Fragment as Fragment58, jsx as jsx63, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4393
4470
|
var SOD323FL = () => {
|
|
4394
4471
|
const fullWidth = 1.775;
|
|
4395
4472
|
const bodyLength10 = 1.25;
|
|
@@ -4400,24 +4477,24 @@ var SOD323FL = () => {
|
|
|
4400
4477
|
const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
|
|
4401
4478
|
const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
|
|
4402
4479
|
const taperOffset = 0.2;
|
|
4403
|
-
return /* @__PURE__ */
|
|
4404
|
-
/* @__PURE__ */
|
|
4405
|
-
|
|
4480
|
+
return /* @__PURE__ */ jsxs59(Fragment58, { children: [
|
|
4481
|
+
/* @__PURE__ */ jsx63(
|
|
4482
|
+
Cuboid40,
|
|
4406
4483
|
{
|
|
4407
4484
|
color: "#ccc",
|
|
4408
4485
|
size: [padLength, padWidth, padThickness],
|
|
4409
4486
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4410
4487
|
}
|
|
4411
4488
|
),
|
|
4412
|
-
/* @__PURE__ */
|
|
4413
|
-
|
|
4489
|
+
/* @__PURE__ */ jsx63(
|
|
4490
|
+
Cuboid40,
|
|
4414
4491
|
{
|
|
4415
4492
|
color: "#ccc",
|
|
4416
4493
|
size: [padLength, padWidth, padThickness],
|
|
4417
4494
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4418
4495
|
}
|
|
4419
4496
|
),
|
|
4420
|
-
/* @__PURE__ */
|
|
4497
|
+
/* @__PURE__ */ jsx63(Colorize31, { color: "#222", children: /* @__PURE__ */ jsx63(
|
|
4421
4498
|
ChipBody,
|
|
4422
4499
|
{
|
|
4423
4500
|
width: fullWidth,
|
|
@@ -4430,8 +4507,8 @@ var SOD323FL = () => {
|
|
|
4430
4507
|
includeNotch: false
|
|
4431
4508
|
}
|
|
4432
4509
|
) }),
|
|
4433
|
-
/* @__PURE__ */
|
|
4434
|
-
|
|
4510
|
+
/* @__PURE__ */ jsx63(
|
|
4511
|
+
Cuboid40,
|
|
4435
4512
|
{
|
|
4436
4513
|
color: "#777",
|
|
4437
4514
|
size: [fullWidth / 3, bodyLength10 - 0.05, 0.02],
|
|
@@ -4443,20 +4520,20 @@ var SOD323FL = () => {
|
|
|
4443
4520
|
|
|
4444
4521
|
// lib/AxialCapacitor.tsx
|
|
4445
4522
|
import { Colorize as Colorize32, Cylinder as Cylinder9, Rotate as Rotate11, Sphere as Sphere2, Translate as Translate27 } from "jscad-fiber";
|
|
4446
|
-
import { Fragment as
|
|
4523
|
+
import { Fragment as Fragment59, jsx as jsx64, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4447
4524
|
var AxialCapacitor = ({ pitch = 10 }) => {
|
|
4448
4525
|
const heightToCenterOfCapacitor = 0.5 + 4 / 2;
|
|
4449
|
-
return /* @__PURE__ */
|
|
4450
|
-
/* @__PURE__ */
|
|
4451
|
-
/* @__PURE__ */
|
|
4526
|
+
return /* @__PURE__ */ jsxs60(Fragment59, { children: [
|
|
4527
|
+
/* @__PURE__ */ jsx64(Cylinder9, { height: 4, radius: 0.5, center: [-pitch / 2, 0, 0.5] }),
|
|
4528
|
+
/* @__PURE__ */ jsx64(
|
|
4452
4529
|
Sphere2,
|
|
4453
4530
|
{
|
|
4454
4531
|
radius: 0.5,
|
|
4455
4532
|
center: [-pitch / 2, 0, heightToCenterOfCapacitor]
|
|
4456
4533
|
}
|
|
4457
4534
|
),
|
|
4458
|
-
/* @__PURE__ */
|
|
4459
|
-
/* @__PURE__ */
|
|
4535
|
+
/* @__PURE__ */ jsx64(Translate27, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs60(Rotate11, { rotation: [0, Math.PI / 2, 0], children: [
|
|
4536
|
+
/* @__PURE__ */ jsx64(
|
|
4460
4537
|
Cylinder9,
|
|
4461
4538
|
{
|
|
4462
4539
|
height: pitch,
|
|
@@ -4464,7 +4541,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4464
4541
|
center: [0, 0, heightToCenterOfCapacitor]
|
|
4465
4542
|
}
|
|
4466
4543
|
),
|
|
4467
|
-
/* @__PURE__ */
|
|
4544
|
+
/* @__PURE__ */ jsx64(Colorize32, { color: "#d2b48c", children: /* @__PURE__ */ jsx64(
|
|
4468
4545
|
Cylinder9,
|
|
4469
4546
|
{
|
|
4470
4547
|
height: 5,
|
|
@@ -4473,14 +4550,14 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4473
4550
|
}
|
|
4474
4551
|
) })
|
|
4475
4552
|
] }) }),
|
|
4476
|
-
/* @__PURE__ */
|
|
4477
|
-
/* @__PURE__ */
|
|
4553
|
+
/* @__PURE__ */ jsx64(Cylinder9, { height: 4, radius: 0.5, center: [pitch / 2, 0, 0.5] }),
|
|
4554
|
+
/* @__PURE__ */ jsx64(Sphere2, { radius: 0.5, center: [pitch / 2, 0, heightToCenterOfCapacitor] })
|
|
4478
4555
|
] });
|
|
4479
4556
|
};
|
|
4480
4557
|
|
|
4481
4558
|
// lib/stampboard.tsx
|
|
4482
|
-
import { Colorize as Colorize33, Cuboid as
|
|
4483
|
-
import { Fragment as
|
|
4559
|
+
import { Colorize as Colorize33, Cuboid as Cuboid41, Cylinder as Cylinder10, Subtract as Subtract6, Union as Union19 } from "jscad-fiber";
|
|
4560
|
+
import { Fragment as Fragment60, jsx as jsx65, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
4484
4561
|
var StampBoard = ({
|
|
4485
4562
|
bodyWidth = 21,
|
|
4486
4563
|
boardThickness = 0.5,
|
|
@@ -4578,16 +4655,16 @@ var StampBoard = ({
|
|
|
4578
4655
|
}
|
|
4579
4656
|
}
|
|
4580
4657
|
}
|
|
4581
|
-
const boardBody = /* @__PURE__ */
|
|
4582
|
-
/* @__PURE__ */
|
|
4583
|
-
|
|
4658
|
+
const boardBody = /* @__PURE__ */ jsx65(Colorize33, { color: "#051a0a", children: /* @__PURE__ */ jsxs61(Subtract6, { children: [
|
|
4659
|
+
/* @__PURE__ */ jsx65(
|
|
4660
|
+
Cuboid41,
|
|
4584
4661
|
{
|
|
4585
4662
|
center: [0, 0, boardCenterZ],
|
|
4586
4663
|
size: [bodyWidth, bodyLength10, boardThickness]
|
|
4587
4664
|
}
|
|
4588
4665
|
),
|
|
4589
|
-
pads.map((pad, index) => /* @__PURE__ */
|
|
4590
|
-
|
|
4666
|
+
pads.map((pad, index) => /* @__PURE__ */ jsx65(
|
|
4667
|
+
Cuboid41,
|
|
4591
4668
|
{
|
|
4592
4669
|
center: [pad.x, pad.y, boardCenterZ],
|
|
4593
4670
|
size: [pad.pl + 0.01, pad.pw + 0.01, boardHeight]
|
|
@@ -4595,7 +4672,7 @@ var StampBoard = ({
|
|
|
4595
4672
|
index
|
|
4596
4673
|
))
|
|
4597
4674
|
] }) });
|
|
4598
|
-
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */
|
|
4675
|
+
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */ jsx65(
|
|
4599
4676
|
Cylinder10,
|
|
4600
4677
|
{
|
|
4601
4678
|
color: "black",
|
|
@@ -4605,19 +4682,19 @@ var StampBoard = ({
|
|
|
4605
4682
|
},
|
|
4606
4683
|
index
|
|
4607
4684
|
));
|
|
4608
|
-
const rectPads = pads.map((pad, index) => /* @__PURE__ */
|
|
4609
|
-
|
|
4685
|
+
const rectPads = pads.map((pad, index) => /* @__PURE__ */ jsx65(
|
|
4686
|
+
Cuboid41,
|
|
4610
4687
|
{
|
|
4611
4688
|
center: [pad.x, pad.y, boardCenterZ],
|
|
4612
4689
|
size: [pad.pl + 0.01, pad.pw + 0.01, boardHeight]
|
|
4613
4690
|
},
|
|
4614
4691
|
index
|
|
4615
4692
|
));
|
|
4616
|
-
return /* @__PURE__ */
|
|
4693
|
+
return /* @__PURE__ */ jsxs61(Fragment60, { children: [
|
|
4617
4694
|
boardBody,
|
|
4618
|
-
/* @__PURE__ */
|
|
4619
|
-
/* @__PURE__ */
|
|
4620
|
-
|
|
4695
|
+
/* @__PURE__ */ jsx65(Colorize33, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs61(Subtract6, { children: [
|
|
4696
|
+
/* @__PURE__ */ jsx65(Union19, { children: pads.map((pad, index) => /* @__PURE__ */ jsx65(
|
|
4697
|
+
Cuboid41,
|
|
4621
4698
|
{
|
|
4622
4699
|
center: [pad.x, pad.y, boardCenterZ],
|
|
4623
4700
|
size: [pad.pl + 0.01, pad.pw + 0.01, boardHeight]
|
|
@@ -4630,11 +4707,11 @@ var StampBoard = ({
|
|
|
4630
4707
|
};
|
|
4631
4708
|
|
|
4632
4709
|
// lib/MountedPcbModule.tsx
|
|
4633
|
-
import { Colorize as Colorize35, Cuboid as
|
|
4710
|
+
import { Colorize as Colorize35, Cuboid as Cuboid43, Cylinder as Cylinder11, Subtract as Subtract8 } from "jscad-fiber";
|
|
4634
4711
|
|
|
4635
4712
|
// lib/Screen.tsx
|
|
4636
|
-
import { Colorize as Colorize34, Cuboid as
|
|
4637
|
-
import { jsx as
|
|
4713
|
+
import { Colorize as Colorize34, Cuboid as Cuboid42, Subtract as Subtract7, Translate as Translate28 } from "jscad-fiber";
|
|
4714
|
+
import { jsx as jsx66, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
4638
4715
|
var Screen = ({
|
|
4639
4716
|
width: width10 = 30,
|
|
4640
4717
|
height: height10 = 22,
|
|
@@ -4662,32 +4739,32 @@ var Screen = ({
|
|
|
4662
4739
|
const offsetX = offset?.x ?? 0;
|
|
4663
4740
|
const offsetY = offset?.y ?? 0;
|
|
4664
4741
|
const offsetZ = offset?.z ?? 0;
|
|
4665
|
-
return /* @__PURE__ */
|
|
4666
|
-
backBlockHeight > 0 && /* @__PURE__ */
|
|
4667
|
-
|
|
4742
|
+
return /* @__PURE__ */ jsxs62(Translate28, { offset: { x: offsetX, y: offsetY, z: offsetZ }, children: [
|
|
4743
|
+
backBlockHeight > 0 && /* @__PURE__ */ jsx66(Colorize34, { color: bezelColor, children: /* @__PURE__ */ jsx66(
|
|
4744
|
+
Cuboid42,
|
|
4668
4745
|
{
|
|
4669
4746
|
size: [w, h, backBlockHeight],
|
|
4670
4747
|
offset: [0, 0, backBlockHeight / 2]
|
|
4671
4748
|
}
|
|
4672
4749
|
) }),
|
|
4673
|
-
/* @__PURE__ */
|
|
4674
|
-
/* @__PURE__ */
|
|
4675
|
-
|
|
4750
|
+
/* @__PURE__ */ jsx66(Colorize34, { color: bezelColor, children: /* @__PURE__ */ jsxs62(Subtract7, { children: [
|
|
4751
|
+
/* @__PURE__ */ jsx66(
|
|
4752
|
+
Cuboid42,
|
|
4676
4753
|
{
|
|
4677
4754
|
size: [w, h, clampedBezelDepth],
|
|
4678
4755
|
offset: [0, 0, backBlockHeight + clampedBezelDepth / 2]
|
|
4679
4756
|
}
|
|
4680
4757
|
),
|
|
4681
|
-
/* @__PURE__ */
|
|
4682
|
-
|
|
4758
|
+
/* @__PURE__ */ jsx66(
|
|
4759
|
+
Cuboid42,
|
|
4683
4760
|
{
|
|
4684
4761
|
size: [innerWidth, innerHeight, clampedBezelDepth + 0.02],
|
|
4685
4762
|
offset: [0, 0, backBlockHeight + clampedBezelDepth / 2]
|
|
4686
4763
|
}
|
|
4687
4764
|
)
|
|
4688
4765
|
] }) }),
|
|
4689
|
-
/* @__PURE__ */
|
|
4690
|
-
|
|
4766
|
+
/* @__PURE__ */ jsx66(Colorize34, { color: screenColor, children: /* @__PURE__ */ jsx66(
|
|
4767
|
+
Cuboid42,
|
|
4691
4768
|
{
|
|
4692
4769
|
size: [innerWidth, innerHeight, screenThickness],
|
|
4693
4770
|
offset: [0, 0, backBlockHeight + screenThickness / 2]
|
|
@@ -4698,7 +4775,7 @@ var Screen = ({
|
|
|
4698
4775
|
var Display = Screen;
|
|
4699
4776
|
|
|
4700
4777
|
// lib/MountedPcbModule.tsx
|
|
4701
|
-
import { Fragment as
|
|
4778
|
+
import { Fragment as Fragment61, jsx as jsx67, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
4702
4779
|
var MountedPcbModule = ({
|
|
4703
4780
|
numPins = 5,
|
|
4704
4781
|
rows = 1,
|
|
@@ -4799,15 +4876,15 @@ var MountedPcbModule = ({
|
|
|
4799
4876
|
const shortSidePinLength = 3;
|
|
4800
4877
|
const boardOffsetZ = nopin || female ? 0 : pinBodyHeight;
|
|
4801
4878
|
const boardTopZ = boardOffsetZ + boardThickness;
|
|
4802
|
-
const boardBody = /* @__PURE__ */
|
|
4803
|
-
/* @__PURE__ */
|
|
4804
|
-
|
|
4879
|
+
const boardBody = /* @__PURE__ */ jsx67(Colorize35, { color: "#008080", children: /* @__PURE__ */ jsxs63(Subtract8, { children: [
|
|
4880
|
+
/* @__PURE__ */ jsx67(
|
|
4881
|
+
Cuboid43,
|
|
4805
4882
|
{
|
|
4806
4883
|
center: [0, 0, boardCenterZ + boardOffsetZ],
|
|
4807
4884
|
size: [finalWidth, finalHeight, boardThickness]
|
|
4808
4885
|
}
|
|
4809
4886
|
),
|
|
4810
|
-
holePositions.map((hole, index) => /* @__PURE__ */
|
|
4887
|
+
holePositions.map((hole, index) => /* @__PURE__ */ jsx67(
|
|
4811
4888
|
Cylinder11,
|
|
4812
4889
|
{
|
|
4813
4890
|
center: [hole.x, hole.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4816,7 +4893,7 @@ var MountedPcbModule = ({
|
|
|
4816
4893
|
},
|
|
4817
4894
|
`hole-${index}`
|
|
4818
4895
|
)),
|
|
4819
|
-
pins.map((pin, index) => /* @__PURE__ */
|
|
4896
|
+
pins.map((pin, index) => /* @__PURE__ */ jsx67(
|
|
4820
4897
|
Cylinder11,
|
|
4821
4898
|
{
|
|
4822
4899
|
center: [pin.x, pin.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4826,8 +4903,8 @@ var MountedPcbModule = ({
|
|
|
4826
4903
|
`pin-hole-${index}`
|
|
4827
4904
|
))
|
|
4828
4905
|
] }) });
|
|
4829
|
-
const platedHoles = pins.map((pin, index) => /* @__PURE__ */
|
|
4830
|
-
/* @__PURE__ */
|
|
4906
|
+
const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx67(Colorize35, { color: "#FFD700", children: /* @__PURE__ */ jsxs63(Subtract8, { children: [
|
|
4907
|
+
/* @__PURE__ */ jsx67(
|
|
4831
4908
|
Cylinder11,
|
|
4832
4909
|
{
|
|
4833
4910
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4835,7 +4912,7 @@ var MountedPcbModule = ({
|
|
|
4835
4912
|
height: boardThickness
|
|
4836
4913
|
}
|
|
4837
4914
|
),
|
|
4838
|
-
/* @__PURE__ */
|
|
4915
|
+
/* @__PURE__ */ jsx67(
|
|
4839
4916
|
Cylinder11,
|
|
4840
4917
|
{
|
|
4841
4918
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4844,7 +4921,7 @@ var MountedPcbModule = ({
|
|
|
4844
4921
|
}
|
|
4845
4922
|
)
|
|
4846
4923
|
] }) }, `pin-${index}`));
|
|
4847
|
-
const headerPins = pins.map((pin, index) => /* @__PURE__ */
|
|
4924
|
+
const headerPins = pins.map((pin, index) => /* @__PURE__ */ jsx67(
|
|
4848
4925
|
PinHeader,
|
|
4849
4926
|
{
|
|
4850
4927
|
x: pin.x,
|
|
@@ -4857,7 +4934,7 @@ var MountedPcbModule = ({
|
|
|
4857
4934
|
},
|
|
4858
4935
|
`pin-3d-${index}`
|
|
4859
4936
|
));
|
|
4860
|
-
const femaleHeaderRow = pins.map((pin, index) => /* @__PURE__ */
|
|
4937
|
+
const femaleHeaderRow = pins.map((pin, index) => /* @__PURE__ */ jsx67(
|
|
4861
4938
|
FemaleHeader,
|
|
4862
4939
|
{
|
|
4863
4940
|
x: pin.x,
|
|
@@ -4866,12 +4943,12 @@ var MountedPcbModule = ({
|
|
|
4866
4943
|
},
|
|
4867
4944
|
`female-pin-3d-${index}`
|
|
4868
4945
|
));
|
|
4869
|
-
return /* @__PURE__ */
|
|
4946
|
+
return /* @__PURE__ */ jsxs63(Fragment61, { children: [
|
|
4870
4947
|
boardBody,
|
|
4871
4948
|
platedHoles,
|
|
4872
4949
|
!female && !nopin && headerPins,
|
|
4873
4950
|
female && femaleHeaderRow,
|
|
4874
|
-
showScreen && /* @__PURE__ */
|
|
4951
|
+
showScreen && /* @__PURE__ */ jsx67(
|
|
4875
4952
|
Screen,
|
|
4876
4953
|
{
|
|
4877
4954
|
width: screenWidth ?? finalWidth * 0.8,
|
|
@@ -4887,8 +4964,8 @@ var MountedPcbModule = ({
|
|
|
4887
4964
|
};
|
|
4888
4965
|
|
|
4889
4966
|
// lib/SOD723.tsx
|
|
4890
|
-
import { Colorize as Colorize36, Cuboid as
|
|
4891
|
-
import { Fragment as
|
|
4967
|
+
import { Colorize as Colorize36, Cuboid as Cuboid44, Hull as Hull24, Translate as Translate29, Union as Union20 } from "jscad-fiber";
|
|
4968
|
+
import { Fragment as Fragment62, jsx as jsx68, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
4892
4969
|
var SOD723 = () => {
|
|
4893
4970
|
const fullWidth = 1.4;
|
|
4894
4971
|
const bodyLength10 = 0.6;
|
|
@@ -4901,37 +4978,37 @@ var SOD723 = () => {
|
|
|
4901
4978
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
4902
4979
|
const taperOffset = 0.2;
|
|
4903
4980
|
const straightHeight = bodyHeight * 0.24;
|
|
4904
|
-
return /* @__PURE__ */
|
|
4905
|
-
/* @__PURE__ */
|
|
4906
|
-
|
|
4981
|
+
return /* @__PURE__ */ jsxs64(Fragment62, { children: [
|
|
4982
|
+
/* @__PURE__ */ jsx68(
|
|
4983
|
+
Cuboid44,
|
|
4907
4984
|
{
|
|
4908
4985
|
color: "#ccc",
|
|
4909
4986
|
size: [padLength, padWidth, padThickness],
|
|
4910
4987
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4911
4988
|
}
|
|
4912
4989
|
),
|
|
4913
|
-
/* @__PURE__ */
|
|
4914
|
-
|
|
4990
|
+
/* @__PURE__ */ jsx68(
|
|
4991
|
+
Cuboid44,
|
|
4915
4992
|
{
|
|
4916
4993
|
color: "#ccc",
|
|
4917
4994
|
size: [padLength, padWidth, padThickness],
|
|
4918
4995
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4919
4996
|
}
|
|
4920
4997
|
),
|
|
4921
|
-
/* @__PURE__ */
|
|
4922
|
-
/* @__PURE__ */
|
|
4923
|
-
/* @__PURE__ */
|
|
4924
|
-
/* @__PURE__ */
|
|
4925
|
-
/* @__PURE__ */
|
|
4926
|
-
|
|
4998
|
+
/* @__PURE__ */ jsx68(Colorize36, { color: "#222", children: /* @__PURE__ */ jsxs64(Union20, { children: [
|
|
4999
|
+
/* @__PURE__ */ jsx68(Translate29, { z: straightHeight / 2, children: /* @__PURE__ */ jsx68(Cuboid44, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
5000
|
+
/* @__PURE__ */ jsxs64(Hull24, { children: [
|
|
5001
|
+
/* @__PURE__ */ jsx68(Translate29, { z: straightHeight, children: /* @__PURE__ */ jsx68(Cuboid44, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
5002
|
+
/* @__PURE__ */ jsx68(Translate29, { z: bodyHeight, children: /* @__PURE__ */ jsx68(
|
|
5003
|
+
Cuboid44,
|
|
4927
5004
|
{
|
|
4928
5005
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
4929
5006
|
}
|
|
4930
5007
|
) })
|
|
4931
5008
|
] })
|
|
4932
5009
|
] }) }),
|
|
4933
|
-
/* @__PURE__ */
|
|
4934
|
-
|
|
5010
|
+
/* @__PURE__ */ jsx68(
|
|
5011
|
+
Cuboid44,
|
|
4935
5012
|
{
|
|
4936
5013
|
color: "#777",
|
|
4937
5014
|
size: [fullWidth / 6, bodyLength10 - taperOffset, 0.02],
|
|
@@ -4945,13 +5022,13 @@ var SOD723_default = SOD723;
|
|
|
4945
5022
|
// lib/JSTZH1_5mm.tsx
|
|
4946
5023
|
import {
|
|
4947
5024
|
Colorize as Colorize37,
|
|
4948
|
-
Cuboid as
|
|
5025
|
+
Cuboid as Cuboid45,
|
|
4949
5026
|
Cylinder as Cylinder12,
|
|
4950
5027
|
Rotate as Rotate12,
|
|
4951
5028
|
Subtract as Subtract9,
|
|
4952
5029
|
Translate as Translate30
|
|
4953
5030
|
} from "jscad-fiber";
|
|
4954
|
-
import { Fragment as
|
|
5031
|
+
import { Fragment as Fragment63, jsx as jsx69, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
4955
5032
|
var JSTZH1_5mm = ({
|
|
4956
5033
|
numPins = 7,
|
|
4957
5034
|
showPins = true,
|
|
@@ -4967,17 +5044,17 @@ var JSTZH1_5mm = ({
|
|
|
4967
5044
|
const pinLength = 6;
|
|
4968
5045
|
const bodyWidth = (numPins - 1) * pitch + 4;
|
|
4969
5046
|
const startX = -((numPins - 1) * pitch) / 2;
|
|
4970
|
-
return /* @__PURE__ */
|
|
4971
|
-
/* @__PURE__ */
|
|
4972
|
-
/* @__PURE__ */
|
|
4973
|
-
|
|
5047
|
+
return /* @__PURE__ */ jsxs65(Fragment63, { children: [
|
|
5048
|
+
/* @__PURE__ */ jsx69(Translate30, { offset: [0, 0, bodyHeight], children: /* @__PURE__ */ jsx69(Rotate12, { angles: [Math.PI, 0, 0], children: /* @__PURE__ */ jsx69(Colorize37, { color: bodyColor, children: /* @__PURE__ */ jsxs65(Subtract9, { children: [
|
|
5049
|
+
/* @__PURE__ */ jsx69(
|
|
5050
|
+
Cuboid45,
|
|
4974
5051
|
{
|
|
4975
5052
|
size: [bodyWidth, bodyDepth, bodyHeight],
|
|
4976
5053
|
center: [0, 0, bodyHeight / 2]
|
|
4977
5054
|
}
|
|
4978
5055
|
),
|
|
4979
|
-
/* @__PURE__ */
|
|
4980
|
-
|
|
5056
|
+
/* @__PURE__ */ jsx69(
|
|
5057
|
+
Cuboid45,
|
|
4981
5058
|
{
|
|
4982
5059
|
size: [
|
|
4983
5060
|
bodyWidth - wallThickness * 2,
|
|
@@ -4987,15 +5064,15 @@ var JSTZH1_5mm = ({
|
|
|
4987
5064
|
center: [0, 0, hollowHeight / 2]
|
|
4988
5065
|
}
|
|
4989
5066
|
),
|
|
4990
|
-
/* @__PURE__ */
|
|
4991
|
-
|
|
5067
|
+
/* @__PURE__ */ jsx69(
|
|
5068
|
+
Cuboid45,
|
|
4992
5069
|
{
|
|
4993
5070
|
size: [bodyWidth, bodyDepth / 3, hollowHeight],
|
|
4994
5071
|
center: [0, 0, hollowHeight / 6]
|
|
4995
5072
|
}
|
|
4996
5073
|
),
|
|
4997
|
-
/* @__PURE__ */
|
|
4998
|
-
|
|
5074
|
+
/* @__PURE__ */ jsx69(
|
|
5075
|
+
Cuboid45,
|
|
4999
5076
|
{
|
|
5000
5077
|
size: [
|
|
5001
5078
|
bodyWidth - wallThickness * 2,
|
|
@@ -5009,8 +5086,8 @@ var JSTZH1_5mm = ({
|
|
|
5009
5086
|
]
|
|
5010
5087
|
}
|
|
5011
5088
|
),
|
|
5012
|
-
/* @__PURE__ */
|
|
5013
|
-
|
|
5089
|
+
/* @__PURE__ */ jsx69(
|
|
5090
|
+
Cuboid45,
|
|
5014
5091
|
{
|
|
5015
5092
|
size: [
|
|
5016
5093
|
bodyWidth - wallThickness * 2,
|
|
@@ -5024,36 +5101,36 @@ var JSTZH1_5mm = ({
|
|
|
5024
5101
|
]
|
|
5025
5102
|
}
|
|
5026
5103
|
),
|
|
5027
|
-
/* @__PURE__ */
|
|
5028
|
-
|
|
5104
|
+
/* @__PURE__ */ jsx69(
|
|
5105
|
+
Cuboid45,
|
|
5029
5106
|
{
|
|
5030
5107
|
size: [1, wallThickness + 2, 1],
|
|
5031
5108
|
center: [-bodyWidth / 4, bodyDepth / 2, bodyHeight / 2]
|
|
5032
5109
|
}
|
|
5033
5110
|
),
|
|
5034
|
-
/* @__PURE__ */
|
|
5035
|
-
|
|
5111
|
+
/* @__PURE__ */ jsx69(
|
|
5112
|
+
Cuboid45,
|
|
5036
5113
|
{
|
|
5037
5114
|
size: [1, wallThickness + 3, 1],
|
|
5038
5115
|
center: [bodyWidth / 4, bodyDepth / 2, bodyHeight / 2]
|
|
5039
5116
|
}
|
|
5040
5117
|
),
|
|
5041
|
-
/* @__PURE__ */
|
|
5042
|
-
|
|
5118
|
+
/* @__PURE__ */ jsx69(
|
|
5119
|
+
Cuboid45,
|
|
5043
5120
|
{
|
|
5044
5121
|
size: [1, wallThickness + 2, 1],
|
|
5045
5122
|
center: [-bodyWidth / 4, -bodyDepth / 2, bodyHeight / 2]
|
|
5046
5123
|
}
|
|
5047
5124
|
),
|
|
5048
|
-
/* @__PURE__ */
|
|
5049
|
-
|
|
5125
|
+
/* @__PURE__ */ jsx69(
|
|
5126
|
+
Cuboid45,
|
|
5050
5127
|
{
|
|
5051
5128
|
size: [1, wallThickness + 3, 1],
|
|
5052
5129
|
center: [bodyWidth / 4, -bodyDepth / 2, bodyHeight / 2]
|
|
5053
5130
|
}
|
|
5054
5131
|
)
|
|
5055
5132
|
] }) }) }) }),
|
|
5056
|
-
showPins && Array.from({ length: numPins }).map((_, i) => /* @__PURE__ */
|
|
5133
|
+
showPins && Array.from({ length: numPins }).map((_, i) => /* @__PURE__ */ jsx69(Colorize37, { color: pinColor, children: /* @__PURE__ */ jsx69(
|
|
5057
5134
|
Cylinder12,
|
|
5058
5135
|
{
|
|
5059
5136
|
height: pinLength,
|
|
@@ -5089,7 +5166,7 @@ var JSTZH1_5mm = ({
|
|
|
5089
5166
|
layers: ["top", "bottom"],
|
|
5090
5167
|
port_hints: [`${i + 1}`]
|
|
5091
5168
|
};
|
|
5092
|
-
return /* @__PURE__ */
|
|
5169
|
+
return /* @__PURE__ */ jsx69(
|
|
5093
5170
|
FootprintPlatedHole,
|
|
5094
5171
|
{
|
|
5095
5172
|
hole,
|
|
@@ -5104,14 +5181,14 @@ var JSTZH1_5mm = ({
|
|
|
5104
5181
|
// lib/FPC.tsx
|
|
5105
5182
|
import {
|
|
5106
5183
|
Colorize as Colorize38,
|
|
5107
|
-
Cuboid as
|
|
5184
|
+
Cuboid as Cuboid46,
|
|
5108
5185
|
Cylinder as Cylinder13,
|
|
5109
5186
|
Rotate as Rotate13,
|
|
5110
5187
|
RoundedCuboid as RoundedCuboid3,
|
|
5111
5188
|
Subtract as Subtract10,
|
|
5112
5189
|
Translate as Translate31
|
|
5113
5190
|
} from "jscad-fiber";
|
|
5114
|
-
import { Fragment as
|
|
5191
|
+
import { Fragment as Fragment64, jsx as jsx70, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
5115
5192
|
var HOUSING_COLOR = "#303339";
|
|
5116
5193
|
var HOUSING_SHADOW = "#1f2227";
|
|
5117
5194
|
var ACTUATOR_COLOR = "#eee8d8";
|
|
@@ -5198,9 +5275,9 @@ var FPC = ({
|
|
|
5198
5275
|
const clipCapX = bodyWidth / 2 - 0.23;
|
|
5199
5276
|
const sideBossX = bodyWidth / 2 - 0.32;
|
|
5200
5277
|
const sideBossWidth = 0.68;
|
|
5201
|
-
return /* @__PURE__ */
|
|
5202
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5203
|
-
|
|
5278
|
+
return /* @__PURE__ */ jsxs66(Fragment64, { children: [
|
|
5279
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx70(
|
|
5280
|
+
Cuboid46,
|
|
5204
5281
|
{
|
|
5205
5282
|
color: TIN_COLOR,
|
|
5206
5283
|
center: [direction * endClipX, mountY, 0.07],
|
|
@@ -5208,8 +5285,8 @@ var FPC = ({
|
|
|
5208
5285
|
},
|
|
5209
5286
|
`mount-pad:${direction}`
|
|
5210
5287
|
)),
|
|
5211
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5212
|
-
|
|
5288
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx70(
|
|
5289
|
+
Cuboid46,
|
|
5213
5290
|
{
|
|
5214
5291
|
color: TIN_COLOR,
|
|
5215
5292
|
center: [contact.x, terminalCenterY, 0.065],
|
|
@@ -5217,7 +5294,7 @@ var FPC = ({
|
|
|
5217
5294
|
},
|
|
5218
5295
|
`terminal:${contact.index}`
|
|
5219
5296
|
)),
|
|
5220
|
-
/* @__PURE__ */
|
|
5297
|
+
/* @__PURE__ */ jsx70(
|
|
5221
5298
|
RoundedCuboid3,
|
|
5222
5299
|
{
|
|
5223
5300
|
color: HOUSING_SHADOW,
|
|
@@ -5226,8 +5303,8 @@ var FPC = ({
|
|
|
5226
5303
|
roundRadius: 0.1
|
|
5227
5304
|
}
|
|
5228
5305
|
),
|
|
5229
|
-
/* @__PURE__ */
|
|
5230
|
-
/* @__PURE__ */
|
|
5306
|
+
/* @__PURE__ */ jsx70(Colorize38, { color: HOUSING_COLOR, children: /* @__PURE__ */ jsxs66(Subtract10, { children: [
|
|
5307
|
+
/* @__PURE__ */ jsx70(
|
|
5231
5308
|
RoundedCuboid3,
|
|
5232
5309
|
{
|
|
5233
5310
|
center: [0, housingCenterY, housingBaseHeight + housingHeight / 2],
|
|
@@ -5235,22 +5312,22 @@ var FPC = ({
|
|
|
5235
5312
|
roundRadius: 0.14
|
|
5236
5313
|
}
|
|
5237
5314
|
),
|
|
5238
|
-
/* @__PURE__ */
|
|
5239
|
-
|
|
5315
|
+
/* @__PURE__ */ jsx70(
|
|
5316
|
+
Cuboid46,
|
|
5240
5317
|
{
|
|
5241
5318
|
center: [0, throatCenterY, throatCenterZ],
|
|
5242
5319
|
size: [openingWidth, throatDepth, throatHeight]
|
|
5243
5320
|
}
|
|
5244
5321
|
),
|
|
5245
|
-
/* @__PURE__ */
|
|
5246
|
-
|
|
5322
|
+
/* @__PURE__ */ jsx70(
|
|
5323
|
+
Cuboid46,
|
|
5247
5324
|
{
|
|
5248
5325
|
center: [0, actuatorCenterY, overallHeight - actuatorHeight * 0.72],
|
|
5249
5326
|
size: [actuatorWidth - 0.32, actuatorDepth - 0.16, actuatorHeight]
|
|
5250
5327
|
}
|
|
5251
5328
|
)
|
|
5252
5329
|
] }) }),
|
|
5253
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5330
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx70(
|
|
5254
5331
|
RoundedCuboid3,
|
|
5255
5332
|
{
|
|
5256
5333
|
color: TIN_HIGHLIGHT,
|
|
@@ -5260,8 +5337,8 @@ var FPC = ({
|
|
|
5260
5337
|
},
|
|
5261
5338
|
`spring:${contact.index}`
|
|
5262
5339
|
)),
|
|
5263
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5264
|
-
|
|
5340
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx70(
|
|
5341
|
+
Cuboid46,
|
|
5265
5342
|
{
|
|
5266
5343
|
color: TIN_COLOR,
|
|
5267
5344
|
center: [
|
|
@@ -5273,8 +5350,8 @@ var FPC = ({
|
|
|
5273
5350
|
},
|
|
5274
5351
|
`terminal-rise:${contact.index}`
|
|
5275
5352
|
)),
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
|
|
5353
|
+
/* @__PURE__ */ jsx70(
|
|
5354
|
+
Cuboid46,
|
|
5278
5355
|
{
|
|
5279
5356
|
color: HOUSING_SHADOW,
|
|
5280
5357
|
center: [
|
|
@@ -5285,7 +5362,7 @@ var FPC = ({
|
|
|
5285
5362
|
size: [openingWidth + 0.18, 0.16, 0.8]
|
|
5286
5363
|
}
|
|
5287
5364
|
),
|
|
5288
|
-
/* @__PURE__ */
|
|
5365
|
+
/* @__PURE__ */ jsx70(
|
|
5289
5366
|
RoundedCuboid3,
|
|
5290
5367
|
{
|
|
5291
5368
|
color: ACTUATOR_COLOR,
|
|
@@ -5294,8 +5371,8 @@ var FPC = ({
|
|
|
5294
5371
|
roundRadius: 0.11
|
|
5295
5372
|
}
|
|
5296
5373
|
),
|
|
5297
|
-
/* @__PURE__ */
|
|
5298
|
-
|
|
5374
|
+
/* @__PURE__ */ jsx70(
|
|
5375
|
+
Cuboid46,
|
|
5299
5376
|
{
|
|
5300
5377
|
color: ACTUATOR_HIGHLIGHT,
|
|
5301
5378
|
center: [
|
|
@@ -5306,7 +5383,7 @@ var FPC = ({
|
|
|
5306
5383
|
size: [actuatorWidth - 0.36, 0.24, 0.07]
|
|
5307
5384
|
}
|
|
5308
5385
|
),
|
|
5309
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5386
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx70(
|
|
5310
5387
|
RoundedCuboid3,
|
|
5311
5388
|
{
|
|
5312
5389
|
color: ACTUATOR_COLOR,
|
|
@@ -5316,13 +5393,13 @@ var FPC = ({
|
|
|
5316
5393
|
},
|
|
5317
5394
|
`actuator-ear:${direction}`
|
|
5318
5395
|
)),
|
|
5319
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5396
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx70(
|
|
5320
5397
|
Translate31,
|
|
5321
5398
|
{
|
|
5322
5399
|
x: direction * sideBossX,
|
|
5323
5400
|
y: hingeY,
|
|
5324
5401
|
z: hingeZ,
|
|
5325
|
-
children: /* @__PURE__ */
|
|
5402
|
+
children: /* @__PURE__ */ jsx70(Rotate13, { rotation: [0, Math.PI / 2, 0], children: /* @__PURE__ */ jsx70(
|
|
5326
5403
|
Cylinder13,
|
|
5327
5404
|
{
|
|
5328
5405
|
color: ACTUATOR_HIGHLIGHT,
|
|
@@ -5333,7 +5410,7 @@ var FPC = ({
|
|
|
5333
5410
|
},
|
|
5334
5411
|
`hinge:${direction}`
|
|
5335
5412
|
)),
|
|
5336
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5413
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx70(
|
|
5337
5414
|
RoundedCuboid3,
|
|
5338
5415
|
{
|
|
5339
5416
|
color: HOLD_DOWN_COLOR,
|
|
@@ -5343,7 +5420,7 @@ var FPC = ({
|
|
|
5343
5420
|
},
|
|
5344
5421
|
`hold-down-wall:${direction}`
|
|
5345
5422
|
)),
|
|
5346
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5423
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx70(
|
|
5347
5424
|
RoundedCuboid3,
|
|
5348
5425
|
{
|
|
5349
5426
|
color: HOLD_DOWN_HIGHLIGHT,
|
|
@@ -5353,16 +5430,16 @@ var FPC = ({
|
|
|
5353
5430
|
},
|
|
5354
5431
|
`hold-down-cap:${direction}`
|
|
5355
5432
|
)),
|
|
5356
|
-
/* @__PURE__ */
|
|
5357
|
-
|
|
5433
|
+
/* @__PURE__ */ jsx70(
|
|
5434
|
+
Cuboid46,
|
|
5358
5435
|
{
|
|
5359
5436
|
color: HOUSING_SHADOW,
|
|
5360
5437
|
center: [0, housingCenterY, 0.025],
|
|
5361
5438
|
size: [openingWidth + 0.7, housingDepth * 0.58, 0.05]
|
|
5362
5439
|
}
|
|
5363
5440
|
),
|
|
5364
|
-
/* @__PURE__ */
|
|
5365
|
-
|
|
5441
|
+
/* @__PURE__ */ jsx70(
|
|
5442
|
+
Cuboid46,
|
|
5366
5443
|
{
|
|
5367
5444
|
color: HOUSING_SHADOW,
|
|
5368
5445
|
center: [
|
|
@@ -5377,8 +5454,8 @@ var FPC = ({
|
|
|
5377
5454
|
};
|
|
5378
5455
|
|
|
5379
5456
|
// lib/SmdPinHeader.tsx
|
|
5380
|
-
import { Colorize as Colorize39, Cuboid as
|
|
5381
|
-
import { Fragment as
|
|
5457
|
+
import { Colorize as Colorize39, Cuboid as Cuboid47, Hull as Hull25, Translate as Translate32 } from "jscad-fiber";
|
|
5458
|
+
import { Fragment as Fragment65, jsx as jsx71, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5382
5459
|
var SmdPinHeader = ({
|
|
5383
5460
|
numberOfPins,
|
|
5384
5461
|
pitch = 2.54,
|
|
@@ -5393,52 +5470,52 @@ var SmdPinHeader = ({
|
|
|
5393
5470
|
const bodyTop = standoffHeight + bodyHeight;
|
|
5394
5471
|
const tailLength = tailSpan / 2;
|
|
5395
5472
|
const tipChamferHeight = pinThickness * 0.35;
|
|
5396
|
-
return /* @__PURE__ */
|
|
5473
|
+
return /* @__PURE__ */ jsx71(Fragment65, { children: Array.from({ length: numberOfPins }, (_, index) => {
|
|
5397
5474
|
const x = xStart + index * pitch;
|
|
5398
5475
|
const tailDirection = index % 2 === 0 ? 1 : -1;
|
|
5399
5476
|
const postBodyLength = matingPinLength - tipChamferHeight;
|
|
5400
5477
|
const verticalTailLength = standoffHeight - pinThickness / 2;
|
|
5401
|
-
return /* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5403
|
-
|
|
5478
|
+
return /* @__PURE__ */ jsxs67(Translate32, { x, children: [
|
|
5479
|
+
/* @__PURE__ */ jsx71(
|
|
5480
|
+
Cuboid47,
|
|
5404
5481
|
{
|
|
5405
5482
|
color: "#222",
|
|
5406
5483
|
size: [pitch, bodyWidth, bodyHeight],
|
|
5407
5484
|
center: [0, 0, standoffHeight + bodyHeight / 2]
|
|
5408
5485
|
}
|
|
5409
5486
|
),
|
|
5410
|
-
/* @__PURE__ */
|
|
5411
|
-
/* @__PURE__ */
|
|
5412
|
-
|
|
5487
|
+
/* @__PURE__ */ jsxs67(Colorize39, { color: "#d4af37", children: [
|
|
5488
|
+
/* @__PURE__ */ jsx71(
|
|
5489
|
+
Cuboid47,
|
|
5413
5490
|
{
|
|
5414
5491
|
size: [pinThickness, tailLength, pinThickness],
|
|
5415
5492
|
center: [0, tailDirection * (tailLength / 2), pinThickness / 2]
|
|
5416
5493
|
}
|
|
5417
5494
|
),
|
|
5418
|
-
/* @__PURE__ */
|
|
5419
|
-
|
|
5495
|
+
/* @__PURE__ */ jsx71(
|
|
5496
|
+
Cuboid47,
|
|
5420
5497
|
{
|
|
5421
5498
|
size: [pinThickness, pinThickness, verticalTailLength],
|
|
5422
5499
|
center: [0, 0, pinThickness / 2 + verticalTailLength / 2]
|
|
5423
5500
|
}
|
|
5424
5501
|
),
|
|
5425
|
-
/* @__PURE__ */
|
|
5426
|
-
|
|
5502
|
+
/* @__PURE__ */ jsx71(
|
|
5503
|
+
Cuboid47,
|
|
5427
5504
|
{
|
|
5428
5505
|
size: [pinThickness, pinThickness, postBodyLength],
|
|
5429
5506
|
center: [0, 0, bodyTop + postBodyLength / 2]
|
|
5430
5507
|
}
|
|
5431
5508
|
),
|
|
5432
|
-
/* @__PURE__ */
|
|
5433
|
-
/* @__PURE__ */
|
|
5434
|
-
|
|
5509
|
+
/* @__PURE__ */ jsxs67(Hull25, { children: [
|
|
5510
|
+
/* @__PURE__ */ jsx71(
|
|
5511
|
+
Cuboid47,
|
|
5435
5512
|
{
|
|
5436
5513
|
size: [pinThickness, pinThickness, 0.01],
|
|
5437
5514
|
center: [0, 0, bodyTop + postBodyLength]
|
|
5438
5515
|
}
|
|
5439
5516
|
),
|
|
5440
|
-
/* @__PURE__ */
|
|
5441
|
-
|
|
5517
|
+
/* @__PURE__ */ jsx71(
|
|
5518
|
+
Cuboid47,
|
|
5442
5519
|
{
|
|
5443
5520
|
size: [pinThickness * 0.65, pinThickness * 0.65, 0.01],
|
|
5444
5521
|
center: [0, 0, bodyTop + matingPinLength]
|
|
@@ -5454,8 +5531,8 @@ var SmdPinHeader = ({
|
|
|
5454
5531
|
import { mm } from "@tscircuit/mm";
|
|
5455
5532
|
|
|
5456
5533
|
// lib/ParametricChip.tsx
|
|
5457
|
-
import { Cuboid as
|
|
5458
|
-
import { Fragment as
|
|
5534
|
+
import { Cuboid as Cuboid48 } from "jscad-fiber";
|
|
5535
|
+
import { Fragment as Fragment66, jsx as jsx72, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
5459
5536
|
var ParametricChip = ({
|
|
5460
5537
|
padPitch,
|
|
5461
5538
|
padHeight,
|
|
@@ -5466,25 +5543,25 @@ var ParametricChip = ({
|
|
|
5466
5543
|
const height10 = width10;
|
|
5467
5544
|
const terminatorWidth9 = fullLength10 * 0.2;
|
|
5468
5545
|
const bodyLength10 = fullLength10 - terminatorWidth9 * 2;
|
|
5469
|
-
return /* @__PURE__ */
|
|
5470
|
-
/* @__PURE__ */
|
|
5471
|
-
|
|
5546
|
+
return /* @__PURE__ */ jsxs68(Fragment66, { children: [
|
|
5547
|
+
/* @__PURE__ */ jsx72(
|
|
5548
|
+
Cuboid48,
|
|
5472
5549
|
{
|
|
5473
5550
|
size: [bodyLength10, width10, height10],
|
|
5474
5551
|
offset: [0, 0, height10 / 2],
|
|
5475
5552
|
color
|
|
5476
5553
|
}
|
|
5477
5554
|
),
|
|
5478
|
-
/* @__PURE__ */
|
|
5479
|
-
|
|
5555
|
+
/* @__PURE__ */ jsx72(
|
|
5556
|
+
Cuboid48,
|
|
5480
5557
|
{
|
|
5481
5558
|
size: [terminatorWidth9, height10, width10],
|
|
5482
5559
|
offset: [fullLength10 / 2 - terminatorWidth9 / 2, 0, height10 / 2],
|
|
5483
5560
|
color: "#ccc"
|
|
5484
5561
|
}
|
|
5485
5562
|
),
|
|
5486
|
-
/* @__PURE__ */
|
|
5487
|
-
|
|
5563
|
+
/* @__PURE__ */ jsx72(
|
|
5564
|
+
Cuboid48,
|
|
5488
5565
|
{
|
|
5489
5566
|
size: [terminatorWidth9, height10, width10],
|
|
5490
5567
|
offset: [-fullLength10 / 2 + terminatorWidth9 / 2, 0, height10 / 2],
|
|
@@ -5497,13 +5574,13 @@ var ParametricChip = ({
|
|
|
5497
5574
|
// lib/Led5050.tsx
|
|
5498
5575
|
import {
|
|
5499
5576
|
Colorize as Colorize40,
|
|
5500
|
-
Cuboid as
|
|
5577
|
+
Cuboid as Cuboid49,
|
|
5501
5578
|
Cylinder as Cylinder14,
|
|
5502
5579
|
Rotate as Rotate14,
|
|
5503
5580
|
Subtract as Subtract11,
|
|
5504
5581
|
Translate as Translate33
|
|
5505
5582
|
} from "jscad-fiber";
|
|
5506
|
-
import { Fragment as
|
|
5583
|
+
import { Fragment as Fragment67, jsx as jsx73, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
5507
5584
|
var Led5050 = ({
|
|
5508
5585
|
color = "#ffff00",
|
|
5509
5586
|
bodyColor = "#ffffff",
|
|
@@ -5524,10 +5601,10 @@ var Led5050 = ({
|
|
|
5524
5601
|
const cornerCutDepth = 0.3;
|
|
5525
5602
|
const leadYPositions = [-1.7, 0, 1.7];
|
|
5526
5603
|
const leadSides = [-1, 1];
|
|
5527
|
-
return /* @__PURE__ */
|
|
5604
|
+
return /* @__PURE__ */ jsxs69(Fragment67, { children: [
|
|
5528
5605
|
leadYPositions.flatMap(
|
|
5529
|
-
(y) => leadSides.map((side) => /* @__PURE__ */
|
|
5530
|
-
|
|
5606
|
+
(y) => leadSides.map((side) => /* @__PURE__ */ jsx73(
|
|
5607
|
+
Cuboid49,
|
|
5531
5608
|
{
|
|
5532
5609
|
color: leadColor,
|
|
5533
5610
|
size: [leadLength, leadWidth, leadThickness],
|
|
@@ -5536,8 +5613,8 @@ var Led5050 = ({
|
|
|
5536
5613
|
`${side}-${y}`
|
|
5537
5614
|
))
|
|
5538
5615
|
),
|
|
5539
|
-
/* @__PURE__ */
|
|
5540
|
-
/* @__PURE__ */
|
|
5616
|
+
/* @__PURE__ */ jsx73(Colorize40, { color: bodyColor, children: /* @__PURE__ */ jsxs69(Subtract11, { children: [
|
|
5617
|
+
/* @__PURE__ */ jsx73(
|
|
5541
5618
|
ChipBody,
|
|
5542
5619
|
{
|
|
5543
5620
|
width: bodySize,
|
|
@@ -5551,7 +5628,7 @@ var Led5050 = ({
|
|
|
5551
5628
|
includeNotch: false
|
|
5552
5629
|
}
|
|
5553
5630
|
),
|
|
5554
|
-
/* @__PURE__ */
|
|
5631
|
+
/* @__PURE__ */ jsx73(
|
|
5555
5632
|
Cylinder14,
|
|
5556
5633
|
{
|
|
5557
5634
|
radius: lensRadius,
|
|
@@ -5559,7 +5636,7 @@ var Led5050 = ({
|
|
|
5559
5636
|
center: [0, 0, bodyTop - lensHeight / 2]
|
|
5560
5637
|
}
|
|
5561
5638
|
),
|
|
5562
|
-
/* @__PURE__ */
|
|
5639
|
+
/* @__PURE__ */ jsx73(
|
|
5563
5640
|
Translate33,
|
|
5564
5641
|
{
|
|
5565
5642
|
offset: [
|
|
@@ -5567,11 +5644,11 @@ var Led5050 = ({
|
|
|
5567
5644
|
bodySize / 2,
|
|
5568
5645
|
bodyTop - cornerCutDepth / 2 + 5e-3
|
|
5569
5646
|
],
|
|
5570
|
-
children: /* @__PURE__ */
|
|
5647
|
+
children: /* @__PURE__ */ jsx73(Rotate14, { rotation: [0, 0, Math.PI / 4], children: /* @__PURE__ */ jsx73(Cuboid49, { size: [0.9, 0.9, cornerCutDepth + 0.01] }) })
|
|
5571
5648
|
}
|
|
5572
5649
|
)
|
|
5573
5650
|
] }) }),
|
|
5574
|
-
/* @__PURE__ */
|
|
5651
|
+
/* @__PURE__ */ jsx73(
|
|
5575
5652
|
Cylinder14,
|
|
5576
5653
|
{
|
|
5577
5654
|
color,
|
|
@@ -5586,14 +5663,14 @@ var Led5050 = ({
|
|
|
5586
5663
|
// lib/RJ45.tsx
|
|
5587
5664
|
import {
|
|
5588
5665
|
Colorize as Colorize41,
|
|
5589
|
-
Cuboid as
|
|
5666
|
+
Cuboid as Cuboid50,
|
|
5590
5667
|
Cylinder as Cylinder15,
|
|
5591
5668
|
Rotate as Rotate15,
|
|
5592
5669
|
RoundedCuboid as RoundedCuboid4,
|
|
5593
5670
|
Subtract as Subtract12,
|
|
5594
5671
|
Translate as Translate34
|
|
5595
5672
|
} from "jscad-fiber";
|
|
5596
|
-
import { Fragment as
|
|
5673
|
+
import { Fragment as Fragment68, jsx as jsx74, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
5597
5674
|
var range2 = (length) => Array.from({ length }, (_, index) => index);
|
|
5598
5675
|
var RJ45 = ({
|
|
5599
5676
|
bodyWidth = 16.26,
|
|
@@ -5651,18 +5728,18 @@ var RJ45 = ({
|
|
|
5651
5728
|
const contactY = frontY - frontDirection * Math.max(cavityDepth * 0.48, 1.2);
|
|
5652
5729
|
const contactZ = openingCenterZ + openingHeight * 0.18;
|
|
5653
5730
|
const frontLipY = frontY + frontDirection * shellThickness * 0.2;
|
|
5654
|
-
return /* @__PURE__ */
|
|
5655
|
-
/* @__PURE__ */
|
|
5656
|
-
/* @__PURE__ */
|
|
5657
|
-
/* @__PURE__ */
|
|
5658
|
-
|
|
5731
|
+
return /* @__PURE__ */ jsxs70(Fragment68, { children: [
|
|
5732
|
+
/* @__PURE__ */ jsxs70(Colorize41, { color: shellColor, children: [
|
|
5733
|
+
/* @__PURE__ */ jsxs70(Subtract12, { children: [
|
|
5734
|
+
/* @__PURE__ */ jsx74(
|
|
5735
|
+
Cuboid50,
|
|
5659
5736
|
{
|
|
5660
5737
|
center: [0, bodyCenterY, bodyHeight / 2],
|
|
5661
5738
|
size: [bodyWidth, bodyDepth, bodyHeight]
|
|
5662
5739
|
}
|
|
5663
5740
|
),
|
|
5664
|
-
/* @__PURE__ */
|
|
5665
|
-
|
|
5741
|
+
/* @__PURE__ */ jsx74(
|
|
5742
|
+
Cuboid50,
|
|
5666
5743
|
{
|
|
5667
5744
|
center: [0, cavityCenterY, openingCenterZ],
|
|
5668
5745
|
size: [
|
|
@@ -5673,15 +5750,15 @@ var RJ45 = ({
|
|
|
5673
5750
|
}
|
|
5674
5751
|
)
|
|
5675
5752
|
] }),
|
|
5676
|
-
/* @__PURE__ */
|
|
5677
|
-
|
|
5753
|
+
/* @__PURE__ */ jsx74(
|
|
5754
|
+
Cuboid50,
|
|
5678
5755
|
{
|
|
5679
5756
|
center: [0, frontLipY, 0.72],
|
|
5680
5757
|
size: [openingWidth + 0.5, shellThickness * 1.25, 1.05]
|
|
5681
5758
|
}
|
|
5682
5759
|
),
|
|
5683
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5684
|
-
|
|
5760
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx74(
|
|
5761
|
+
Cuboid50,
|
|
5685
5762
|
{
|
|
5686
5763
|
center: [direction * shieldPinX, shieldPinY, 0.25],
|
|
5687
5764
|
size: [
|
|
@@ -5692,8 +5769,8 @@ var RJ45 = ({
|
|
|
5692
5769
|
},
|
|
5693
5770
|
`shield-tab:${direction}`
|
|
5694
5771
|
)),
|
|
5695
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5696
|
-
|
|
5772
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx74(
|
|
5773
|
+
Cuboid50,
|
|
5697
5774
|
{
|
|
5698
5775
|
center: [
|
|
5699
5776
|
direction * bodyWidth * 0.24,
|
|
@@ -5705,9 +5782,9 @@ var RJ45 = ({
|
|
|
5705
5782
|
`top-seam:${direction}`
|
|
5706
5783
|
))
|
|
5707
5784
|
] }),
|
|
5708
|
-
/* @__PURE__ */
|
|
5709
|
-
/* @__PURE__ */
|
|
5710
|
-
/* @__PURE__ */
|
|
5785
|
+
/* @__PURE__ */ jsxs70(Colorize41, { color: housingColor, children: [
|
|
5786
|
+
/* @__PURE__ */ jsxs70(Subtract12, { children: [
|
|
5787
|
+
/* @__PURE__ */ jsx74(
|
|
5711
5788
|
RoundedCuboid4,
|
|
5712
5789
|
{
|
|
5713
5790
|
center: [0, cavityCenterY, openingCenterZ],
|
|
@@ -5719,8 +5796,8 @@ var RJ45 = ({
|
|
|
5719
5796
|
roundRadius: 0.22
|
|
5720
5797
|
}
|
|
5721
5798
|
),
|
|
5722
|
-
/* @__PURE__ */
|
|
5723
|
-
|
|
5799
|
+
/* @__PURE__ */ jsx74(
|
|
5800
|
+
Cuboid50,
|
|
5724
5801
|
{
|
|
5725
5802
|
center: [
|
|
5726
5803
|
0,
|
|
@@ -5735,14 +5812,14 @@ var RJ45 = ({
|
|
|
5735
5812
|
}
|
|
5736
5813
|
)
|
|
5737
5814
|
] }),
|
|
5738
|
-
/* @__PURE__ */
|
|
5739
|
-
|
|
5815
|
+
/* @__PURE__ */ jsx74(
|
|
5816
|
+
Cuboid50,
|
|
5740
5817
|
{
|
|
5741
5818
|
center: [0, backWallY, openingCenterZ],
|
|
5742
5819
|
size: [openingWidth - 1.15, shellThickness, openingHeight - 1.25]
|
|
5743
5820
|
}
|
|
5744
5821
|
),
|
|
5745
|
-
/* @__PURE__ */
|
|
5822
|
+
/* @__PURE__ */ jsx74(
|
|
5746
5823
|
RoundedCuboid4,
|
|
5747
5824
|
{
|
|
5748
5825
|
center: [0, frontY - frontDirection * cavityDepth * 0.28, 1.55],
|
|
@@ -5750,7 +5827,7 @@ var RJ45 = ({
|
|
|
5750
5827
|
roundRadius: 0.16
|
|
5751
5828
|
}
|
|
5752
5829
|
),
|
|
5753
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5830
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx74(
|
|
5754
5831
|
Cylinder15,
|
|
5755
5832
|
{
|
|
5756
5833
|
center: [direction * locatorHoleX, locatorHoleY, -0.25],
|
|
@@ -5760,8 +5837,8 @@ var RJ45 = ({
|
|
|
5760
5837
|
`locator:${direction}`
|
|
5761
5838
|
))
|
|
5762
5839
|
] }),
|
|
5763
|
-
/* @__PURE__ */
|
|
5764
|
-
signalPinPositions.map(({ x, y }, index) => /* @__PURE__ */
|
|
5840
|
+
/* @__PURE__ */ jsxs70(Colorize41, { color: contactColor, children: [
|
|
5841
|
+
signalPinPositions.map(({ x, y }, index) => /* @__PURE__ */ jsx74(
|
|
5765
5842
|
Cylinder15,
|
|
5766
5843
|
{
|
|
5767
5844
|
center: [x, y, 0.15],
|
|
@@ -5770,7 +5847,7 @@ var RJ45 = ({
|
|
|
5770
5847
|
},
|
|
5771
5848
|
`signal-lead:${index}`
|
|
5772
5849
|
)),
|
|
5773
|
-
range2(8).map((index) => /* @__PURE__ */
|
|
5850
|
+
range2(8).map((index) => /* @__PURE__ */ jsx74(
|
|
5774
5851
|
Translate34,
|
|
5775
5852
|
{
|
|
5776
5853
|
offset: [
|
|
@@ -5778,7 +5855,7 @@ var RJ45 = ({
|
|
|
5778
5855
|
contactY,
|
|
5779
5856
|
contactZ + (index % 2 === 0 ? 0.03 : -0.03)
|
|
5780
5857
|
],
|
|
5781
|
-
children: /* @__PURE__ */
|
|
5858
|
+
children: /* @__PURE__ */ jsx74(Rotate15, { rotation: [frontDirection * 0.2, 0, 0], children: /* @__PURE__ */ jsx74(
|
|
5782
5859
|
RoundedCuboid4,
|
|
5783
5860
|
{
|
|
5784
5861
|
size: [Math.max(contactPitch * 0.28, 0.28), 3.25, 0.16],
|
|
@@ -5788,7 +5865,7 @@ var RJ45 = ({
|
|
|
5788
5865
|
},
|
|
5789
5866
|
`socket-contact:${index}`
|
|
5790
5867
|
)),
|
|
5791
|
-
ledPins && ledPinPositions.map((x, index) => /* @__PURE__ */
|
|
5868
|
+
ledPins && ledPinPositions.map((x, index) => /* @__PURE__ */ jsx74(
|
|
5792
5869
|
Cylinder15,
|
|
5793
5870
|
{
|
|
5794
5871
|
center: [x, ledPinY, 0.15],
|
|
@@ -5798,8 +5875,8 @@ var RJ45 = ({
|
|
|
5798
5875
|
`led-lead:${index}`
|
|
5799
5876
|
))
|
|
5800
5877
|
] }),
|
|
5801
|
-
ledPins && /* @__PURE__ */
|
|
5802
|
-
/* @__PURE__ */
|
|
5878
|
+
ledPins && /* @__PURE__ */ jsxs70(Fragment68, { children: [
|
|
5879
|
+
/* @__PURE__ */ jsx74(
|
|
5803
5880
|
RoundedCuboid4,
|
|
5804
5881
|
{
|
|
5805
5882
|
color: "#73b744",
|
|
@@ -5812,7 +5889,7 @@ var RJ45 = ({
|
|
|
5812
5889
|
roundRadius: 0.18
|
|
5813
5890
|
}
|
|
5814
5891
|
),
|
|
5815
|
-
/* @__PURE__ */
|
|
5892
|
+
/* @__PURE__ */ jsx74(
|
|
5816
5893
|
RoundedCuboid4,
|
|
5817
5894
|
{
|
|
5818
5895
|
color: "#e0aa35",
|
|
@@ -5830,7 +5907,7 @@ var RJ45 = ({
|
|
|
5830
5907
|
};
|
|
5831
5908
|
|
|
5832
5909
|
// lib/Footprinter3d.tsx
|
|
5833
|
-
import { jsx as
|
|
5910
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
5834
5911
|
var Footprinter3d = ({ footprint }) => {
|
|
5835
5912
|
let normalizedFootprint = footprint;
|
|
5836
5913
|
if (footprint.startsWith("jstzh1_5mm")) {
|
|
@@ -5843,7 +5920,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5843
5920
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
5844
5921
|
switch (fpJson.fn) {
|
|
5845
5922
|
case "crystal":
|
|
5846
|
-
return /* @__PURE__ */
|
|
5923
|
+
return /* @__PURE__ */ jsx75(
|
|
5847
5924
|
Crystal,
|
|
5848
5925
|
{
|
|
5849
5926
|
horizontalPadPitch: fpJson.px,
|
|
@@ -5853,11 +5930,11 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5853
5930
|
}
|
|
5854
5931
|
);
|
|
5855
5932
|
case "dip":
|
|
5856
|
-
return /* @__PURE__ */
|
|
5933
|
+
return /* @__PURE__ */ jsx75(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
5857
5934
|
case "axial":
|
|
5858
|
-
return /* @__PURE__ */
|
|
5935
|
+
return /* @__PURE__ */ jsx75(AxialCapacitor, { pitch: fpJson.p });
|
|
5859
5936
|
case "tssop":
|
|
5860
|
-
return /* @__PURE__ */
|
|
5937
|
+
return /* @__PURE__ */ jsx75(
|
|
5861
5938
|
Tssop,
|
|
5862
5939
|
{
|
|
5863
5940
|
pinCount: fpJson.num_pins,
|
|
@@ -5868,7 +5945,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5868
5945
|
}
|
|
5869
5946
|
);
|
|
5870
5947
|
case "msop":
|
|
5871
|
-
return /* @__PURE__ */
|
|
5948
|
+
return /* @__PURE__ */ jsx75(
|
|
5872
5949
|
MSOP,
|
|
5873
5950
|
{
|
|
5874
5951
|
pinCount: fpJson.num_pins,
|
|
@@ -5879,7 +5956,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5879
5956
|
}
|
|
5880
5957
|
);
|
|
5881
5958
|
case "vssop":
|
|
5882
|
-
return /* @__PURE__ */
|
|
5959
|
+
return /* @__PURE__ */ jsx75(
|
|
5883
5960
|
VSSOP,
|
|
5884
5961
|
{
|
|
5885
5962
|
pinCount: fpJson.num_pins,
|
|
@@ -5891,7 +5968,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5891
5968
|
}
|
|
5892
5969
|
);
|
|
5893
5970
|
case "qfp":
|
|
5894
|
-
return /* @__PURE__ */
|
|
5971
|
+
return /* @__PURE__ */ jsx75(
|
|
5895
5972
|
QFP,
|
|
5896
5973
|
{
|
|
5897
5974
|
pinCount: fpJson.num_pins,
|
|
@@ -5902,12 +5979,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5902
5979
|
}
|
|
5903
5980
|
);
|
|
5904
5981
|
case "tqfp":
|
|
5905
|
-
return /* @__PURE__ */
|
|
5982
|
+
return /* @__PURE__ */ jsx75(tqfp_default, {});
|
|
5906
5983
|
case "lqfp":
|
|
5907
|
-
return /* @__PURE__ */
|
|
5984
|
+
return /* @__PURE__ */ jsx75(LQFP, { pinCount: fpJson.num_pins });
|
|
5908
5985
|
case "qfn": {
|
|
5909
5986
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
5910
|
-
return /* @__PURE__ */
|
|
5987
|
+
return /* @__PURE__ */ jsx75(
|
|
5911
5988
|
qfn_default,
|
|
5912
5989
|
{
|
|
5913
5990
|
num_pins: fpJson.num_pins,
|
|
@@ -5925,7 +6002,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5925
6002
|
}
|
|
5926
6003
|
case "dfn": {
|
|
5927
6004
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
5928
|
-
return /* @__PURE__ */
|
|
6005
|
+
return /* @__PURE__ */ jsx75(
|
|
5929
6006
|
DFN,
|
|
5930
6007
|
{
|
|
5931
6008
|
num_pins: fpJson.num_pins,
|
|
@@ -5945,7 +6022,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5945
6022
|
const rowsMatch = footprint.match(/_rows(\d+)/);
|
|
5946
6023
|
const rows = rowsMatch && rowsMatch[1] ? parseInt(rowsMatch[1], 10) : 1;
|
|
5947
6024
|
if (fpJson.male)
|
|
5948
|
-
return /* @__PURE__ */
|
|
6025
|
+
return /* @__PURE__ */ jsx75(
|
|
5949
6026
|
PinRow,
|
|
5950
6027
|
{
|
|
5951
6028
|
numberOfPins: fpJson.num_pins,
|
|
@@ -5958,7 +6035,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5958
6035
|
}
|
|
5959
6036
|
);
|
|
5960
6037
|
if (fpJson.female)
|
|
5961
|
-
return /* @__PURE__ */
|
|
6038
|
+
return /* @__PURE__ */ jsx75(
|
|
5962
6039
|
FemaleHeaderRow,
|
|
5963
6040
|
{
|
|
5964
6041
|
numberOfPins: fpJson.num_pins,
|
|
@@ -5968,7 +6045,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5968
6045
|
);
|
|
5969
6046
|
}
|
|
5970
6047
|
case "smdpinheader":
|
|
5971
|
-
return /* @__PURE__ */
|
|
6048
|
+
return /* @__PURE__ */ jsx75(
|
|
5972
6049
|
SmdPinHeader,
|
|
5973
6050
|
{
|
|
5974
6051
|
numberOfPins: fpJson.num_pins,
|
|
@@ -5977,52 +6054,52 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5977
6054
|
}
|
|
5978
6055
|
);
|
|
5979
6056
|
case "led5050":
|
|
5980
|
-
return /* @__PURE__ */
|
|
6057
|
+
return /* @__PURE__ */ jsx75(Led5050, { color });
|
|
5981
6058
|
case "cap": {
|
|
5982
6059
|
switch (fpJson.imperial) {
|
|
5983
6060
|
case "0402":
|
|
5984
|
-
return /* @__PURE__ */
|
|
6061
|
+
return /* @__PURE__ */ jsx75(A0402, { color: "#856c4d" });
|
|
5985
6062
|
case "0603":
|
|
5986
|
-
return /* @__PURE__ */
|
|
6063
|
+
return /* @__PURE__ */ jsx75(A0603, { color: "#856c4d" });
|
|
5987
6064
|
case "0805":
|
|
5988
|
-
return /* @__PURE__ */
|
|
6065
|
+
return /* @__PURE__ */ jsx75(A0805, { color: "#856c4d" });
|
|
5989
6066
|
case "0201":
|
|
5990
|
-
return /* @__PURE__ */
|
|
6067
|
+
return /* @__PURE__ */ jsx75(A0201, { color: "#856c4d" });
|
|
5991
6068
|
case "01005":
|
|
5992
|
-
return /* @__PURE__ */
|
|
6069
|
+
return /* @__PURE__ */ jsx75(A01005, { color: "#856c4d" });
|
|
5993
6070
|
case "1206":
|
|
5994
|
-
return /* @__PURE__ */
|
|
6071
|
+
return /* @__PURE__ */ jsx75(A1206, { color: "#856c4d" });
|
|
5995
6072
|
case "1210":
|
|
5996
|
-
return /* @__PURE__ */
|
|
6073
|
+
return /* @__PURE__ */ jsx75(A1210, { color: "#856c4d" });
|
|
5997
6074
|
case "2010":
|
|
5998
|
-
return /* @__PURE__ */
|
|
6075
|
+
return /* @__PURE__ */ jsx75(A2010, { color: "#856c4d" });
|
|
5999
6076
|
case "2512":
|
|
6000
|
-
return /* @__PURE__ */
|
|
6077
|
+
return /* @__PURE__ */ jsx75(A2512, { color: "#856c4d" });
|
|
6001
6078
|
}
|
|
6002
6079
|
break;
|
|
6003
6080
|
}
|
|
6004
6081
|
case "sot235":
|
|
6005
|
-
return /* @__PURE__ */
|
|
6082
|
+
return /* @__PURE__ */ jsx75(SOT_235_default, {});
|
|
6006
6083
|
case "sot457":
|
|
6007
|
-
return /* @__PURE__ */
|
|
6084
|
+
return /* @__PURE__ */ jsx75(SOT457, {});
|
|
6008
6085
|
case "sot223":
|
|
6009
|
-
return /* @__PURE__ */
|
|
6086
|
+
return /* @__PURE__ */ jsx75(SOT223, {});
|
|
6010
6087
|
case "sot23w":
|
|
6011
|
-
return /* @__PURE__ */
|
|
6088
|
+
return /* @__PURE__ */ jsx75(SOT23W, {});
|
|
6012
6089
|
case "sot323":
|
|
6013
|
-
return /* @__PURE__ */
|
|
6090
|
+
return /* @__PURE__ */ jsx75(SOT323, {});
|
|
6014
6091
|
case "sod323f":
|
|
6015
|
-
return /* @__PURE__ */
|
|
6092
|
+
return /* @__PURE__ */ jsx75(SOD323F, {});
|
|
6016
6093
|
case "sod323fl":
|
|
6017
|
-
return /* @__PURE__ */
|
|
6094
|
+
return /* @__PURE__ */ jsx75(SOD323FL, {});
|
|
6018
6095
|
case "sot363":
|
|
6019
|
-
return /* @__PURE__ */
|
|
6096
|
+
return /* @__PURE__ */ jsx75(SOT_363_default, {});
|
|
6020
6097
|
case "sot886":
|
|
6021
|
-
return /* @__PURE__ */
|
|
6098
|
+
return /* @__PURE__ */ jsx75(SOT886, {});
|
|
6022
6099
|
case "sot963":
|
|
6023
|
-
return /* @__PURE__ */
|
|
6100
|
+
return /* @__PURE__ */ jsx75(SOT963, {});
|
|
6024
6101
|
case "pushbutton":
|
|
6025
|
-
return /* @__PURE__ */
|
|
6102
|
+
return /* @__PURE__ */ jsx75(
|
|
6026
6103
|
PushButton,
|
|
6027
6104
|
{
|
|
6028
6105
|
width: fpJson.w,
|
|
@@ -6032,11 +6109,11 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6032
6109
|
);
|
|
6033
6110
|
case "jst":
|
|
6034
6111
|
if (fpJson.zh) {
|
|
6035
|
-
return /* @__PURE__ */
|
|
6112
|
+
return /* @__PURE__ */ jsx75(JSTZH1_5mm, { numPins: fpJson.num_pins });
|
|
6036
6113
|
}
|
|
6037
6114
|
break;
|
|
6038
6115
|
case "fpc":
|
|
6039
|
-
return /* @__PURE__ */
|
|
6116
|
+
return /* @__PURE__ */ jsx75(
|
|
6040
6117
|
FPC,
|
|
6041
6118
|
{
|
|
6042
6119
|
pinCount: fpJson.num_pins,
|
|
@@ -6056,7 +6133,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6056
6133
|
}
|
|
6057
6134
|
);
|
|
6058
6135
|
case "rj45":
|
|
6059
|
-
return /* @__PURE__ */
|
|
6136
|
+
return /* @__PURE__ */ jsx75(
|
|
6060
6137
|
RJ45,
|
|
6061
6138
|
{
|
|
6062
6139
|
bodyWidth: fpJson.w,
|
|
@@ -6080,7 +6157,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6080
6157
|
}
|
|
6081
6158
|
);
|
|
6082
6159
|
case "soic":
|
|
6083
|
-
return /* @__PURE__ */
|
|
6160
|
+
return /* @__PURE__ */ jsx75(
|
|
6084
6161
|
SOIC,
|
|
6085
6162
|
{
|
|
6086
6163
|
pinCount: fpJson.num_pins,
|
|
@@ -6091,41 +6168,43 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6091
6168
|
}
|
|
6092
6169
|
);
|
|
6093
6170
|
case "sod523":
|
|
6094
|
-
return /* @__PURE__ */
|
|
6171
|
+
return /* @__PURE__ */ jsx75(SOD523, {});
|
|
6095
6172
|
case "sod723":
|
|
6096
|
-
return /* @__PURE__ */
|
|
6173
|
+
return /* @__PURE__ */ jsx75(SOD723_default, {});
|
|
6097
6174
|
case "sod882":
|
|
6098
|
-
return /* @__PURE__ */
|
|
6175
|
+
return /* @__PURE__ */ jsx75(SOD882, {});
|
|
6099
6176
|
case "sma":
|
|
6100
|
-
return /* @__PURE__ */
|
|
6177
|
+
return /* @__PURE__ */ jsx75(SMA, {});
|
|
6101
6178
|
case "smb":
|
|
6102
|
-
return /* @__PURE__ */
|
|
6179
|
+
return /* @__PURE__ */ jsx75(SMB, {});
|
|
6103
6180
|
case "smc":
|
|
6104
|
-
return /* @__PURE__ */
|
|
6181
|
+
return /* @__PURE__ */ jsx75(SMC, {});
|
|
6105
6182
|
case "smf":
|
|
6106
|
-
return /* @__PURE__ */
|
|
6183
|
+
return /* @__PURE__ */ jsx75(SMF, {});
|
|
6184
|
+
case "sod123":
|
|
6185
|
+
return /* @__PURE__ */ jsx75(SOD123, {});
|
|
6107
6186
|
case "sod123f":
|
|
6108
|
-
return /* @__PURE__ */
|
|
6187
|
+
return /* @__PURE__ */ jsx75(SOD123F, {});
|
|
6109
6188
|
case "sod123fl":
|
|
6110
|
-
return /* @__PURE__ */
|
|
6189
|
+
return /* @__PURE__ */ jsx75(SOD123FL, {});
|
|
6111
6190
|
case "sod123w":
|
|
6112
|
-
return /* @__PURE__ */
|
|
6191
|
+
return /* @__PURE__ */ jsx75(SOD123W, {});
|
|
6113
6192
|
case "sod128":
|
|
6114
|
-
return /* @__PURE__ */
|
|
6193
|
+
return /* @__PURE__ */ jsx75(SOD128, {});
|
|
6115
6194
|
case "sod323":
|
|
6116
|
-
return /* @__PURE__ */
|
|
6195
|
+
return /* @__PURE__ */ jsx75(SOD323, {});
|
|
6117
6196
|
case "sod923":
|
|
6118
|
-
return /* @__PURE__ */
|
|
6197
|
+
return /* @__PURE__ */ jsx75(SOD923, {});
|
|
6119
6198
|
case "hc49":
|
|
6120
|
-
return /* @__PURE__ */
|
|
6199
|
+
return /* @__PURE__ */ jsx75(HC49, {});
|
|
6121
6200
|
case "micromelf":
|
|
6122
|
-
return /* @__PURE__ */
|
|
6201
|
+
return /* @__PURE__ */ jsx75(MicroMELF, {});
|
|
6123
6202
|
case "minimelf":
|
|
6124
|
-
return /* @__PURE__ */
|
|
6203
|
+
return /* @__PURE__ */ jsx75(MINIMELF, {});
|
|
6125
6204
|
case "melf":
|
|
6126
|
-
return /* @__PURE__ */
|
|
6205
|
+
return /* @__PURE__ */ jsx75(MELF, {});
|
|
6127
6206
|
case "ms012":
|
|
6128
|
-
return /* @__PURE__ */
|
|
6207
|
+
return /* @__PURE__ */ jsx75(
|
|
6129
6208
|
MS012,
|
|
6130
6209
|
{
|
|
6131
6210
|
pinCount: fpJson.num_pins,
|
|
@@ -6135,7 +6214,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6135
6214
|
}
|
|
6136
6215
|
);
|
|
6137
6216
|
case "ms013":
|
|
6138
|
-
return /* @__PURE__ */
|
|
6217
|
+
return /* @__PURE__ */ jsx75(
|
|
6139
6218
|
MS013,
|
|
6140
6219
|
{
|
|
6141
6220
|
pinCount: fpJson.num_pins,
|
|
@@ -6145,14 +6224,14 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6145
6224
|
}
|
|
6146
6225
|
);
|
|
6147
6226
|
case "sot723":
|
|
6148
|
-
return /* @__PURE__ */
|
|
6227
|
+
return /* @__PURE__ */ jsx75(SOT723, {});
|
|
6149
6228
|
case "to220":
|
|
6150
|
-
return /* @__PURE__ */
|
|
6229
|
+
return /* @__PURE__ */ jsx75(TO220, {});
|
|
6151
6230
|
case "to92":
|
|
6152
|
-
return /* @__PURE__ */
|
|
6231
|
+
return /* @__PURE__ */ jsx75(TO92, {});
|
|
6153
6232
|
case "stampboard":
|
|
6154
6233
|
case "stampreceiver":
|
|
6155
|
-
return /* @__PURE__ */
|
|
6234
|
+
return /* @__PURE__ */ jsx75(
|
|
6156
6235
|
StampBoard,
|
|
6157
6236
|
{
|
|
6158
6237
|
bodyWidth: fpJson.w,
|
|
@@ -6176,7 +6255,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6176
6255
|
const pinRow = fpJson.pinrow;
|
|
6177
6256
|
const pinRowHoleEdgeToEdgeDist = fpJson.pinRowHoleEdgeToEdgeDist;
|
|
6178
6257
|
const holes = Array.isArray(fpJson.holes) ? fpJson.holes : [];
|
|
6179
|
-
return /* @__PURE__ */
|
|
6258
|
+
return /* @__PURE__ */ jsx75(
|
|
6180
6259
|
MountedPcbModule,
|
|
6181
6260
|
{
|
|
6182
6261
|
numPins: pinRow,
|
|
@@ -6203,29 +6282,29 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6203
6282
|
}
|
|
6204
6283
|
switch (fpJson.imperial) {
|
|
6205
6284
|
case "0402":
|
|
6206
|
-
return /* @__PURE__ */
|
|
6285
|
+
return /* @__PURE__ */ jsx75(A0402, { color });
|
|
6207
6286
|
case "0603":
|
|
6208
|
-
return /* @__PURE__ */
|
|
6287
|
+
return /* @__PURE__ */ jsx75(A0603, { color });
|
|
6209
6288
|
case "0805":
|
|
6210
|
-
return /* @__PURE__ */
|
|
6289
|
+
return /* @__PURE__ */ jsx75(A0805, { color });
|
|
6211
6290
|
case "0201":
|
|
6212
|
-
return /* @__PURE__ */
|
|
6291
|
+
return /* @__PURE__ */ jsx75(A0201, { color });
|
|
6213
6292
|
case "01005":
|
|
6214
|
-
return /* @__PURE__ */
|
|
6293
|
+
return /* @__PURE__ */ jsx75(A01005, { color });
|
|
6215
6294
|
case "1206":
|
|
6216
|
-
return /* @__PURE__ */
|
|
6295
|
+
return /* @__PURE__ */ jsx75(A1206, { color });
|
|
6217
6296
|
case "1210":
|
|
6218
|
-
return /* @__PURE__ */
|
|
6297
|
+
return /* @__PURE__ */ jsx75(A1210, { color });
|
|
6219
6298
|
case "2010":
|
|
6220
|
-
return /* @__PURE__ */
|
|
6299
|
+
return /* @__PURE__ */ jsx75(A2010, { color });
|
|
6221
6300
|
case "2512":
|
|
6222
|
-
return /* @__PURE__ */
|
|
6301
|
+
return /* @__PURE__ */ jsx75(A2512, { color });
|
|
6223
6302
|
}
|
|
6224
6303
|
if ((fpJson.fn === "res" || fpJson.fn === "cap") && fpJson.p !== void 0 && fpJson.ph !== void 0) {
|
|
6225
6304
|
const padPitch = mm(fpJson.p);
|
|
6226
6305
|
const padHeight = mm(fpJson.ph);
|
|
6227
6306
|
if (Number.isFinite(padPitch) && Number.isFinite(padHeight)) {
|
|
6228
|
-
return /* @__PURE__ */
|
|
6307
|
+
return /* @__PURE__ */ jsx75(
|
|
6229
6308
|
ParametricChip,
|
|
6230
6309
|
{
|
|
6231
6310
|
padPitch,
|
|
@@ -6239,7 +6318,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6239
6318
|
};
|
|
6240
6319
|
|
|
6241
6320
|
// lib/SOT-23-3P.tsx
|
|
6242
|
-
import { Fragment as
|
|
6321
|
+
import { Fragment as Fragment69, jsx as jsx76, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
6243
6322
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
6244
6323
|
const bodyWidth = 1.3;
|
|
6245
6324
|
const bodyLength10 = 2.9;
|
|
@@ -6250,8 +6329,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
6250
6329
|
const padContactLength = 0.4;
|
|
6251
6330
|
const padThickness = leadThickness / 2;
|
|
6252
6331
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
6253
|
-
return /* @__PURE__ */
|
|
6254
|
-
/* @__PURE__ */
|
|
6332
|
+
return /* @__PURE__ */ jsxs71(Fragment69, { children: [
|
|
6333
|
+
/* @__PURE__ */ jsx76(
|
|
6255
6334
|
SmdChipLead,
|
|
6256
6335
|
{
|
|
6257
6336
|
rotation: Math.PI,
|
|
@@ -6268,7 +6347,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
6268
6347
|
},
|
|
6269
6348
|
1
|
|
6270
6349
|
),
|
|
6271
|
-
/* @__PURE__ */
|
|
6350
|
+
/* @__PURE__ */ jsx76(
|
|
6272
6351
|
SmdChipLead,
|
|
6273
6352
|
{
|
|
6274
6353
|
rotation: Math.PI,
|
|
@@ -6285,7 +6364,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
6285
6364
|
},
|
|
6286
6365
|
2
|
|
6287
6366
|
),
|
|
6288
|
-
/* @__PURE__ */
|
|
6367
|
+
/* @__PURE__ */ jsx76(
|
|
6289
6368
|
SmdChipLead,
|
|
6290
6369
|
{
|
|
6291
6370
|
position: {
|
|
@@ -6301,7 +6380,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
6301
6380
|
},
|
|
6302
6381
|
3
|
|
6303
6382
|
),
|
|
6304
|
-
/* @__PURE__ */
|
|
6383
|
+
/* @__PURE__ */ jsx76(
|
|
6305
6384
|
ChipBody,
|
|
6306
6385
|
{
|
|
6307
6386
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -6314,8 +6393,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
6314
6393
|
};
|
|
6315
6394
|
|
|
6316
6395
|
// lib/SOT-563.tsx
|
|
6317
|
-
import { Cuboid as
|
|
6318
|
-
import { Fragment as
|
|
6396
|
+
import { Cuboid as Cuboid51, Translate as Translate35, Rotate as Rotate16, Colorize as Colorize42 } from "jscad-fiber";
|
|
6397
|
+
import { Fragment as Fragment70, jsx as jsx77, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
6319
6398
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
6320
6399
|
const bodyWidth = 1.2;
|
|
6321
6400
|
const bodyLength10 = 1.6;
|
|
@@ -6325,11 +6404,11 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
6325
6404
|
const leadHeight = 0.13;
|
|
6326
6405
|
const leadSpacing = 0.5;
|
|
6327
6406
|
const bodyZOffset = -0.4;
|
|
6328
|
-
return /* @__PURE__ */
|
|
6329
|
-
/* @__PURE__ */
|
|
6407
|
+
return /* @__PURE__ */ jsxs72(Fragment70, { children: [
|
|
6408
|
+
/* @__PURE__ */ jsx77(Rotate16, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx77(Translate35, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx77(Colorize42, { color: "grey", children: /* @__PURE__ */ jsx77(Cuboid51, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
6330
6409
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
6331
6410
|
// Left lead
|
|
6332
|
-
/* @__PURE__ */
|
|
6411
|
+
/* @__PURE__ */ jsx77(
|
|
6333
6412
|
Translate35,
|
|
6334
6413
|
{
|
|
6335
6414
|
center: [
|
|
@@ -6337,80 +6416,22 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
6337
6416
|
yOffset * leadSpacing,
|
|
6338
6417
|
leadHeight / 2
|
|
6339
6418
|
],
|
|
6340
|
-
children: /* @__PURE__ */
|
|
6419
|
+
children: /* @__PURE__ */ jsx77(Cuboid51, { size: [leadLength, leadWidth, leadHeight] })
|
|
6341
6420
|
},
|
|
6342
6421
|
`left-${index}`
|
|
6343
6422
|
),
|
|
6344
6423
|
// Right lead
|
|
6345
|
-
/* @__PURE__ */
|
|
6424
|
+
/* @__PURE__ */ jsx77(
|
|
6346
6425
|
Translate35,
|
|
6347
6426
|
{
|
|
6348
6427
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
6349
|
-
children: /* @__PURE__ */
|
|
6428
|
+
children: /* @__PURE__ */ jsx77(Cuboid51, { size: [leadLength, leadWidth, leadHeight] })
|
|
6350
6429
|
},
|
|
6351
6430
|
`right-${index}`
|
|
6352
6431
|
)
|
|
6353
6432
|
])
|
|
6354
6433
|
] });
|
|
6355
6434
|
};
|
|
6356
|
-
|
|
6357
|
-
// lib/sod-123.tsx
|
|
6358
|
-
import { Fragment as Fragment70, jsx as jsx77, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
6359
|
-
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
6360
|
-
const bodyWidth = 2.9;
|
|
6361
|
-
const bodyLength10 = 1.3;
|
|
6362
|
-
const bodyHeight = 1.1;
|
|
6363
|
-
const leadWidth = 0.8;
|
|
6364
|
-
const leadThickness = 0.15;
|
|
6365
|
-
const leadHeight = 0.5;
|
|
6366
|
-
const padContactLength = 0.4;
|
|
6367
|
-
const padThickness = leadThickness / 2;
|
|
6368
|
-
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
6369
|
-
return /* @__PURE__ */ jsxs72(Fragment70, { children: [
|
|
6370
|
-
/* @__PURE__ */ jsx77(
|
|
6371
|
-
SmdChipLead,
|
|
6372
|
-
{
|
|
6373
|
-
position: {
|
|
6374
|
-
x: -fullWidth / 2 + leadWidth / 2,
|
|
6375
|
-
y: 0,
|
|
6376
|
-
z: padThickness
|
|
6377
|
-
},
|
|
6378
|
-
width: leadWidth,
|
|
6379
|
-
thickness: leadThickness,
|
|
6380
|
-
padContactLength,
|
|
6381
|
-
bodyDistance,
|
|
6382
|
-
height: leadHeight
|
|
6383
|
-
},
|
|
6384
|
-
1
|
|
6385
|
-
),
|
|
6386
|
-
/* @__PURE__ */ jsx77(
|
|
6387
|
-
SmdChipLead,
|
|
6388
|
-
{
|
|
6389
|
-
rotation: Math.PI,
|
|
6390
|
-
position: {
|
|
6391
|
-
x: fullWidth / 2 - leadWidth / 2,
|
|
6392
|
-
y: 0,
|
|
6393
|
-
z: padThickness
|
|
6394
|
-
},
|
|
6395
|
-
width: leadWidth,
|
|
6396
|
-
thickness: leadThickness,
|
|
6397
|
-
padContactLength,
|
|
6398
|
-
bodyDistance,
|
|
6399
|
-
height: leadHeight
|
|
6400
|
-
},
|
|
6401
|
-
2
|
|
6402
|
-
),
|
|
6403
|
-
/* @__PURE__ */ jsx77(
|
|
6404
|
-
ChipBody,
|
|
6405
|
-
{
|
|
6406
|
-
center: { x: 0, y: 0, z: 0 },
|
|
6407
|
-
width: bodyWidth,
|
|
6408
|
-
length: bodyLength10,
|
|
6409
|
-
height: bodyHeight
|
|
6410
|
-
}
|
|
6411
|
-
)
|
|
6412
|
-
] });
|
|
6413
|
-
};
|
|
6414
6435
|
export {
|
|
6415
6436
|
A01005,
|
|
6416
6437
|
A0201,
|