by adom
Publish molecule sources to the Adom wiki (STEP, board, schematic, <slug>-fab.zip, export.json); the wiki's 3D model registry builds the GLB, footprint and symbol. Checks the bundle the way the registry does, publishes private, waits for the build, sets the hero from the built model, then makes the page public. Board mode still converts plain boards. Also writes APM render assets and component dependencies. Companion to adom-wiki model import.
bundle_3d.py bundle writes 3d/ under the current directory, not beside the board it rewrites
What happened
scripts/bundle_3d.py bundle <board> --models <dirs> --write writes the models into ./3d relative to the current directory, but rewrites the board's (model ...) paths to ${KIPRJMOD}/3d/<basename>, which resolves beside the board. When it is run as the skill shows it (Stage 1 step 4, from the package's own directory, with the board in another folder), the models land in ~/.claude/skills/molecule-publish/3d/ and the bundle folder gets none.
It still reports success:
bundled 31 model(s) into 3d/ ; rewrote 31 path(s) (written)
and the follow-up bundle_3d.py check <board> --page <owner>/<slug> then lists every model as MISSING custom, which reads like the bundle step did nothing.
Repro
- molecule-publish 3.1.0, adom-wiki 1.8.14, Python 3.12, WSL2 (Hydrogen local workspace), 2026-11-09
cd ~/.claude/skills/molecule-publishpython3 scripts/bundle_3d.py bundle /path/to/bundle/board.kicad_pcb --models /path/to/bundle/lib/x.3dshapes --writels /path/to/bundle/3d-> no such folder;ls ./3d-> the 31 models
Expected
--out defaults to 3d/ beside the board (the folder ${KIPRJMOD} names), or the success line prints the absolute folder it wrote to. Workaround: pass --out <bundle>/3d.
Also: check --page <ref> on a page that has not been published yet cannot see local files; a hint pointing at --have <bundle>/3d/* would save a round trip.
Seen while republishing noah/esc-am32-aiflow-3 (rev B).
0 Replies
Log in to reply.