← Commit history

Add interactive embed command + section

John Lauer ·dbcd2e4272 ·4mo ago ·parent 5ab6a43
2 files changed +14
README.md+14
@@ -24,6 +24,19 @@ Flip the **InstaPCB paste dots** layer on (it's off by default) and every pad fi  ![The same footprint with the InstaPCB paste-dots layer toggled on](docs/board-paste.png) +## Interactive embed — drop the live viewer into any page++![The self-contained interactive footprint embed](docs/embed.png)++`adom-footprint embed` exports a **single self-contained `.html` file** — pan, zoom, and the full **Layers panel** (copper / fab / courtyard / paste apertures, and the opt-in InstaPCB paste-dot overlay), no server and no external assets — built to drop straight into an `<iframe>` on a **wiki component page**.++```bash+adom-footprint embed --file part.kicad_mod         # → part-embed.html+```+```html+<iframe src="…/part-embed.html" width="100%" height="520" style="border:0"></iframe>+```+ ## Send to  KiCad (native footprint), Fusion 360 / Altium / OrCAD (`.lbr` via **adom-lbr**).@@ -46,5 +59,6 @@ Opened from **chip-fetcher**; pairs with **adom-symbol**, **adom-lbr**, and **ds ```bash adom-footprint serve --port 8783    # live app (AI-drivable: /state, /load, /deliver, /eval) adom-footprint render --file part.kicad_mod --out part.svg+adom-footprint embed  --file part.kicad_mod            # interactive HTML for an iframe ``` MIT, contributions welcome.
docs/embed.pngadded
⋯ 1 unchanged line ⋯