Open general

Add generic-board mode (non-molecule KiCad/EAGLE boards)

barrett-land · 11d ago

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: component tagged board (molecules keep tag molecule) 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.

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.