jscad-electronics 0.0.25 → 0.0.27

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.
Files changed (2) hide show
  1. package/dist/index.js +345 -93
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -7730,7 +7730,7 @@ var require_react_reconciler_development = __commonJS({
7730
7730
  var HostPortal = 4;
7731
7731
  var HostComponent = 5;
7732
7732
  var HostText = 6;
7733
- var Fragment22 = 7;
7733
+ var Fragment24 = 7;
7734
7734
  var Mode = 8;
7735
7735
  var ContextConsumer = 9;
7736
7736
  var ContextProvider = 10;
@@ -7870,7 +7870,7 @@ var require_react_reconciler_development = __commonJS({
7870
7870
  return "DehydratedFragment";
7871
7871
  case ForwardRef:
7872
7872
  return getWrappedName$1(type, type.render, "ForwardRef");
7873
- case Fragment22:
7873
+ case Fragment24:
7874
7874
  return "Fragment";
7875
7875
  case HostComponent:
7876
7876
  return type;
@@ -11004,7 +11004,7 @@ var require_react_reconciler_development = __commonJS({
11004
11004
  }
11005
11005
  }
11006
11006
  function updateFragment2(returnFiber, current2, fragment, lanes, key) {
11007
- if (current2 === null || current2.tag !== Fragment22) {
11007
+ if (current2 === null || current2.tag !== Fragment24) {
11008
11008
  var created = createFiberFromFragment(fragment, returnFiber.mode, lanes, key);
11009
11009
  created.return = returnFiber;
11010
11010
  return created;
@@ -11407,7 +11407,7 @@ var require_react_reconciler_development = __commonJS({
11407
11407
  if (child.key === key) {
11408
11408
  var elementType = element.type;
11409
11409
  if (elementType === REACT_FRAGMENT_TYPE) {
11410
- if (child.tag === Fragment22) {
11410
+ if (child.tag === Fragment24) {
11411
11411
  deleteRemainingChildren(returnFiber, child.sibling);
11412
11412
  var existing = useFiber(child, element.props.children);
11413
11413
  existing.return = returnFiber;
@@ -16898,7 +16898,7 @@ var require_react_reconciler_development = __commonJS({
16898
16898
  var _resolvedProps2 = workInProgress2.elementType === type ? _unresolvedProps2 : resolveDefaultProps(type, _unresolvedProps2);
16899
16899
  return updateForwardRef(current2, workInProgress2, type, _resolvedProps2, renderLanes2);
16900
16900
  }
16901
- case Fragment22:
16901
+ case Fragment24:
16902
16902
  return updateFragment(current2, workInProgress2, renderLanes2);
16903
16903
  case Mode:
16904
16904
  return updateMode(current2, workInProgress2, renderLanes2);
@@ -17335,7 +17335,7 @@ var require_react_reconciler_development = __commonJS({
17335
17335
  case SimpleMemoComponent:
17336
17336
  case FunctionComponent:
17337
17337
  case ForwardRef:
17338
- case Fragment22:
17338
+ case Fragment24:
17339
17339
  case Mode:
17340
17340
  case Profiler:
17341
17341
  case ContextConsumer:
@@ -22103,7 +22103,7 @@ var require_react_reconciler_development = __commonJS({
22103
22103
  return fiber;
22104
22104
  }
22105
22105
  function createFiberFromFragment(elements, mode, lanes, key) {
22106
- var fiber = createFiber(Fragment22, elements, key, mode);
22106
+ var fiber = createFiber(Fragment24, elements, key, mode);
22107
22107
  fiber.lanes = lanes;
22108
22108
  return fiber;
22109
22109
  }
@@ -23704,11 +23704,11 @@ var require_react_jsx_runtime_development = __commonJS({
23704
23704
  return jsxWithValidation(type, props, key, false);
23705
23705
  }
23706
23706
  }
23707
- var jsx27 = jsxWithValidationDynamic;
23708
- var jsxs23 = jsxWithValidationStatic;
23707
+ var jsx29 = jsxWithValidationDynamic;
23708
+ var jsxs25 = jsxWithValidationStatic;
23709
23709
  exports.Fragment = REACT_FRAGMENT_TYPE;
23710
- exports.jsx = jsx27;
23711
- exports.jsxs = jsxs23;
23710
+ exports.jsx = jsx29;
23711
+ exports.jsxs = jsxs25;
23712
23712
  })();
23713
23713
  }
23714
23714
  }
@@ -77296,33 +77296,33 @@ var require_dist = __commonJS({
77296
77296
  var lib_exports = {};
77297
77297
  __export2(lib_exports, {
77298
77298
  Circle: () => Circle,
77299
- Colorize: () => Colorize10,
77299
+ Colorize: () => Colorize12,
77300
77300
  Cube: () => Cube2,
77301
- Cuboid: () => Cuboid17,
77301
+ Cuboid: () => Cuboid19,
77302
77302
  Custom: () => Custom,
77303
- Cylinder: () => Cylinder3,
77303
+ Cylinder: () => Cylinder4,
77304
77304
  CylinderElliptic: () => CylinderElliptic,
77305
77305
  Ellipsoid: () => Ellipsoid,
77306
77306
  ExtrudeFromSlices: () => ExtrudeFromSlices,
77307
77307
  ExtrudeHelical: () => ExtrudeHelical,
77308
- ExtrudeLinear: () => ExtrudeLinear3,
77308
+ ExtrudeLinear: () => ExtrudeLinear4,
77309
77309
  ExtrudeRectangular: () => ExtrudeRectangular,
77310
77310
  ExtrudeRotate: () => ExtrudeRotate,
77311
77311
  GeodesicSphere: () => GeodesicSphere,
77312
- Hull: () => Hull2,
77312
+ Hull: () => Hull3,
77313
77313
  HullChain: () => HullChain2,
77314
77314
  JSCadThreeMesh: () => JSCadThreeMesh,
77315
77315
  JsCadView: () => JsCadView,
77316
- Polygon: () => Polygon3,
77316
+ Polygon: () => Polygon4,
77317
77317
  Project: () => Project,
77318
77318
  Rectangle: () => Rectangle,
77319
- Rotate: () => Rotate6,
77320
- RoundedCuboid: () => RoundedCuboid2,
77319
+ Rotate: () => Rotate7,
77320
+ RoundedCuboid: () => RoundedCuboid3,
77321
77321
  RoundedCylinder: () => RoundedCylinder,
77322
77322
  Sphere: () => Sphere2,
77323
- Subtract: () => Subtract2,
77323
+ Subtract: () => Subtract3,
77324
77324
  Torus: () => Torus,
77325
- Translate: () => Translate10,
77325
+ Translate: () => Translate11,
77326
77326
  Union: () => Union4,
77327
77327
  convertCSGToThreeGeom: () => convertCSGToThreeGeom,
77328
77328
  createJSCADRenderer: () => createJSCADRenderer,
@@ -77715,17 +77715,17 @@ var require_dist = __commonJS({
77715
77715
  };
77716
77716
  return hostConfig2;
77717
77717
  }
77718
- var import_jsx_runtime27 = require_jsx_runtime();
77718
+ var import_jsx_runtime29 = require_jsx_runtime();
77719
77719
  function Circle({ radius }) {
77720
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("circle", { radius });
77720
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("circle", { radius });
77721
77721
  }
77722
77722
  var import_color = __toESM2(require_color(), 1);
77723
- var import_jsx_runtime28 = require_jsx_runtime();
77724
- function Colorize10({ color, children }) {
77723
+ var import_jsx_runtime210 = require_jsx_runtime();
77724
+ function Colorize12({ color, children }) {
77725
77725
  if (!Array.isArray(color)) {
77726
77726
  color = (0, import_color.default)(color).rgb().array().map((v) => v / 255);
77727
77727
  }
77728
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("colorize", { color, children });
77728
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("colorize", { color, children });
77729
77729
  }
77730
77730
  var import_jsx_runtime32 = require_jsx_runtime();
77731
77731
  function withColorProp(WrappedComponent) {
@@ -77734,7 +77734,7 @@ var require_dist = __commonJS({
77734
77734
  if (!color) {
77735
77735
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(WrappedComponent, { ...restProps });
77736
77736
  }
77737
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Colorize10, { color, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(WrappedComponent, { ...restProps }) });
77737
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Colorize12, { color, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(WrappedComponent, { ...restProps }) });
77738
77738
  };
77739
77739
  WithColor.displayName = `WithColor(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
77740
77740
  return WithColor;
@@ -77747,7 +77747,7 @@ var require_dist = __commonJS({
77747
77747
  }
77748
77748
  return [point.x, point.y, point.z];
77749
77749
  };
77750
- function Translate10({
77750
+ function Translate11({
77751
77751
  offset,
77752
77752
  center,
77753
77753
  x,
@@ -77771,7 +77771,7 @@ var require_dist = __commonJS({
77771
77771
  if (!center && !offset) {
77772
77772
  return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(WrappedComponent, { ...restProps });
77773
77773
  }
77774
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Translate10, { offset: center || offset, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(WrappedComponent, { ...restProps }) });
77774
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Translate11, { offset: center || offset, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(WrappedComponent, { ...restProps }) });
77775
77775
  };
77776
77776
  WithOffset.displayName = `WithOffset(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
77777
77777
  return WithOffset;
@@ -77785,7 +77785,7 @@ var require_dist = __commonJS({
77785
77785
  var CuboidBase = ({ size }) => {
77786
77786
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("cuboid", { size });
77787
77787
  };
77788
- var Cuboid17 = withOffsetProp(withColorProp(CuboidBase));
77788
+ var Cuboid19 = withOffsetProp(withColorProp(CuboidBase));
77789
77789
  var import_jsx_runtime82 = require_jsx_runtime();
77790
77790
  function Custom({ geometry }) {
77791
77791
  return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("custom", { geometry });
@@ -77824,7 +77824,7 @@ var require_dist = __commonJS({
77824
77824
  const finalRotation = rotation ? processRotation(rotation) : processRotation(angles);
77825
77825
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("rotate", { angles: finalRotation, children });
77826
77826
  };
77827
- var Rotate6 = withOffsetProp(withColorProp(RotateBase));
77827
+ var Rotate7 = withOffsetProp(withColorProp(RotateBase));
77828
77828
  var import_jsx_runtime102 = require_jsx_runtime();
77829
77829
  function withRotationProp(WrappedComponent) {
77830
77830
  const WithRotation = (props) => {
@@ -77832,7 +77832,7 @@ var require_dist = __commonJS({
77832
77832
  if (!rotation) {
77833
77833
  return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(WrappedComponent, { ...restProps });
77834
77834
  }
77835
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Rotate6, { rotation, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(WrappedComponent, { ...restProps }) });
77835
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Rotate7, { rotation, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(WrappedComponent, { ...restProps }) });
77836
77836
  };
77837
77837
  WithRotation.displayName = `WithRotation(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
77838
77838
  return WithRotation;
@@ -77841,7 +77841,7 @@ var require_dist = __commonJS({
77841
77841
  var CylinderBase = ({ radius, height: height10 }) => {
77842
77842
  return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("cylinder", { radius, height: height10 });
77843
77843
  };
77844
- var Cylinder3 = withColorProp(
77844
+ var Cylinder4 = withColorProp(
77845
77845
  withOffsetProp(withRotationProp(CylinderBase))
77846
77846
  );
77847
77847
  var import_jsx_runtime122 = require_jsx_runtime();
@@ -77914,7 +77914,7 @@ var require_dist = __commonJS({
77914
77914
  }
77915
77915
  );
77916
77916
  };
77917
- var ExtrudeLinear3 = withOffsetProp(withColorProp(ExtrudeLinearBase));
77917
+ var ExtrudeLinear4 = withOffsetProp(withColorProp(ExtrudeLinearBase));
77918
77918
  var import_jsx_runtime162 = require_jsx_runtime();
77919
77919
  var ExtrudeRectangularBase = ({
77920
77920
  size,
@@ -77945,14 +77945,14 @@ var require_dist = __commonJS({
77945
77945
  var HullBase = ({ children }) => {
77946
77946
  return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("hull", { children });
77947
77947
  };
77948
- var Hull2 = withOffsetProp(withColorProp(HullBase));
77948
+ var Hull3 = withOffsetProp(withColorProp(HullBase));
77949
77949
  var import_jsx_runtime202 = require_jsx_runtime();
77950
77950
  var HullChainBase = ({ children }) => {
77951
77951
  return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("hullChain", { children });
77952
77952
  };
77953
77953
  var HullChain2 = withOffsetProp(withColorProp(HullChainBase));
77954
77954
  var import_jsx_runtime212 = require_jsx_runtime();
77955
- function Polygon3({ points }) {
77955
+ function Polygon4({ points }) {
77956
77956
  return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("jscadPolygon", { points });
77957
77957
  }
77958
77958
  var import_jsx_runtime222 = require_jsx_runtime();
@@ -77967,7 +77967,7 @@ var require_dist = __commonJS({
77967
77967
  var RoundedCuboidBase = ({ size, roundRadius }) => {
77968
77968
  return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("roundedCuboid", { size, roundRadius });
77969
77969
  };
77970
- var RoundedCuboid2 = withOffsetProp(withColorProp(RoundedCuboidBase));
77970
+ var RoundedCuboid3 = withOffsetProp(withColorProp(RoundedCuboidBase));
77971
77971
  var import_jsx_runtime252 = require_jsx_runtime();
77972
77972
  var RoundedCylinderBase = ({
77973
77973
  radius,
@@ -77998,7 +77998,7 @@ var require_dist = __commonJS({
77998
77998
  }
77999
77999
  return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)("subtract", { children });
78000
78000
  };
78001
- var Subtract2 = withOffsetProp(withColorProp(SubtractBase));
78001
+ var Subtract3 = withOffsetProp(withColorProp(SubtractBase));
78002
78002
  var import_jsx_runtime282 = require_jsx_runtime();
78003
78003
  var TorusBase = ({
78004
78004
  innerRadius,
@@ -78023,9 +78023,9 @@ var require_dist = __commonJS({
78023
78023
  );
78024
78024
  };
78025
78025
  var Torus = withOffsetProp(withColorProp(TorusBase));
78026
- var import_jsx_runtime29 = require_jsx_runtime();
78026
+ var import_jsx_runtime292 = require_jsx_runtime();
78027
78027
  function Union4({ children }) {
78028
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("union", { children });
78028
+ return /* @__PURE__ */ (0, import_jsx_runtime292.jsx)("union", { children });
78029
78029
  }
78030
78030
  var import_jsx_runtime30 = require_jsx_runtime();
78031
78031
  var ExtrudeFromSlicesBase = ({
@@ -79527,15 +79527,255 @@ var SOT235 = () => {
79527
79527
  };
79528
79528
  var SOT_235_default = SOT235;
79529
79529
 
79530
- // lib/Footprinter3d.tsx
79530
+ // lib/FemaleHeader.tsx
79531
+ var import_jscad_fiber18 = __toESM(require_dist(), 1);
79531
79532
  var import_jsx_runtime22 = __toESM(require_jsx_runtime(), 1);
79533
+ var FemaleHeader = ({
79534
+ numberOfPins,
79535
+ pitch = 2.54,
79536
+ legsLength = 3
79537
+ }) => {
79538
+ const pinThickness = 0.63;
79539
+ const bodyHeight = 5;
79540
+ const bodyWidth = numberOfPins * pitch;
79541
+ const gapWidth = pinThickness * 1.6;
79542
+ const xoff = -((numberOfPins - 1) / 2) * pitch;
79543
+ const Body = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_jscad_fiber18.Colorize, { color: "#1a1a1a", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jscad_fiber18.Subtract, { children: [
79544
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79545
+ import_jscad_fiber18.Cuboid,
79546
+ {
79547
+ color: "#000",
79548
+ size: [bodyWidth, pinThickness * 3, bodyHeight],
79549
+ center: [0, 0, bodyHeight / 2]
79550
+ }
79551
+ ),
79552
+ Array.from({ length: numberOfPins }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79553
+ import_jscad_fiber18.Cuboid,
79554
+ {
79555
+ size: [gapWidth, gapWidth, bodyHeight],
79556
+ center: [xoff + i * pitch, 0, bodyHeight / 2]
79557
+ }
79558
+ ))
79559
+ ] }) });
79560
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
79561
+ Body,
79562
+ Array.from({ length: numberOfPins }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_jsx_runtime22.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jscad_fiber18.Colorize, { color: "silver", children: [
79563
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jscad_fiber18.Hull, { children: [
79564
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79565
+ import_jscad_fiber18.Cuboid,
79566
+ {
79567
+ color: "silver",
79568
+ size: [pinThickness, pinThickness, legsLength * 0.9],
79569
+ center: [xoff + i * pitch, 0, -legsLength / 2 * 0.9]
79570
+ }
79571
+ ),
79572
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79573
+ import_jscad_fiber18.Cuboid,
79574
+ {
79575
+ color: "silver",
79576
+ size: [pinThickness / 1.8, pinThickness / 1.8, legsLength],
79577
+ center: [xoff + i * pitch, 0, -legsLength / 2]
79578
+ }
79579
+ )
79580
+ ] }),
79581
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79582
+ import_jscad_fiber18.Cuboid,
79583
+ {
79584
+ color: "silver",
79585
+ size: [gapWidth, gapWidth, gapWidth * 0.5],
79586
+ center: [xoff + i * pitch, 0, gapWidth / 2 * 0.5]
79587
+ }
79588
+ )
79589
+ ] }) }))
79590
+ ] });
79591
+ };
79592
+
79593
+ // lib/PushButton.tsx
79594
+ var import_jscad_fiber19 = __toESM(require_dist(), 1);
79595
+ var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
79596
+ var PushButton = ({
79597
+ width: width10,
79598
+ length,
79599
+ innerDiameter = 1
79600
+ }) => {
79601
+ const bodyWidth = width10;
79602
+ const bodyLength10 = length;
79603
+ const bodyHeight = width10 * 0.7;
79604
+ const legWidth = innerDiameter / 2.5;
79605
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
79606
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79607
+ import_jscad_fiber19.RoundedCuboid,
79608
+ {
79609
+ color: "#1a1a1f",
79610
+ center: [0, 0, bodyHeight / 2],
79611
+ size: [bodyLength10, bodyLength10, bodyHeight],
79612
+ roundRadius: 0.3
79613
+ }
79614
+ ),
79615
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79616
+ import_jscad_fiber19.RoundedCuboid,
79617
+ {
79618
+ color: "#f2f2f2",
79619
+ center: [0, 0, bodyHeight + bodyHeight * 0.1 / 2.5],
79620
+ size: [bodyLength10, bodyLength10, bodyHeight * 0.1],
79621
+ roundRadius: 0.14
79622
+ }
79623
+ ),
79624
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79625
+ import_jscad_fiber19.Cylinder,
79626
+ {
79627
+ color: "#1a1a1f",
79628
+ height: bodyHeight * 0.8,
79629
+ radius: bodyWidth / 3,
79630
+ center: [0, 0, bodyHeight + bodyHeight * 0.8 / 2]
79631
+ }
79632
+ ),
79633
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79634
+ import_jscad_fiber19.Cylinder,
79635
+ {
79636
+ color: "#1a1a1f",
79637
+ height: bodyHeight * 0.2,
79638
+ radius: innerDiameter / 2,
79639
+ center: [
79640
+ bodyLength10 / 3,
79641
+ bodyLength10 / 3,
79642
+ bodyHeight + bodyHeight * 0.1 / 2
79643
+ ]
79644
+ }
79645
+ ),
79646
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79647
+ import_jscad_fiber19.Cylinder,
79648
+ {
79649
+ color: "#1a1a1f",
79650
+ height: bodyHeight * 0.2,
79651
+ radius: innerDiameter / 2,
79652
+ center: [
79653
+ -bodyLength10 / 3,
79654
+ -bodyLength10 / 3,
79655
+ bodyHeight + bodyHeight * 0.1 / 2
79656
+ ]
79657
+ }
79658
+ ),
79659
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79660
+ import_jscad_fiber19.Cylinder,
79661
+ {
79662
+ color: "#1a1a1f",
79663
+ height: bodyHeight * 0.2,
79664
+ radius: innerDiameter / 2,
79665
+ center: [
79666
+ -bodyLength10 / 3,
79667
+ bodyLength10 / 3,
79668
+ bodyHeight + bodyHeight * 0.1 / 2
79669
+ ]
79670
+ }
79671
+ ),
79672
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79673
+ import_jscad_fiber19.Cylinder,
79674
+ {
79675
+ color: "#1a1a1f",
79676
+ height: bodyHeight * 0.2,
79677
+ radius: innerDiameter / 2,
79678
+ center: [
79679
+ bodyLength10 / 3,
79680
+ -bodyLength10 / 3,
79681
+ bodyHeight + bodyHeight * 0.1 / 2
79682
+ ]
79683
+ }
79684
+ ),
79685
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79686
+ PushButtonLeg,
79687
+ {
79688
+ thickness: innerDiameter / 3,
79689
+ width: legWidth,
79690
+ horizontalLength: bodyLength10 * 0.8,
79691
+ verticalLength: bodyHeight / 2,
79692
+ position: {
79693
+ x: -bodyWidth / 2,
79694
+ y: -bodyLength10 / 2,
79695
+ z: -bodyHeight * 1.2
79696
+ }
79697
+ }
79698
+ ),
79699
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79700
+ PushButtonLeg,
79701
+ {
79702
+ thickness: innerDiameter / 3,
79703
+ width: legWidth,
79704
+ horizontalLength: bodyLength10 * 0.8,
79705
+ verticalLength: bodyHeight / 2,
79706
+ position: {
79707
+ x: -bodyWidth / 2,
79708
+ y: bodyLength10 / 2,
79709
+ z: -bodyHeight * 1.2
79710
+ },
79711
+ rotation: Math.PI
79712
+ }
79713
+ ),
79714
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79715
+ PushButtonLeg,
79716
+ {
79717
+ thickness: innerDiameter / 3,
79718
+ width: legWidth,
79719
+ horizontalLength: bodyLength10 * 0.8,
79720
+ verticalLength: bodyHeight / 2,
79721
+ position: { x: bodyWidth / 2, y: bodyLength10 / 2, z: -bodyHeight * 1.2 },
79722
+ rotation: Math.PI
79723
+ }
79724
+ ),
79725
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79726
+ PushButtonLeg,
79727
+ {
79728
+ thickness: innerDiameter / 3,
79729
+ width: legWidth,
79730
+ horizontalLength: bodyLength10 * 0.8,
79731
+ verticalLength: bodyHeight / 2,
79732
+ position: {
79733
+ x: bodyWidth / 2 + innerDiameter / 3.6,
79734
+ y: -bodyLength10 / 2,
79735
+ z: -bodyHeight * 1.2
79736
+ }
79737
+ }
79738
+ )
79739
+ ] });
79740
+ };
79741
+ var PushButtonLeg = (props) => {
79742
+ const {
79743
+ thickness,
79744
+ width: width10,
79745
+ horizontalLength,
79746
+ verticalLength,
79747
+ rotation = 0,
79748
+ position
79749
+ } = props;
79750
+ const points = [
79751
+ [0, horizontalLength],
79752
+ [-verticalLength / 3, horizontalLength / 3],
79753
+ [-verticalLength / 5, horizontalLength / 4],
79754
+ [0, 0]
79755
+ ];
79756
+ const polygon = getExpandedStroke(points, thickness);
79757
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jscad_fiber19.Colorize, { color: "#f2f2f2", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79758
+ import_jscad_fiber19.Translate,
79759
+ {
79760
+ offset: {
79761
+ x: position?.x || 0,
79762
+ y: position?.y || 0,
79763
+ z: position?.z || 0
79764
+ },
79765
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jscad_fiber19.Rotate, { rotation: [0, 55, rotation], children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jscad_fiber19.ExtrudeLinear, { height: width10, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jscad_fiber19.Polygon, { points: polygon.map((p) => [p.y, p.x]) }) }) })
79766
+ }
79767
+ ) });
79768
+ };
79769
+
79770
+ // lib/Footprinter3d.tsx
79771
+ var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1);
79532
79772
  var Footprinter3d = ({ footprint }) => {
79533
79773
  const fpJson = fp3.string(footprint).json();
79534
79774
  switch (fpJson.fn) {
79535
79775
  case "dip":
79536
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
79776
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
79537
79777
  case "tssop":
79538
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79778
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
79539
79779
  Tssop,
79540
79780
  {
79541
79781
  pinCount: fpJson.num_pins,
@@ -79546,7 +79786,7 @@ var Footprinter3d = ({ footprint }) => {
79546
79786
  }
79547
79787
  );
79548
79788
  case "qfp":
79549
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79789
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
79550
79790
  QFP,
79551
79791
  {
79552
79792
  pinCount: fpJson.num_pins,
@@ -79557,7 +79797,7 @@ var Footprinter3d = ({ footprint }) => {
79557
79797
  }
79558
79798
  );
79559
79799
  case "qfn":
79560
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79800
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
79561
79801
  qfn_default,
79562
79802
  {
79563
79803
  num_pins: fpJson.num_pins,
@@ -79573,33 +79813,45 @@ var Footprinter3d = ({ footprint }) => {
79573
79813
  }
79574
79814
  );
79575
79815
  case "pinrow":
79576
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
79816
+ if (fpJson.male)
79817
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
79818
+ if (fpJson.female)
79819
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
79577
79820
  case "cap": {
79578
79821
  switch (fpJson.imperial) {
79579
79822
  case "0402":
79580
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0402, { color: "#856c4d" });
79823
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0402, { color: "#856c4d" });
79581
79824
  case "0603":
79582
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0603, { color: "#856c4d" });
79825
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0603, { color: "#856c4d" });
79583
79826
  case "0805":
79584
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0805, { color: "#856c4d" });
79827
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0805, { color: "#856c4d" });
79585
79828
  case "0201":
79586
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0201, { color: "#856c4d" });
79829
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0201, { color: "#856c4d" });
79587
79830
  case "01005":
79588
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A01005, { color: "#856c4d" });
79831
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A01005, { color: "#856c4d" });
79589
79832
  case "1206":
79590
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A1206, { color: "#856c4d" });
79833
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A1206, { color: "#856c4d" });
79591
79834
  case "1210":
79592
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A1210, { color: "#856c4d" });
79835
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A1210, { color: "#856c4d" });
79593
79836
  case "2010":
79594
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A2010, { color: "#856c4d" });
79837
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A2010, { color: "#856c4d" });
79595
79838
  case "2512":
79596
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A2512, { color: "#856c4d" });
79839
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A2512, { color: "#856c4d" });
79597
79840
  }
79598
79841
  }
79599
79842
  case "sot235":
79600
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(SOT_235_default, {});
79843
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SOT_235_default, {});
79844
+ case "pushbutton":
79845
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
79846
+ PushButton,
79847
+ {
79848
+ width: fpJson.w,
79849
+ length: fpJson.h,
79850
+ innerDiameter: fpJson.id
79851
+ }
79852
+ );
79601
79853
  case "soic":
79602
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
79854
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
79603
79855
  Tssop,
79604
79856
  {
79605
79857
  pinCount: fpJson.num_pins,
@@ -79612,29 +79864,29 @@ var Footprinter3d = ({ footprint }) => {
79612
79864
  }
79613
79865
  switch (fpJson.imperial) {
79614
79866
  case "0402":
79615
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0402, {});
79867
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0402, {});
79616
79868
  case "0603":
79617
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0603, {});
79869
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0603, {});
79618
79870
  case "0805":
79619
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0805, {});
79871
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0805, {});
79620
79872
  case "0201":
79621
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A0201, {});
79873
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A0201, {});
79622
79874
  case "01005":
79623
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A01005, {});
79875
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A01005, {});
79624
79876
  case "1206":
79625
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A1206, {});
79877
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A1206, {});
79626
79878
  case "1210":
79627
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A1210, {});
79879
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A1210, {});
79628
79880
  case "2010":
79629
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A2010, {});
79881
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A2010, {});
79630
79882
  case "2512":
79631
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(A2512, {});
79883
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(A2512, {});
79632
79884
  }
79633
79885
  return null;
79634
79886
  };
79635
79887
 
79636
79888
  // lib/SOT-23-3P.tsx
79637
- var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
79889
+ var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1);
79638
79890
  var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
79639
79891
  const bodyWidth = 1.3;
79640
79892
  const bodyLength10 = 2.9;
@@ -79644,8 +79896,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
79644
79896
  const leadHeight = 0.95;
79645
79897
  const padContactLength = 0.4;
79646
79898
  const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
79647
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
79648
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79899
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
79900
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
79649
79901
  SmdChipLead,
79650
79902
  {
79651
79903
  rotation: Math.PI,
@@ -79662,7 +79914,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
79662
79914
  },
79663
79915
  1
79664
79916
  ),
79665
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79917
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
79666
79918
  SmdChipLead,
79667
79919
  {
79668
79920
  rotation: Math.PI,
@@ -79679,7 +79931,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
79679
79931
  },
79680
79932
  2
79681
79933
  ),
79682
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79934
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
79683
79935
  SmdChipLead,
79684
79936
  {
79685
79937
  position: {
@@ -79695,7 +79947,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
79695
79947
  },
79696
79948
  3
79697
79949
  ),
79698
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
79950
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
79699
79951
  ChipBody,
79700
79952
  {
79701
79953
  center: { x: 0, y: 0, z: 0 },
@@ -79708,8 +79960,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
79708
79960
  };
79709
79961
 
79710
79962
  // lib/SOT-563.tsx
79711
- var import_jscad_fiber18 = __toESM(require_dist(), 1);
79712
- var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1);
79963
+ var import_jscad_fiber20 = __toESM(require_dist(), 1);
79964
+ var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1);
79713
79965
  var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
79714
79966
  const bodyWidth = 1.2;
79715
79967
  const bodyLength10 = 1.6;
@@ -79719,24 +79971,24 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
79719
79971
  const leadHeight = 0.13;
79720
79972
  const leadSpacing = 0.5;
79721
79973
  const bodyZOffset = -0.3;
79722
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
79723
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jscad_fiber18.Rotate, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jscad_fiber18.Translate, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jscad_fiber18.Colorize, { color: "grey", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jscad_fiber18.Cuboid, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
79974
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
79975
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jscad_fiber20.Rotate, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jscad_fiber20.Translate, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jscad_fiber20.Colorize, { color: "grey", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jscad_fiber20.Cuboid, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
79724
79976
  [-1, 0, 1].flatMap((yOffset, index) => [
79725
79977
  // Left lead
79726
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
79727
- import_jscad_fiber18.Translate,
79978
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
79979
+ import_jscad_fiber20.Translate,
79728
79980
  {
79729
79981
  center: [-bodyWidth / 2 - 0.03, yOffset * leadSpacing, 0],
79730
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jscad_fiber18.Cuboid, { size: [leadLength, leadWidth, leadHeight] })
79982
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jscad_fiber20.Cuboid, { size: [leadLength, leadWidth, leadHeight] })
79731
79983
  },
79732
79984
  `left-${index}`
79733
79985
  ),
79734
79986
  // Right lead
79735
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
79736
- import_jscad_fiber18.Translate,
79987
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
79988
+ import_jscad_fiber20.Translate,
79737
79989
  {
79738
79990
  center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, 0],
79739
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jscad_fiber18.Cuboid, { size: [leadLength, leadWidth, leadHeight] })
79991
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jscad_fiber20.Cuboid, { size: [leadLength, leadWidth, leadHeight] })
79740
79992
  },
79741
79993
  `right-${index}`
79742
79994
  )
@@ -79745,8 +79997,8 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
79745
79997
  };
79746
79998
 
79747
79999
  // lib/SOT-723.tsx
79748
- var import_jscad_fiber19 = __toESM(require_dist(), 1);
79749
- var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1);
80000
+ var import_jscad_fiber21 = __toESM(require_dist(), 1);
80001
+ var import_jsx_runtime27 = __toESM(require_jsx_runtime(), 1);
79750
80002
  var getCcwSot723Coords = (pn) => {
79751
80003
  if (pn === 1) {
79752
80004
  return { x: 0, y: 0 };
@@ -79764,12 +80016,12 @@ var SOT723 = () => {
79764
80016
  const leadLength = 0.3;
79765
80017
  const leadHeight = 0.1;
79766
80018
  const centerLeadWidth = 0.42;
79767
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
79768
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jscad_fiber19.Rotate, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jscad_fiber19.Translate, { center: [0.475, leadHeight / 2, -0.25], children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jscad_fiber19.Colorize, { color: "grey", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jscad_fiber19.Cuboid, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
80019
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
80020
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jscad_fiber21.Rotate, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jscad_fiber21.Translate, { center: [0.475, leadHeight / 2, -0.25], children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jscad_fiber21.Colorize, { color: "grey", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jscad_fiber21.Cuboid, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
79769
80021
  [1, 2, 3].map((pn) => {
79770
80022
  const { x, y } = getCcwSot723Coords(pn);
79771
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jscad_fiber19.Translate, { center: [x, y, 0], children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
79772
- import_jscad_fiber19.Cuboid,
80023
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jscad_fiber21.Translate, { center: [x, y, 0], children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
80024
+ import_jscad_fiber21.Cuboid,
79773
80025
  {
79774
80026
  size: [
79775
80027
  leadLength,
@@ -79783,7 +80035,7 @@ var SOT723 = () => {
79783
80035
  };
79784
80036
 
79785
80037
  // lib/sod-123.tsx
79786
- var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1);
80038
+ var import_jsx_runtime28 = __toESM(require_jsx_runtime(), 1);
79787
80039
  var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
79788
80040
  const bodyWidth = 2.9;
79789
80041
  const bodyLength10 = 1.3;
@@ -79795,8 +80047,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
79795
80047
  const leadYOffset = leadHeight / 1 - 0.4;
79796
80048
  const bodyYOffset = leadHeight / 2 - 0.4;
79797
80049
  const bodyDistance = (fullWidth - bodyWidth) / 2;
79798
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
79799
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
80050
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
80051
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
79800
80052
  SmdChipLead,
79801
80053
  {
79802
80054
  position: {
@@ -79812,7 +80064,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
79812
80064
  },
79813
80065
  1
79814
80066
  ),
79815
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
80067
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
79816
80068
  SmdChipLead,
79817
80069
  {
79818
80070
  rotation: Math.PI,
@@ -79829,7 +80081,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
79829
80081
  },
79830
80082
  2
79831
80083
  ),
79832
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
80084
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
79833
80085
  ChipBody,
79834
80086
  {
79835
80087
  center: { x: 0, y: bodyYOffset, z: 0 },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscad-electronics",
3
3
  "type": "module",
4
- "version": "0.0.25",
4
+ "version": "0.0.27",
5
5
  "main": "./dist/index.js",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  "vite-tsconfig-paths": "^5.0.1"
33
33
  },
34
34
  "dependencies": {
35
- "@tscircuit/footprinter": "^0.0.124",
35
+ "@tscircuit/footprinter": "^0.0.132",
36
36
  "circuit-json": "^0.0.92"
37
37
  }
38
38
  }