rushabhcodes/wireless-split-keyboard

Wireless Split Keyboard — custom routed nRF52840 split PCBs with a printable enclosure

Version
0.4.5
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone rushabhcodes/wireless-split-keyboard  # download the package files into ./wireless-split-keyboard
tsci add rushabhcodes/wireless-split-keyboard    # add it to your project as @tsci/rushabhcodes.wireless-split-keyboard

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

patches/@tscircuit%2Fchecks@0.0.283.patch

diff --git a/dist/index.js b/dist/index.js
index e3223ff646c3161d04d5c6c984b98c91595fe48c..a16506e5fc2b39ebf7a5649e7e57c31dd30783eb 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -23110,6 +23110,10 @@ function checkConnectorAccessibleOrientation(circuitJson) {
     ).map((el) => el.source_component_id)
   );
   for (const component of components) {
+    // Internal FPCs mate inside the enclosure, not through a board edge.
+    // Preserve every other placement check; the owner must declare this role.
+    if (component.metadata?.kicad_footprint?.properties?.ConnectorAccess?.value === "internal")
+      continue;
     if (!component.insertion_direction && pinHeaderSourceIds.has(component.source_component_id))
       continue;
     const facingDirection = getFacingDirection(component);