skill
molecule-publish
Public Made by Adomby adom
Publish molecules AND generic boards to the Adom wiki - one publisher, two shapes: OCCT conversion (molecule mode with stats gates, or plain for boards), component packaging, adom-wiki publish, APM re
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.