master
Download ZIP Propose a change
Name Last commit message Last updated
docs Preserve source for molecule-pipeline-2.0.0 · AdityaAngajala
install.sh Preserve source for molecule-pipeline-2.0.0 · AdityaAngajala
package.json package.json: match the live discovery triggers; triggers shared with molecule-publish stay on that page · Colby Knox
page.json Update discovery triggers · Adom Wiki
README.md Preserve source for molecule-pipeline-2.0.0 · AdityaAngajala
SKILL.md Preserve source for molecule-pipeline-2.0.0 · AdityaAngajala
uninstall.sh Publish 1.0.0 · Drew Owens

molecule-pipeline: move molecules through the Adom ecosystem

This is the page. If you want a board you designed to live in the Adom ecosystem (on the wiki, importable into any Hydrogen account, wireable in the 3D editor), everything starts here. Share this page; nothing else is required reading.

Say one sentence, get the whole pipeline

Your agent handles every step below from a single prompt:

"Move molecule ABC from KiCad on my computer up to the wiki."

"Get molecule ABC into my Hydrogen account."

"Publish my molecule ABC and import it into my Hydrogen account."

Works the same for Fusion 360 and Altium sources. A STEP on its own is not enough: the registry places the model from the board file, so bring the board too. Name your tool or let the agent detect it from your files.

The whole process, step by step

Every stage, every tool, every gate, in order: docs/process.html (EDA export on the laptop, the bundle check, the private publish, the registry build, hero and public page, render archive, Hydrogen import, and wiring in the 3D editor).

What happens under the hood

The molecule-pipeline stack

Stage Skill / tool What it guarantees
1. Export kicad-export-molecule / fusion-export-molecule / altium-export-molecule sources only: STEP, board, schematic, <slug>-fab.zip, export.json; the STEP exported on your machine (so your 3D models bake in), pulled to the container via adom-bridge
2. Check and publish molecule-publish the bundle checked against the registry's recipes and pin-name rule, then one private pkg publish of the sources; nothing generated is pushed
3. Build the wiki's 3D model registry (program molecule/8) anchored GLB (Z-up, front-left pin at the origin), gold machine pins, board look from the Gerbers, footprint and symbol JSON on the board route; the publish waits for it and stops on a failed build
4. Hero and public molecule-publish the hero posed from the built model; the page goes public once the build passed
5. Import adom-wiki model import (adom-wiki-cli) the registry's model with its footprint and symbol, registered under YOUR owner; the command prints its Hydrogen link

An Altium board builds a full molecule too: the registry reads the .PcbDoc with the STEP. A STEP with no board file is refused (board-file-required).

Setup (once per container)

adom-wiki --version                               # needs 1.8.0 or newer
adom-wiki self-update                             # when it is older
adom-wiki pkg install adom/molecule-pipeline      # the router (this page)
adom-wiki pkg install adom/kicad-export-molecule  # + your EDA's export skill

Dependency tree

From each package's package.json:

molecule-pipeline 2.0.0
└── adom/molecule-publish ^3.0.0          check · publish sources · wait for the build

<your EDA export skill>                   stage-1 front end (install the one you use)
├── kicad-export-molecule 2.0.0           adom/molecule-publish ^3.0.0, adom/adom-bridge ^2.0.0
├── fusion-export-molecule 2.0.0          adom/molecule-publish ^3.0.0, adom/adom-bridge ^2.0.0
└── altium-export-molecule 3.0.0          adom/altium-bridge ^0.2.54, adom/molecule-publish ^3.0.0, adom/adom-bridge ^2.0.0

Not dependencies, installed when needed: adom-wiki-cli (preinstalled on Adom containers; 1.8.0 or newer; its adom-wiki model import is the Hydrogen import), adom-project-manager (APM render archive), kicad-to-molecule (only if your board needs wings and machine pins added), adom-step2glb (plain boards and component pages only).

Laptop prerequisites: Adom Bridge running; your EDA installed; for molecules, the board carries the Adom machine-pin furniture (machine pins named MP1 to MP4, two or four of them, all one size and length, and machine contacts named MC1, MC2, ...; kicad-to-molecule adds them to a plain board).

What a published molecule page carries

You provide sources only: STEP, board, schematic, <slug>-fab.zip, export.json. The registry builds the GLB (anchored, gold pins, optimized), its lighter render copy for the page viewer, and on the board route the footprint and symbol JSON with the wire-attach heights. Nobody pushes those generated files; a write that carries them to a molecule page is refused.

The invariants (why results are consistent)

  1. Molecule pages carry sources only: STEP, board, schematic, <slug>-fab.zip and export.json. The publisher checks the fabrication files before publishing and the registry checks them again in the build.
  2. No tool pushes a GLB to a molecule page; EDA-native GLB exports are never used. The registry builds the model.
  3. STEP is exported on the design machine so custom 3D models survive.
  4. Every stage verifies before the next starts; a failed build stops the run.
  5. Import takes the registry's model after a passed build; nothing is regenerated.