slopswap / V6

V6 board outline and stack

The readme of JumperlessV6/v6mech, rev A4 2026-11-23. Kevin Cappuccio with Claude.

The outline (pink) laid over the notebook page it was traced from
The outline (pink) laid over the notebook page it was traced from: the viewer's sketch underlay, seen from above.
From the top edge
From the top edge: the click wheel under the top board at the corner, a nav switch through it, two button holes. Left, the pickers and the per-board tick boxes of the selected part.

One parameter file describes the whole mechanical stack. A browser page shows it in 3D and lets you change it; the same code writes a KiCad board and a DXF per board, and a script turns it into a STEP assembly. Made 2026-11-23; rev A2 the same day (outline traced from the notebook page, boards spaced with parts between them); rev A3 the same day (input parts to choose from, and a per-board switch for what each part opens); rev A4 the same day (a 7.62 mm strip, the Wiiig face board on the shell, the page remembers everything between reloads, the parts and options from the other V6 design notes, a painted and lit 3D view, and the routing lab's console look).

Use it

  1. Open V6_outline_viewer.html (double-click; it needs no server and no network).
  2. Drag parts in the 3D view. Tick Edit the outline to drag the outline's vertices, and Lay the notebook sketch over it to see the pencil drawing under the outline. Checks are on the right. Export files gives every file as text to copy or download.
  3. Under Parts, pick a click wheel, directional switch, joystick or buttons. Select any part to move it, change the board it sits on, and tick which boards are opened for it.
  4. To make your changes the defaults: export "Parameters", save it over v6_outline.json, then node build.mjs. That rewrites out/ and the viewer.
  5. For Fusion: pip install cadquery, then python3 step_export.py writes out/<variant>/V6_stack_<variant>.step.

v6_outline.json can also be edited by hand; every dimension has a name, and keys starting with _ are comments.

What the page remembers

The design, every view setting, which sections are folded and where the camera stands are written to the browser's own storage a quarter of a second after anything changes, and again when the page is left. A reload brings all of it back. Nothing is sent anywhere, so a different browser or machine starts from the built-in design.

If the browser refuses storage (some private windows, some embedded frames), the page says so at the top of the Design panel, and Copy code or Export is the way to keep a design.

The Wiiig face board

wig.face puts Kevin's face board on the shell. Its outline and all 554 holes are read from V6pile/Wig/Wiig/wiigtop.3mf by tools/prep_face.py into ref/wig_ref.json: 78.74 × 58.42 × 0.71 mm, 480 countersunk holes on the 16 × 30 grid (2.032 at the top face, 1.2 through, which is a 90° countersink 0.416 deep), four more at the ends of the row beside each rail pair, and 2 × 35 holes of 0.65 at 1.27 mm for the wig's card header. Lined up on the header rows, its hole rows land on the WigLEDmag's to 0.03 mm and its bottom edge on the WigLEDmag's.

How it is drawn

View → Drawn as picks one of four: Real (soldermask, bare FR4 edges, plated holes, gold, a lit room to reflect, shadows, tone mapping), Flat (one colour per board, as before), X-ray and Lines. Backdrop, bench (shadow, a 0.1 inch grid that lines up with the holes, or nothing), lens, exposure, where the light comes from, and a slow turn are beside it; Save the picture writes a PNG, with a clear background when the backdrop is None. Look sets the soldermask of the boards and of the face board, silkscreen, copper finish, the shell's colour, LEDs under the holes and whether the display is lit. None of that changes the geometry or any exported file.

From the other V6 notes

Frame of reference

The outline

frame.outline is a list of vertices, clockwise from the top-left corner, traced from the notebook page (photo a384f12f, warped so the drawn breadboard's corners land on the WigLEDmag's; read to about ±0.5 mm). Each vertex can carry a corner:

In the JSON Corner
nothing sharp
"r": 2 round
"c": [cx, cy], "r": 2 rounded chamfer: a chamfer with both ends blended. cx is the leg along the more horizontal edge, cy along the more vertical one
"c": "wig" the WigLEDmag corner itself (2.51 × 2.11), copied point for point from its Edge.Cuts

The WigLEDmag corner is a 2.21 × 1.58 chamfer with 1.0 mm blends; the bigger corners use the same construction with bigger numbers.

Where the drawing and a hard reference disagree by less than the pencil's width, the reference wins: the strip's edge is on x = −5.08 (drawn −4.8 to −5.0), the band's right edge on x = 78.74 (drawn 79.0 to 79.3), the strip's end on the breadboard's bottom edge (drawn 0.5 lower). Everything else is as drawn, including the 1.7 mm step in the top edge at x ≈ 45 and the 0.5 mm bump on the strip's outer edge.

In integrated mode the bottom board is this outline plus the breadboard's own outline as one piece; the seam along the strip is filled, and frame.fill_notches closes the notch at the top-right if wanted.

The 0.1 inch rule

How the stack is built

Controls

The input parts in the catalogue, with where each lands in the default stack (main board top at 0, mid board 1.775 to 3.375, top board 5.15 to 6.75). "Top" is the part's highest point against the top face.

Part Size Put on Top Boards opened
Click wheel SIQ-02FVS3, no cap (default) base 10.3 × 11.1 × 2.0, wheel Ø14.5 from 2.0 to 4.0 main 2.75 below mid; the top board covers it
same, top board opened by hand main 2.75 below mid, top (Ø15 well)
same, on the mid board mid 0.63 above top
Click wheel with the V5 cap cap top at 5.75 main 1.0 below mid, top
Nav stick ALPS RKJXM1015004 (through-hole, the bench part) 11 × 11 × 6.6, lever Ø2.2 to 15 main lever 8.25 above; body 0.15 below mid, top (11 × 11)
Nav switch ALPS SKRHADE010 (SMD) 7.45 × 7.5 × 1.85, stem to 5.0 mid stem 1.63 above top (the body reaches 0.075 into it)
same, on the main board main 1.75 below mid; top for access (Ø6.3)
Nav pad Hroparts K1-1210UN-01 (SMD, flat) 9.9 × 9.9 × 1.7 mid 1.68 below top for access (Ø8.4)
same, on the top board top 1.7 above none
Tact 5.1 × 5.1, 1.7 high (TS-1187A-C-C-B) mid 1.68 below top for access (Ø4.0)
same, on the top board top 1.7 above none
Thumbstick, Joy-Con type (Adafruit 5628) can 17.9 × 19.9 × 5.25, cap Ø15 to 13.7 main cap 6.93 above mid, top
Custom control body w × d × h, actuator Ø and top height, typed in main as typed as it falls

Sources are in src/catalog.js beside each part. The SKRHADE010 and K1-1210UN footprints are already in JumperlessFootprints; the RKJXM has no footprint yet (B25 says so too).

Checks

Check What it tells you
0.1 inch stacking pitch on grid; a bare breadboard on either side; a second whole unit on either side; the pitch at which two units clear
Stack height top board against breadboard top; which boards are opened, for what, and whether that leaves them in pieces
Clashes parts that share space (plan overlap × height overlap); a part that runs into a board it was told not to open; parts that reach past the edge of their board
Standing out how far each part stands above the top face
Component room per board face, the area with nothing standing in front of it, against the 9,134 mm² of main-board courtyard from docs/V6_area.json
Probe dock that it stays between the outer boards; wall left in a cut board; the docked magnet's field at the nearest magnetometer; whether a dead-row pin line runs down the channel

node build.mjs --check exits 1 if two parts clash, a part runs into a board kept whole, or a bare breadboard no longer fits beside the unit.

What rev A4 shows

Everything under rev A3 still holds:

Files

Path What
v6_outline.json the parameters; the source of truth
V6_outline_viewer.html the viewer, one file, built by build.mjs
build.mjs writes out/ and the viewer; plain Node, no packages
step_export.py STEP assembly from out/<variant>/resolved.json (CadQuery)
src/geometry.js parameters → outline, boards, openings, parts, checks (browser and Node)
src/catalog.js part definitions: bodies, clearances, models, where each number came from
src/exporters.js DXF, KiCad, SVG and the text report
src/viewer.js, src/viewer.html the page
src/state.js what the page remembers: storage, older-design upgrade, undo, named copies, codes and links
src/render.js lighting, materials and the painted faces of the Real view
src/fonts/ Archivo Narrow, Michroma and IBM Plex Mono (all SIL OFL), inlined into the single file
src/models.js, src/sketch.js part meshes and the sketch underlay for the viewer, made by tools/prep_models.mjs and tools/prep_sketch.py
ref/wig_ref.json wig outline, hole grid and sensor positions read from WigLEDmag.kicad_pcb; under face, the Wiiig face board from wiigtop.3mf (tools/prep_face.py)
ref/sketch_rectified.jpg, .json the notebook page warped to mm, and its window
models/ the STEP models the STEP export places; see models/SOURCES.md
out/integrated/, out/removable/ per board .kicad_pcb and .dxf, plan.svg, checks.txt, resolved.json, the STEP
docs/ the two figures the slopswap readme page shows
tools/to_slopswap.py publishes the viewer, this readme and a zip of the folder to slopswap.org/V6 (usage at the top of the file)
tools/ dev scripts: STEP → mesh, model and sketch prep, silhouette.py (a model's plan outline per height band, where the input parts' bodies come from), and verify.py, which re-reads every output with another parser and redoes the neighbour check with shapely

The KiCad boards put the datum at (100, 100) on the sheet in every file, so they overlay. They carry the outline on Edge.Cuts, the parts on that board as outlines on User.Drawings, and the grid planes on User.Comments. They are a one-way export: edits made in KiCad do not come back into the JSON.

Not verified


Jumperless V6 is a work in progress. Part models in the viewer and the zip: KiCad library (CC-BY-SA 4.0 with the library exception), SparkFun (CC-BY 4.0), Adafruit (MIT); models/SOURCES.md in the zip says which is which.