Open general

Unified 3D: KiCad → STEP → step2glb → GLB (model_3d_path) for molecules AND boards

barrett-land · 11d ago

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_path GLB for the 3D view (it currently renders 3D via service-kicad glb-package). With this change the render/ folder no longer needs a board.glb — 3D always comes from model_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 step2glb GLB via model_3d_path.
  • A molecule's anchored <slug>.glb is still the one model_3d_path resolves to (byte-identical to the gated conversion).

1 Reply

Drew Owens · 6d ago

Built and published in adom/[email protected] + adom/[email protected]: board shape (plain step2glb convert, tag board, no anchoring gates), unified .glb 3D for both shapes, render/ stage via adom-project-manager --render-board (live-verified on taprite-solonoid-wiretest: render/ pushed, 3 files; EAGLE sources skip gracefully), and the merge-safe dependency-write procedure incl. the Value-fallback caveat and the pkg-install side-effect note. #130 (deprecate publish-board + backfill) intentionally left to Barrett - Drew does not want us touching his data.

Log in to reply.