← All Pull Requests

Carry full Altium fabrication sources into molecule publishing #1

Merged opened by AdityaAngajala 2026-10-19

Use the current Altium manufacturing verb for both sides' layers and drill, retain native sources, and require the fab zip/export record handoff through molecule-publish 2.11.0. Check for an actual drawn outline and report the inherited OutJob drill settings honestly. Update the bridge dependency to its current page.

The existing metadata and STEP anchor blockers remain explicitly documented; this does not claim they are solved.

Validation: native MpinTest archive accepted by the shared checker, including its plated TXT drill; shared regression tests pass; package lint reports no errors. No fresh Altium GUI export or bridge binary change was performed.

Diff Skip to comments

--- a/package.json+++ b/package.json@@ -1,49 +1,51 @@ {   "slug": "altium-export-molecule",-  "version": "2.3.1",+  "version": "2.4.0",   "type": "skill",   "description": "Direct Altium -> OCCT molecule/board path: STEP export (bodies) + Gerber export (copper + silkscreen) -> composited top-face overlay -> step2glb molecule mode. Includes make_overlay.py. Hands off to molecule-publish.",   "dependencies": {     "adom/adom-step2glb": "^1.1.0",-    "barrett-land/adom-desktop-altium-bridge": "*",+    "adom/altium-bridge": "^0.2.50",+    "adom/molecule-publish": "^2.11.0",     "adom/adom-bridge": "^2.0.0"   },   "scripts": {⋯ 35 unchanged lines ⋯     "cli"   ] }+--- a/page.json+++ b/page.json@@ -1,60 +1,61 @@ {   "slug": "altium-export-molecule",-  "version": "2.3.1",+  "version": "2.4.0",   "type": "skill",   "description": "Direct Altium -> OCCT molecule/board path: STEP export (bodies) + Gerber export (copper + silkscreen) -> composited top-face overlay -> step2glb molecule mode. Includes make_overlay.py. Hands off to molecule-publish.",   "tags": [⋯ 5 unchanged lines ⋯   ],   "dependencies": {     "adom/adom-step2glb": "^1.1.0",-    "barrett-land/adom-desktop-altium-bridge": "*",+    "adom/altium-bridge": "^0.2.50",+    "adom/molecule-publish": "^2.11.0",     "adom/adom-bridge": "^2.0.0"   },   "scripts": {⋯ 42 unchanged lines ⋯--- a/README.md+++ b/README.md@@ -1,57 +1,60 @@ # altium-export-molecule +Every molecule export includes `<slug>-fab.zip` (both sides' fabrication layers and drill) and `export.json` (producer versions and source hashes). The exporter hands both to molecule-publish, which checks them before and after the page push. See [SKILL.md](SKILL.md) for the tool-specific steps.+ Take an Altium Designer board to a GLB that actually looks like the board — pads, silkscreen and all — and on to a wiki molecule. ⋯ 49 unchanged lines ⋯ near/far tight (`0.05 / 20`, not `0.001 / 100`).  See [SKILL.md](SKILL.md) for the full stage-by-stage recipe and the transfer gotchas.+--- a/SKILL.md+++ b/SKILL.md@@ -1,398 +1,436 @@⋯ 158 unchanged lines ⋯ `ExportSTEP\` subfolder under the OutJob's `RelativeOutputPath1`, and an OutJob only generates at all if it is a **member of the project**. -### 1b. Gerbers — fully headless, no click+### 1b. Full fabrication bundle — required on every molecule export +Use the current `adom/altium-bridge` manufacturing verb on the design machine:+ ```bash+adom-bridge altium_export_manufacturing '{"projectPath":"C:/work/Board.PrjPcb","pcbPath":"C:/work/Board.PcbDoc"}'+```++Use the returned `outputDir` and `files`. This emits Gerbers, NC drill,+pick-and-place and BOM. The generated OutJob inherits the installed Altium+template's drill settings: verify metric units, common Gerber/drill origin,+and separate plated/unplated files in the OutJob before the final export.+Do not claim that the current bridge sets those settings itself. If only+mixed drills can be produced, record `drill_mixed` explicitly.++Require `.GTL`, `.GBL`, `.GTS`, `.GBS`, `.GTO`, `.GBO`, a drawn board+outline and the Excellon drill outputs. Altium can emit an empty `.GM1` or+`.GKO`; an existing filename is not proof of an outline. If the boundary is+absent, stop and export the actual board boundary on a mechanical layer.+Keep the STEP's holes and the original `.PcbDoc`; do not replace the native+source with an imported KiCad board.++Use `molecule-publish`'s `scripts/fab_bundle.py` and `docs/fabrication.md`+to write `<slug>-fab.zip` and `export.json`. Record the Altium and bridge+versions, STEP, native PcbDoc, every SchDoc, project, and all other exported+sources. Supply the real layer stack where available; unknown colours,+finish or thickness stay absent. The helper verifies required layers,+outline, drill and hashes. Hand both files to publishing and verify the+downloaded pushed commit too.++The fabrication bundle does not resolve Stage 2's metadata/anchor blocker.+Keep reporting that separately; having Gerbers does not prove a publishable+anchored molecule. Preserve the current overlay while the converter needs it.++### 1c. Legacy top overlay inputs++The four files below are only inputs to the existing top-overlay renderer.+They do not replace the full fabrication bundle above.++```bash adom-desktop --ai-thread "<thread>" altium_run_outjob '{"outjob":"C:\\...\\AdomSilkGerber.OutJob"}' ``` ⋯ 228 unchanged lines ⋯   prerequisite that puts molecule furniture into Altium in the first place.   Replaces the deprecated `adom-altium-library-importer`. - **`step2glb`** — the CLI/service this calls for the OCCT conversion.+

Comments

No comments yet.

Log in to comment.