biscuitboard 1.0.1 → 1.0.3

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/README.md +30 -5
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -78,14 +78,39 @@ bun run snapshot:clad-40x40
78
78
  bun test tests/clad-40x40.test.tsx
79
79
  ```
80
80
 
81
+ ## 32 mm square corner-via clad
82
+
83
+ [`Clad32x32`](./lib/Clad32x32.tsx) is a two-layer 32 mm x 32 mm clad with four
84
+ 2 mm mounting holes, each inset 3 mm from its corner, and no center mounting
85
+ hole. Four two-via-wide L-shaped fields provide 64 assignable prefabricated
86
+ vias. The fields sit close to the mounting holes, with 1.3 mm of copper
87
+ clearance, and leave 18.2 mm openings at the middle of every side for edge
88
+ connectors. The vias use 0.3 mm drills, 0.6 mm pads, and a 1.3 mm pitch.
89
+
90
+ ```tsx
91
+ import { Clad32x32 } from "@tsci/tscircuit.biscuit-boards";
92
+
93
+ export default () => <Clad32x32 />;
94
+ ```
95
+
96
+ The preview and checked-in PCB snapshot are in
97
+ [`examples/clad-32x32.tsx`](./examples/clad-32x32.tsx).
98
+
99
+ ```sh
100
+ bun run build:clad-32x32
101
+ bun run snapshot:clad-32x32
102
+ bun test tests/clad-32x32.test.tsx
103
+ ```
104
+
81
105
  ## Combined clad panel
82
106
 
83
107
  [`CladPanel`](./lib/CladPanel.tsx) places the breadboard clad at the upper-left
84
- and the Arduino UNO R3 shield at the upper-right. Two standard XIAO clads and
85
- two perforated XIAO clads sit below the breadboard. A Feather clad occupies the
86
- remaining lower-left space, replacing four XIAOs; the TI BoosterPack remains at
87
- the lower-right. The resulting 158 mm x 118 mm fabrication panel has 2 mm
88
- tab-routing gaps, 3 mm edge rails, and mouse bites enabled by default.
108
+ and the Arduino UNO R3 shield at the upper-right. The 32 mm square clad replaces
109
+ one standard and one perforated XIAO below the breadboard; the remaining
110
+ standard and perforated XIAOs sit above it, with the Feather alongside. The TI
111
+ BoosterPack remains at the lower-right. The resulting fabrication panel remains
112
+ 158 mm x 118 mm, with 2 mm tab-routing gaps, 3 mm edge rails, and mouse bites
113
+ disabled by default.
89
114
 
90
115
  ```sh
91
116
  bun run build:clad-panel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biscuitboard",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Prefabricated copper-clad board wrappers and fixed-via autorouting for tscircuit",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,6 +30,7 @@
30
30
  "build": "tsup",
31
31
  "build:circuit": "tsci build index.tsx",
32
32
  "build:breadboard-clad": "tsci build examples/breadboard-clad.tsx --disable-parts-engine --svgs",
33
+ "build:clad-32x32": "tsci build examples/clad-32x32.tsx --disable-parts-engine --svgs",
33
34
  "build:clad-40x40": "tsci build examples/clad-40x40.tsx --disable-parts-engine --svgs",
34
35
  "build:clad-panel": "tsci build examples/clad-panel.tsx --disable-parts-engine --svgs",
35
36
  "build:four-board-clad-panel": "tsci build examples/four-board-clad-panel.tsx --disable-parts-engine --svgs",
@@ -48,6 +49,8 @@
48
49
  "snapshot": "tsci snapshot",
49
50
  "snapshot:breadboard-clad": "tsci snapshot examples/breadboard-clad.tsx --disable-parts-engine --pcb-only --ci",
50
51
  "snapshot:breadboard-clad:update": "tsci snapshot examples/breadboard-clad.tsx --disable-parts-engine --pcb-only --update",
52
+ "snapshot:clad-32x32": "tsci snapshot examples/clad-32x32.tsx --disable-parts-engine --pcb-only --ci",
53
+ "snapshot:clad-32x32:update": "tsci snapshot examples/clad-32x32.tsx --disable-parts-engine --pcb-only --update",
51
54
  "snapshot:clad-40x40": "tsci snapshot examples/clad-40x40.tsx --disable-parts-engine --pcb-only --ci",
