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.
fab_bundle.py accepts string mask/silk colours; registry normalize then crashes
What: scripts/fab_bundle.py create --stackup accepts maskColor/silkColor as plain strings ("green", "white"), writes them into export.json, check passes, and the publish is accepted; the registry build then fails with REGISTRY_CHECK_FAILED ... normalize: normalize ('str' object has no attribute 'get').
Repro: stackup JSON {"thicknessMm":1.6,"maskColor":"green","silkColor":"white","finish":"ENIG"} -> fab_bundle.py create ... --stackup -> adom-wiki pkg publish --wait (noah/am32-esc-lpm32 1.0.1, build 72840).
Fix that worked: {"maskColor":{"top":"green","bottom":"green"},"silkColor":{"top":"white","bottom":"white"},"copperLayers":2,...} (build 1.0.2 passed). Suggest: validate the stackup shape in create/check (or document it in --help), so the failure shows before publishing.
0 Replies
Log in to reply.