← Commit history

Add interactive embed command + section

John Lauer ·934f82b4c0 ·4mo ago ·parent c1b6a39
2 files changed +14
README.md+14
@@ -92,6 +92,19 @@ The part number is **"laser-marked" onto the chip's top face** — real embossed  The finished symbol: pins grouped and labelled, the reference and name placed clear of the pins, and the embossed package centred in the body — all themed onto the dark canvas and ready to drop into a schematic. This is exactly what `Send to → KiCad` writes out, and what the Fusion/Altium/OrCAD `.lbr` is built from. +## Interactive embed — drop the live viewer into any page++![The self-contained interactive symbol embed](docs/embed.png)++`adom-symbol embed` exports a **single self-contained `.html` file** — pan, zoom, and a filterable pin panel with datasheet descriptions, no server and no external assets — built to drop straight into an `<iframe>` on a **wiki component page**. The whole symbol travels in one portable file.++```bash+adom-symbol embed --file part.kicad_sym            # → part-embed.html+```+```html+<iframe src="…/part-embed.html" width="100%" height="520" style="border:0"></iframe>+```+ ## Send to  KiCad (native symbol), Fusion 360 / Altium / OrCAD (a true `.lbr` built by **adom-lbr**).@@ -114,5 +127,6 @@ Opened from **chip-fetcher**; pairs with **adom-footprint**, **adom-lbr**, and * ```bash adom-symbol serve --port 8781      # live app (AI-drivable: /state, /load, /relayout, /eval) adom-symbol render --file part.kicad_sym --out part.svg+adom-symbol embed  --file part.kicad_sym            # interactive HTML for an iframe ``` MIT, contributions welcome.
docs/embed.pngadded
⋯ 1 unchanged line ⋯