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.
Unified 3D: KiCad → STEP → step2glb → GLB (model_3d_path) for molecules AND boards
Part of #1.
The new pipeline exports KiCad → STEP and runs step2glb to produce the wiki GLB — for both molecules and generic boards. Make this the single 3D path.
Requirements
- Molecules: unchanged —
step2glb --molecule(anchored, gold, meter-normalized, footprint emit), GLB named exactly<slug>.glb,model_3d_path→ it. Keep all the existing stats gates. - Generic boards: export the KiCad board to STEP (on the design machine so all 3D models are baked in), run
step2glb(non-molecule mode), publish the GLB as<slug>.glb,model_3d_path→ it. - No service-kicad GLB render anywhere — one 3D source.
APM coordination (cross-repo, adom/adom-project-manager)
- APM must use the page's
model_3d_pathGLB for the 3D view (it currently renders 3D via service-kicadglb-package). With this change therender/folder no longer needs aboard.glb— 3D always comes frommodel_3d_path. Filed as an APM-side change; note it here so the two land together.
Acceptance
- A generic board's 3D shows in APM from its
step2glbGLB viamodel_3d_path. - A molecule's anchored
<slug>.glbis still the onemodel_3d_pathresolves to (byte-identical to the gated conversion).