biscuitboard 1.0.21 → 1.0.22

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/npm.cjs CHANGED
@@ -751,6 +751,7 @@ __export(npm_exports, {
751
751
  ArduinoShieldDigital8To13Header: () => ArduinoShieldDigital8To13Header,
752
752
  ArduinoShieldIcspSocket: () => ArduinoShieldIcspSocket,
753
753
  ArduinoShieldPowerHeader: () => ArduinoShieldPowerHeader,
754
+ BISCUIT_BOARD_BOTTOM_KEEPOUT: () => BISCUIT_BOARD_BOTTOM_KEEPOUT,
754
755
  BISCUIT_BOARD_HEIGHT: () => BISCUIT_BOARD_HEIGHT,
755
756
  BISCUIT_BOARD_MOUNTING_HOLE_POSITIONS: () => BISCUIT_BOARD_MOUNTING_HOLE_POSITIONS,
756
757
  BISCUIT_BOARD_VIA_POSITIONS: () => BISCUIT_BOARD_VIA_POSITIONS,
@@ -14441,6 +14442,12 @@ var BISCUIT_BOARD_MOUNTING_HOLE_POSITIONS = [
14441
14442
  { x: -BISCUIT_BOARD_WIDTH / 2 + 2.5, y: -BISCUIT_BOARD_HEIGHT / 2 + 2.5 },
14442
14443
  { x: -BISCUIT_BOARD_WIDTH / 2 + 2.5, y: BISCUIT_BOARD_HEIGHT / 2 - 2.5 }
14443
14444
  ];
14445
+ var BISCUIT_BOARD_BOTTOM_KEEPOUT = {
14446
+ x: -BISCUIT_BOARD_WIDTH / 2 + 22 + 10 / 2,
14447
+ y: -BISCUIT_BOARD_HEIGHT / 2 + 1.5 + 5.5 / 2,
14448
+ width: 10,
14449
+ height: 5.5
14450
+ };
14444
14451
  var BiscuitBoard = ({
14445
14452
  children,
14446
14453
  autorouter,
@@ -14484,6 +14491,17 @@ var BiscuitBoard = ({
14484
14491
  }
14485
14492
  ),
14486
14493
  BISCUIT_BOARD_MOUNTING_HOLE_POSITIONS.map((hole) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("hole", { pcbX: hole.x, pcbY: hole.y, diameter: "2.2mm" }) }, `mounting-hole-${hole.x}-${hole.y}`)),
14494
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
14495
+ "keepout",
14496
+ {
14497
+ shape: "rect",
14498
+ pcbX: BISCUIT_BOARD_BOTTOM_KEEPOUT.x,
14499
+ pcbY: BISCUIT_BOARD_BOTTOM_KEEPOUT.y,
14500
+ width: `${BISCUIT_BOARD_BOTTOM_KEEPOUT.width}mm`,
14501
+ height: `${BISCUIT_BOARD_BOTTOM_KEEPOUT.height}mm`,
14502
+ layers: ["top", "bottom"]
14503
+ }
14504
+ ),
14487
14505
  BISCUIT_BOARD_VIA_ZONES.map((zone) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
14488
14506
  "pcbnoterect",
14489
14507
  {
@@ -17042,6 +17060,7 @@ var XiaoCladWithPerforatedPinHeaders = ({
17042
17060
  ArduinoShieldDigital8To13Header,
17043
17061
  ArduinoShieldIcspSocket,
17044
17062
  ArduinoShieldPowerHeader,
17063
+ BISCUIT_BOARD_BOTTOM_KEEPOUT,
17045
17064
  BISCUIT_BOARD_HEIGHT,
17046
17065
  BISCUIT_BOARD_MOUNTING_HOLE_POSITIONS,
17047
17066
  BISCUIT_BOARD_VIA_POSITIONS,