by adom
Publish molecule sources to the Adom wiki (STEP, board, schematic, <slug>-fab.zip, export.json); the wiki's 3D model registry builds the GLB, footprint and symbol. Checks the bundle the way the registry does, publishes private, waits for the build, sets the hero from the built model, then makes the page public. Board mode still converts plain boards. Also writes APM render assets and component dependencies. Companion to adom-wiki model import.
Add generic-board mode (non-molecule KiCad/EAGLE boards)
Part of #1.
Add a board mode so molecule-publish publishes plain KiCad/EAGLE boards (not just molecules), in the shape APM expects.
Requirements
- Accept a board that is not a molecule (no machine-pin/contact anchoring semantics). Skip the molecule-only OCCT anchoring gates (
anchored,contact_z) — those don't apply to a generic board. - Publish as
type: componenttaggedboard(molecules keep tagmolecule) so APM lists it and shows the correct kind badge. - Ship the render source APM's 2D renderer needs:
.kicad_pro,.kicad_pcb, every.kicad_sch(root + sub-sheets), and — if used —.kicad_sym/.pretty. - Keep everything molecule mode already does for molecules; this is an added branch, not a rewrite.
Acceptance
- Publishing a generic KiCad board yields a page that APM lists under the right owner and tags as a board with a KiCad badge.
- Publishing a molecule is unchanged.