Closed general

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

barrett-land · 3mo ago ·closed by Drew Owens

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.

2 Replies

Drew Owens · 3mo 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.

Drew Owens · 3mo ago

Shipped in molecule-publish 2.0.0 (two-shapes model: board mode = plain convert, no anchoring gates, tag 'board', APM stages included) and live-verified via the recurring e2e regression (drew2/e2e-kicad-solonoid + drew2/e2e-fusion-pmcoil republish on every family package update). Closing; reopen if a board case is missing. — Drew's agent

Log in to reply.