jscad-electronics 0.0.91 → 0.0.92

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/vanilla.js CHANGED
@@ -2985,6 +2985,137 @@ var TO220 = () => {
2985
2985
  ] }) });
2986
2986
  };
2987
2987
 
2988
+ // lib/SOT-363.tsx
2989
+ var SOT363 = () => {
2990
+ const fullWidth = 2;
2991
+ const bodyWidth = 1.25;
2992
+ const bodyLength10 = 2;
2993
+ const bodyHeight = 1.1;
2994
+ const leadWidth = 0.25;
2995
+ const leadThickness = 0.15;
2996
+ const leadHeight = 0.85;
2997
+ const padContactLength = 0.3;
2998
+ const extendedBodyDistance = fullWidth - bodyWidth;
2999
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
3000
+ /* @__PURE__ */ jsx(
3001
+ SmdChipLead,
3002
+ {
3003
+ rotation: Math.PI,
3004
+ position: {
3005
+ x: fullWidth / 2 + extendedBodyDistance / 4,
3006
+ y: -0.65,
3007
+ z: leadThickness / 2
3008
+ },
3009
+ width: leadWidth,
3010
+ thickness: leadThickness,
3011
+ padContactLength,
3012
+ bodyDistance: extendedBodyDistance,
3013
+ height: leadHeight
3014
+ },
3015
+ 1
3016
+ ),
3017
+ /* @__PURE__ */ jsx(
3018
+ SmdChipLead,
3019
+ {
3020
+ rotation: Math.PI,
3021
+ position: {
3022
+ x: fullWidth / 2 + extendedBodyDistance / 4,
3023
+ y: 0,
3024
+ z: leadThickness / 2
3025
+ },
3026
+ width: leadWidth,
3027
+ thickness: leadThickness,
3028
+ padContactLength,
3029
+ bodyDistance: extendedBodyDistance,
3030
+ height: leadHeight
3031
+ },
3032
+ 2
3033
+ ),
3034
+ /* @__PURE__ */ jsx(
3035
+ SmdChipLead,
3036
+ {
3037
+ rotation: Math.PI,
3038
+ position: {
3039
+ x: fullWidth / 2 + extendedBodyDistance / 4,
3040
+ y: 0.65,
3041
+ z: leadThickness / 2
3042
+ },
3043
+ width: leadWidth,
3044
+ thickness: leadThickness,
3045
+ padContactLength,
3046
+ bodyDistance: extendedBodyDistance,
3047
+ height: leadHeight
3048
+ },
3049
+ 3
3050
+ ),
3051
+ /* @__PURE__ */ jsx(
3052
+ SmdChipLead,
3053
+ {
3054
+ position: {
3055
+ x: -fullWidth / 2 - extendedBodyDistance / 4,
3056
+ y: 0,
3057
+ z: leadThickness / 2
3058
+ },
3059
+ width: leadWidth,
3060
+ thickness: leadThickness,
3061
+ padContactLength,
3062
+ bodyDistance: extendedBodyDistance,
3063
+ height: leadHeight
3064
+ },
3065
+ 3
3066
+ ),
3067
+ /* @__PURE__ */ jsx(
3068
+ SmdChipLead,
3069
+ {
3070
+ position: {
3071
+ x: -fullWidth / 2 - extendedBodyDistance / 4,
3072
+ y: -0.65,
3073
+ z: leadThickness / 2
3074
+ },
3075
+ width: leadWidth,
3076
+ thickness: leadThickness,
3077
+ padContactLength,
3078
+ bodyDistance: extendedBodyDistance,
3079
+ height: leadHeight
3080
+ },
3081
+ 1
3082
+ ),
3083
+ /* @__PURE__ */ jsx(
3084
+ SmdChipLead,
3085
+ {
3086
+ position: {
3087
+ x: -fullWidth / 2 - extendedBodyDistance / 4,
3088
+ y: 0.65,
3089
+ z: leadThickness / 2
3090
+ },
3091
+ width: leadWidth,
3092
+ thickness: leadThickness,
3093
+ padContactLength,
3094
+ bodyDistance: extendedBodyDistance,
3095
+ height: leadHeight
3096
+ },
3097
+ 2
3098
+ ),
3099
+ /* @__PURE__ */ jsx(
3100
+ ChipBody,
3101
+ {
3102
+ center: { x: 0, y: 0, z: 0 },
3103
+ width: bodyWidth,
3104
+ length: bodyLength10,
3105
+ height: bodyHeight,
3106
+ straightHeightRatio: 0.6,
3107
+ notchPosition: {
3108
+ x: bodyWidth / 2 - 0.25,
3109
+ y: bodyHeight / 2 + 0.2,
3110
+ z: bodyHeight
3111
+ },
3112
+ heightAboveSurface: 0.1
3113
+ }
3114
+ )
3115
+ ] });
3116
+ };
3117
+ var SOT_363_default = SOT363;
3118
+
2988
3119
  // lib/Footprinter3d.tsx
2989
3120
  var Footprinter3d = ({ footprint }) => {
2990
3121
  const fpJson = fp.string(footprint).json();
@@ -3109,6 +3240,8 @@ var Footprinter3d = ({ footprint }) => {
3109
3240
  return /* @__PURE__ */ jsx(SOT223, {});
3110
3241
  case "sot323":
3111
3242
  return /* @__PURE__ */ jsx(SOT323, {});
3243
+ case "sot363":
3244
+ return /* @__PURE__ */ jsx(SOT_363_default, {});
3112
3245
  case "pushbutton":
3113
3246
  return /* @__PURE__ */ jsx(
3114
3247
  PushButton,