52
55
  "snapshot:clad-40x40:update": "tsci snapshot examples/clad-40x40.tsx --disable-parts-engine --pcb-only --update",
53
56
  "snapshot:clad-panel": "tsci snapshot examples/clad-panel.tsx --disable-parts-engine --pcb-only --ci",
@@ -85,7 +88,7 @@
85
88
  "typecheck": "tsc --noEmit",
86
89
  "prepack": "bun run build && bun run scripts/prepare-npm-package.ts",
87
90
  "postpack": "bun run scripts/restore-npm-package.ts",
88
- "check": "bun run typecheck && bun run test && bun run snapshot:stm32 && bun run snapshot:rp2040 && bun run snapshot:boosterpack && bun run snapshot:boosterpack-clad && bun run snapshot:arduino-shield && bun run snapshot:arduino-display && bun run snapshot:breadboard-clad && bun run snapshot:clad-40x40 && bun run snapshot:xiao-clad-with-pin-headers && bun run snapshot:xiao-clad-with-perforated-pin-headers && bun run snapshot:xiao-stm32-usb && bun run snapshot:feather-clad-with-pin-headers && bun run snapshot:clad-panel && bun run snapshot:four-board-clad-panel && bun run snapshot:xiao-pair-clad-panel && bun run build && bun run build:circuit && bun run build:example && bun run build:arduino-shield && bun run build:arduino-display && bun run build:breadboard-clad && bun run build:clad-40x40 && bun run build:xiao-stm32-usb && bun run build:feather-clad-with-pin-headers && bun run build:clad-panel && bun run build:four-board-clad-panel && bun run build:xiao-pair-clad-panel && bun run export:lightburn examples/stm32c071-display.tsx"
91
+ "check": "bun run typecheck && bun run test && bun run snapshot:stm32 && bun run snapshot:rp2040 && bun run snapshot:boosterpack && bun run snapshot:boosterpack-clad && bun run snapshot:arduino-shield && bun run snapshot:arduino-display && bun run snapshot:breadboard-clad && bun run snapshot:clad-32x32 && bun run snapshot:clad-40x40 && bun run snapshot:xiao-clad-with-pin-headers && bun run snapshot:xiao-clad-with-perforated-pin-headers && bun run snapshot:xiao-stm32-usb && bun run snapshot:feather-clad-with-pin-headers && bun run snapshot:clad-panel && bun run snapshot:four-board-clad-panel && bun run snapshot:xiao-pair-clad-panel && bun run build && bun run build:circuit && bun run build:example && bun run build:arduino-shield && bun run build:arduino-display && bun run build:breadboard-clad && bun run build:clad-32x32 && bun run build:clad-40x40 && bun run build:xiao-stm32-usb && bun run build:feather-clad-with-pin-headers && bun run build:clad-panel && bun run build:four-board-clad-panel && bun run build:xiao-pair-clad-panel && bun run export:lightburn examples/stm32c071-display.tsx"
89
92
  },
90
93
  "devDependencies": {
91
94
  "@biomejs/biome": "^2.3.4",
@@ -95,6 +98,11 @@
95
98
  "@types/react": "19.2.18",
96
99
  "@tscircuit/biscuit-board-autorouter": "github:tscircuit/biscuit-board-autorouter#a704ab5d6f9693924fe716710c57a7787fe943f4",
97
100
  "bun-match-svg": "0.0.15",
101
+ "circuit-json": "0.0.464",
102
+ "circuit-json-to-lbrn": "0.0.88",
103
+ "lbrnts": "0.0.22",
104
+ "manifold-3d": "^3.5.1",
105
+ "manifold-to-step": "^0.0.4",
98
106
  "react": "19.2.0",
99
107
  "tscircuit": "0.0.2277",
100
108
  "tsup": "^8.5.1",
@@ -105,6 +113,6 @@
105
113
  "@tscircuit/props": "0.0.617"
106
114
  },
107
115
  "peerDependencies": {
108
- "react": "^19.2.0"
116
+ "react": "^19.1.0"
109
117
  }
110
118
  }