Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
model_3d_path resolves to render/<version>/board.glb when the slug sorts after 'render/'
On a component page, the indexer resolves metadata.model_3d_path by picking what looks like the alphabetically-first .glb in the page repo. When a page also has APM render assets under render/, any slug that sorts after the literal string render/ gets its 3D tab pointed at render/<version>/board.glb instead of the anchored page-level <slug>.glb.
Observed on three molecule pages published back to back, same pipeline, same day:
| page | slug vs render/ |
resulting model_3d_path |
|---|---|---|
| adom/drone-motor-carrier-board | d < r |
drone-motor-carrier-board.glb (correct) |
| adom/drone-motor-carrier-board-integrated-adc | d < r |
drone-motor-carrier-board-integrated-adc.glb (correct) |
| adom/rp2350-ads1220-molecule | rp > re |
render/1.0.0/board.glb (wrong) |
The only difference between them is where the slug sorts relative to render/.
Why it matters. The page-level <slug>.glb is the anchored, gold-upgraded step2glb output that the molecule-publish doctrine gates on and checksums. render/<version>/board.glb is APM's preview copy, and it is currently emitted with fewer meshes than the page model (adom/adom-project-manager#9). So the affected page serves a stripped model on its 3D tab, and every import that resolves model_3d_path gets the degraded geometry, even though the correct GLB is sitting right there in the repo and passes its checksum gate.
What I tried, none of which changed the value:
adom-wiki repo reindex adom/rp2350-ads1220-molecule- re-pushing
rp2350-ads1220-molecule.glbto make it the newest file - republishing the package at 1.0.1 with the
componentblock intact - setting
component.model_3d_pathexplicitly inpage.jsonand pushing it
That last one is the part worth calling out separately: there is currently no author-side override. Even an explicit component.model_3d_path in page.json loses to the auto-scan.
Two fixes, either of which would close this:
- Prefer
<slug>.glbat the repo root over anything underrender/when resolvingmodel_3d_path, and generally excluderender/from the scan since it is a preview folder that APM owns. - Honor an explicit
component.model_3d_pathinpage.jsonas an override, so an author can pin the model when the heuristic guesses wrong.
Repro is just: publish a component page whose slug sorts after render, then run adom-nucleus --render-board <slug> and read metadata.model_3d_path.