Skip to content

Move Snips onto stackup 0.3 and lift reusable parts into the library - #118

Merged
thePunderWoman merged 1 commit into
PunderWorks:mainfrom
alxhub:upstream-parts
Nov 12, 2026
Merged

thePunderWoman merged 1 commit into
PunderWorks:mainfrom
alxhub:upstream-parts

Conversation

@alxhub

@alxhub alxhub commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pins the stackup library at 232519a and moves CI to stackup 0.3.0 (crate and KiCad plugin).
  • The library now carries the parts the boards defined locally, along with their footprints:
    • GuliKit hall stick (@stackup/switch/rkjxv, package gulikit)
    • SK6812MINI-HS (@stackup/discrete/led/sk6812mini-hs)
    • ICM-42670-P (@stackup/sensor/accel/icm42670p)
    • DRV5055A2 in SOT-23 (drv5055a2 package=sot23)
    • Alps SKRP (push-button package=skrp)
    • ESP32-S3-MINI-1U (@stackup/micro/esp32s3)
    • XBee 3 Micro (@stackup/radio/xbee3)
  • v1 and v2 place the library parts, and PCB/v1.x/stackup/parts.kdl is gone. Only the Snips-specific XBee carrier pads and the carrier's mating edge stay local.
  • ci/check_pcb_sync.py follows the 0.3 plugin API, passing the libraries' 3D-model dirs, and also fails on 3D-body changes.

What changes on the boards

Nothing electrical or physical. Every placement keeps its footprint override, and the library footprints use the same pad numbers.

  • Netlists for all three boards match main pad for pad and net for net, and the purchasing BOMs are byte-identical.
  • Gerbers and drill files exported from main and from this branch are identical for v1, v2 and the carrier.
  • The PCBs were synced with the v0.3.0 plugin in KiCad 10.0.8.
    • The field changes are the Stackup Source line numbers (shifted by the new use lines) and a Stackup Hand Excluded marker on the hand-fitted parts.
    • On v1, the hand-fitted J_STICK1 and U_XBEE1 gain exclude_from_pos_files, as they already had on v2. They drop out of v1's KiCad position file. Both are already DNP in the purchasing BOM.
  • The .kicad_pro diffs are KiCad 10 normalizing its own settings on save.

Test plan

  • stackup check --locked and stackup bom --locked for all three boards, with the Cargo-pinned 0.3.0 CLI
  • ci/check_pcb_sync.py passes on all three PCBs in KiCad 10.0.8
  • DRC and pad-to-net dumps compared before and after sync
  • Gerber, drill and position exports compared against main

🤖 Generated with Claude Code

Pin the stackup library at 232519a, which now carries the parts the
boards defined locally: the GuliKit hall stick, SK6812MINI-HS,
ICM-42670-P, DRV5055A2 in SOT-23, Alps SKRP, ESP32-S3-MINI-1U and the
XBee 3 Micro, with their footprints. The boards place the library
parts; only the V2 XBee carrier pads and the carrier's mating edge stay
in parts.kdl. Every placement keeps its footprint override, and the
library footprints share their pad numbers, so the netlists and
purchasing BOMs are unchanged.

CI builds stackup 0.3.0 and checks out the v0.3.0 plugin, whose apply()
takes the libraries' 3D-model directories. The PCB sync check passes
them and also fails on 3D-body changes.

The PCBs are synced with the 0.3.0 plugin in KiCad 10.0.8. Only the
Stackup Source fields move, and J_STICK1, hand fitted, is now also
excluded from position files. Pads, nets and DRC are unchanged on all
three boards.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thePunderWoman
thePunderWoman merged commit 3143937 into PunderWorks:main Nov 12, 2026
4 checks passed
thePunderWoman added a commit that referenced this pull request Nov 12, 2026
Gerbers, drills, job file, placement and the JLCPCB order-set zips are
rebuilt from the current boards: kicad-cli for the separate exports and
Fabrication Toolkit (Snips_1_2 / Snips_2_0, same options as before)
for the order set.

Copper, mask, paste, edge and drill layers are unchanged except for
their dates. Only the silkscreen layers change. Other differences
come from earlier PRs whose output had not been regenerated:
- V1.2 positions now leave out the hand-soldered J_STICK1 and U_XBEE1
  (#118).
- V1.2 bom/ is now the Stackup purchasing BOM, the same as V2, instead
  of the old KiCad GUI export.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
thePunderWoman added a commit that referenced this pull request Nov 12, 2026
* Add the PunderWorks logo to the V1.2 and V2 boards

Copy the PunderWorks_Logo 10/14/18 mm footprints and their source PNG
from DroidCANBridge (identical in DroidPowerSense) into each board's
SnipsControllers library. They are board-only silkscreen with no pads.

V1.2: 10 mm logo (LOGO4) on the back, below the stick pins.

V2 back silkscreen:
- 10 mm PunderWorks logo (LOGO4) between the carrier pad rows.
- The R2 Builders logo and the old QR footprint are removed.
- A KiCad QR code to github.com/PunderWorks/SnipsControllers is added
  near the top of the board.
- The front URL now points to the PunderWorks org.

The new QR sits 0.06 mm from a tented GND via and 0.61 mm from MH2,
inside KiCad's built-in 1 mm barcode quiet zone. A .kicad_dru rule
cannot relax that check, so those two violations are excluded in
the project file, and every other clearance check stays on.

DRC: 0 unexcluded violations and 0 unconnected on both boards.
check_pcb_sync passes on both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Regenerate V1.2 and V2 production files for the PunderWorks logo

Gerbers, drills, job file, placement and the JLCPCB order-set zips are
rebuilt from the current boards: kicad-cli for the separate exports and
Fabrication Toolkit (Snips_1_2 / Snips_2_0, same options as before)
for the order set.

Copper, mask, paste, edge and drill layers are unchanged except for
their dates. Only the silkscreen layers change. Other differences
come from earlier PRs whose output had not been regenerated:
- V1.2 positions now leave out the hand-soldered J_STICK1 and U_XBEE1
  (#118).
- V1.2 bom/ is now the Stackup purchasing BOM, the same as V2, instead
  of the old KiCad GUI export.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants