Adom Molecule CLI

Rust CLI that wraps the Hydrogen molecule import pipeline. Upload KiCad, Fusion 360, or EasyEDA design files to create molecules, automatically queue 3D optimization via the Blender pipeline, and manage your molecule library — all from the command line or Claude Code.

Install

gh release download v0.1.0 --repo adom-inc/adom-molecule --pattern 'adom-molecule' -D /usr/local/bin
chmod +x /usr/local/bin/adom-molecule
adom-molecule install

Quick Start

# Check connectivity
adom-molecule health

# Create a KiCad molecule (uploads + auto-optimizes)
adom-molecule create --name "RP2040_Core" --owner adom \
    --glb model.glb --pcb board.kicad_pcb --sch schematic.kicad_sch

# Create a Fusion 360 molecule
adom-molecule create --source fusion --name "Enclosure" --owner john \
    --usdz model.usdz --silk-top silkscreen.png

# List all molecules
adom-molecule list

# Delete a molecule
adom-molecule delete --owner john --name "OldBoard"

Supported Sources

Source Required Files Pipeline
KiCad .glb, .kicad_pcb, .kicad_sch Blender 3D optimization
Fusion 360 .usdz, silkscreen .png USDZ-to-GLB conversion via Blender
EasyEDA .obj Direct upload

Source type is auto-detected from file extensions, or set explicitly with --source.

How It Works

  1. Upload — Files are sent via multipart POST to the Hydrogen API (/api/molecules/create)
  2. Optimize — After upload, the CLI auto-queues the Blender optimization pipeline (KiCad or Fusion, depending on source)
  3. Result — Molecule appears at hydrogen.adom.inc/{owner}/molecules/{name} with optimized 3D model

Repo