jscad-electronics 0.0.70 → 0.0.71

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
@@ -2051,6 +2051,84 @@ var SOT223 = () => {
2051
2051
  ] });
2052
2052
  };
2053
2053
 
2054
+ // lib/SOT-323.tsx
2055
+ var SOT323 = () => {
2056
+ const fullWidth = 2.05;
2057
+ const bodyWidth = 1.25;
2058
+ const bodyLength10 = 2;
2059
+ const bodyHeight = 0.9;
2060
+ const leadWidth = 0.3;
2061
+ const leadThickness = 0.18;
2062
+ const leadHeight = 0.65;
2063
+ const padContactLength = 0.2;
2064
+ const padPitch = 0.65;
2065
+ const extendedBodyDistance = fullWidth - bodyWidth;
2066
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
2067
+ /* @__PURE__ */ jsx(
2068
+ SmdChipLead,
2069
+ {
2070
+ rotation: Math.PI,
2071
+ position: {
2072
+ x: fullWidth / 2 + extendedBodyDistance / 4,
2073
+ y: 0,
2074
+ z: leadThickness / 2
2075
+ },
2076
+ width: leadWidth,
2077
+ thickness: leadThickness,
2078
+ padContactLength,
2079
+ bodyDistance: extendedBodyDistance,
2080
+ height: leadHeight
2081
+ },
2082
+ 4
2083
+ ),
2084
+ /* @__PURE__ */ jsx(
2085
+ SmdChipLead,
2086
+ {
2087
+ position: {
2088
+ x: -fullWidth / 2 - extendedBodyDistance / 4,
2089
+ y: -padPitch,
2090
+ z: leadThickness / 2
2091
+ },
2092
+ width: leadWidth,
2093
+ thickness: leadThickness,
2094
+ padContactLength,
2095
+ bodyDistance: extendedBodyDistance,
2096
+ height: leadHeight
2097
+ },
2098
+ 1
2099
+ ),
2100
+ /* @__PURE__ */ jsx(
2101
+ SmdChipLead,
2102
+ {
2103
+ position: {
2104
+ x: -fullWidth / 2 - extendedBodyDistance / 4,
2105
+ y: padPitch,
2106
+ z: leadThickness / 2
2107
+ },
2108
+ width: leadWidth,
2109
+ thickness: leadThickness,
2110
+ padContactLength,
2111
+ bodyDistance: extendedBodyDistance,
2112
+ height: leadHeight
2113
+ },
2114
+ 2
2115
+ ),
2116
+ /* @__PURE__ */ jsx(
2117
+ ChipBody,
2118
+ {
2119
+ center: { x: 0, y: 0, z: 0 },
2120
+ width: bodyWidth,
2121
+ length: bodyLength10,
2122
+ height: bodyHeight,
2123
+ includeNotch: false,
2124
+ taperRatio: 0.06,
2125
+ straightHeightRatio: 0.7,
2126
+ heightAboveSurface: 0.05
2127
+ }
2128
+ )
2129
+ ] });
2130
+ };
2131
+
2054
2132
  // lib/Footprinter3d.tsx
2055
2133
  var Footprinter3d = ({ footprint }) => {
2056
2134
  const fpJson = fp.string(footprint).json();
@@ -2139,6 +2217,8 @@ var Footprinter3d = ({ footprint }) => {
2139
2217
  return /* @__PURE__ */ jsx(SOT_235_default, {});
2140
2218
  case "sot223":
2141
2219
  return /* @__PURE__ */ jsx(SOT223, {});
2220
+ case "sot323":
2221
+ return /* @__PURE__ */ jsx(SOT323, {});
2142
2222
  case "pushbutton":
2143
2223
  return /* @__PURE__ */ jsx(
2144
2224
  PushButton,