feat(hardware): module-interconnect view generator, cross-checked against the HOWTO - #21
Open
cryptotomte wants to merge 3 commits into
Open
feat(hardware): module-interconnect view generator, cross-checked against the HOWTO#21cryptotomte wants to merge 3 commits into
cryptotomte wants to merge 3 commits into
Conversation
…ecked against the HOWTO hardware/rev2/tools/gen-module-canvas.py renders the stage-A module cards (J100/J101 header pinouts, field connectors), the current-path strip and the net-to-pin bench wiring matrix from a data block that mirrors HOWTO-module-pcb.md par.4/6/7. On every run it parses the HOWTO par.6 J101 table and aborts on any mismatch, so the generated picture can never drift from the documented contract. Outputs a standalone browser preview plus the artboards/canvas.json for the editable Claude Design canvas, all under the gitignored export dir. Python 3, no dependencies. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QU8EzuVKjCFbXraYenJVYa
Footprints were completed 2026-08-12 and the terminal blocks / pin headers are in stock — the preflight list still read as if both were open. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QU8EzuVKjCFbXraYenJVYa
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QU8EzuVKjCFbXraYenJVYa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hardware/rev2/tools/gen-module-canvas.py— Python 3, no dependencies — renders the stage-A module-interconnect views from the pin contract: six module cards with J100/J101 header pinouts and field connectors, the screw-terminal current-path strip, and the net → header-pin bench wiring matrix.Tables stay the truth: on every run the script parses the §6 J101 table in
HOWTO-module-pcb.mdand aborts with a diff on any mismatch against its own data block (verified: swapping SDA/SCL on mod-pump in the script → exit 1 with a clear message). Edit the HOWTO first, then the script, then regenerate.Outputs (gitignored
hardware/rev2/export/module-canvas/):module-interconnect.htmlstandalone browser preview, plusMain.dc.html/NetMatrix.dc.html/canvas.jsonfor the editable Claude Design canvas.🤖 Generated with Claude Code
https://claude.ai/code/session_01QU8EzuVKjCFbXraYenJVYa