skill
molecule-publish
Public Made by Adomby adom
Publish molecules AND generic boards to the Adom wiki - one publisher, two shapes: OCCT conversion (molecule mode with stats gates, or plain for boards), component packaging, adom-wiki publish, APM re
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).