Skip to content

feat: configurable microcontroller pin channel depth#93

Open
tadelv wants to merge 1 commit into
rianadon:mainfrom
tadelv:feat/mcu-pin-channel-depth
Open

feat: configurable microcontroller pin channel depth#93
tadelv wants to merge 1 commit into
rianadon:mainfrom
tadelv:feat/mcu-pin-channel-depth

Conversation

@tadelv

@tadelv tadelv commented May 26, 2026

Copy link
Copy Markdown

Summary

  • Adds a Pin Channel Depth setting controlling how far the solder/pin channels on the long sides of the microcontroller holder carve down (model.ts, the sidecutout block).
  • 0 (default) keeps the existing automatic depth — no change for existing configs. A configured value carves that many mm down from the board plane; large enough cuts fully through the floor (useful for long through-hole header pins).
  • Plumbed through proto (KeyboardExtra.microcontroller_pin_channel_depth), Cuttleform/CosmosKeyboard configs, serialization (trims to 0 so it doesn't bloat share URLs), and the visual editor (under Fasten Microcontroller, non-basic mode). Also available in the advanced Options editor.

Test plan

  • npm run check passes (verified locally).
  • In /beta, select a board with a side cutout (e.g. nice!nano, Pro Micro), set Pin Channel Depth, and confirm the long-side channels deepen / cut through in the 3D model and exported STL.
  • Default (0) produces an unchanged holder vs. before.

🤖 Generated with Claude Code

Expose a Pin Channel Depth setting controlling how far the solder/pin
channels on the long sides of the microcontroller holder carve down.
0 keeps the existing automatic depth; a value carves that many mm from
the board plane (large enough cuts fully through). Plumbed through proto,
config, serialization, and the visual editor.

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

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cosmos-keyboards Error Error May 26, 2026 7:01pm

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.

1 participant