app
Adom Chip Thumbnailer
Public Made by Adomby adom
The chip-icon factory: from a STEP file it renders the complete family of chip icons, shaded 3D orientations, transparent icons, name-lasered variants, and 11 vector outline styles, in a live web app + CLI.
← Commit history
Publish 1.1.6
7 files changed
+27−21
README.md+17−11@@ -25,7 +25,7 @@ stays a lean Rust client and does the alpha-keying locally. | `<MPN>-3d-iso-named[-icon].png` | part number **lasered** onto the chip top (180, reads right-side-up) | | `<MPN>-3d-iso-named90[-icon].png` | the name at a right angle (90), for chips taller than wide | | `<MPN>-named.step` | the embossed STEP, so the mark travels to KiCad too |-| `<MPN>-3d-outline-<style>[-named].svg` | **16 vector outline styles** via OCCT hidden-line removal |+| `<MPN>-3d-outline-<style>[-named].svg` | **11 vector outline styles** via OCCT hidden-line removal | | `<MPN>-thumbs.json` | self-describing manifest (palette, files, full-fidelity tool) | ## The part number, lasered onto the chip (no other EDA tool does this)@@ -39,26 +39,32 @@ scaled to fit the chip's bounding box.  -## 16 outline styles+## 11 outline styles OCCT hidden-line removal gives a clean, complete isometric outline (body-silhouette, top face, every lead), in 16 styles across three axes: **colour**-(white / teal / blue / purple / amber / green / pink), **thickness** (hairline-to heavy, plus dark "ink on paper"), and **approach** (solid / dashed / neon /-x-ray / blueprint / ink-on-paper). Each comes plain and name-marked.+silhouette, top face, every lead), in 11 styles across three axes: **colour**+(white + teal), **thickness** (hairline to heavy, plus dark "ink on paper"),+and **approach** (solid / dashed / neon / x-ray / blueprint / ink-on-paper).+Each comes plain and name-marked. -+ ## Name-marked outlines, built for the schematic symbol Every outline style also comes **name-marked**, the chip's line-art silhouette with the manufacturer part number on it. This is exactly what a schematic symbol wants in its body: the real chip shape and the part number, instead of a-featureless rectangle. adom-symbol drops one straight into the symbol body as-the centred overlay. The part number reads upright at 180, or use the-right-angle (90) variant when the symbol body is taller than it is wide.+featureless rectangle. adom-symbol drops one straight into the symbol body. -+The mark comes in two orientations. **At 180** it reads left-to-right along the+chip's width, but a long part number can run past the chip's edges:++++**At 90** (the right angle) it runs along the other axis and stays inside the+chip, so it is usually the one to pick for a long part number or a narrow chip:++ ## The web app
SKILL.md+6−6@@ -1,6 +1,6 @@ --- name: chip-thumbnailer-description: "The chip-icon factory. From a single STEP file it renders the complete family of CHIP icons (the 3D body in every form): 6 face-up shaded orientations x sm/md/lg, transparent alpha-keyed icons, the part-number LASERED onto the chip top (180 reads upright + a 90 right-angle variant), the embossed .step that travels to KiCad, and 16 vector OUTLINE styles via OCCT hidden-line removal (colours white/teal/blue/purple/amber/green/pink, thicknesses hairline..heavy, approaches solid/dashed/neon/x-ray/blueprint/ink-on-paper). Ships a live web app (chip-thumbnailer serve|app) that fills each icon into a dashed box in real time with per-icon size/format/KB/transparency, plus a CLI (once/scan/status/rerender). The heavy OCCT work runs on service-step2glb; chip-thumbnailer is a lean Rust client + does alpha-keying locally. NOT symbol/footprint thumbnails (those are adom-symbol / adom-footprint). Triggers: chip icon, chip thumbnail, chip thumbs, render chip, chip 3d icon, transparent chip icon, name on chip, laser part number, chip outline, vector outline, chip-thumbnailer, .thumb-pending, chip-thumbs.json, chip wiki hero, library card, regenerate chip icons."+description: "The chip-icon factory. From a single STEP file it renders the complete family of CHIP icons (the 3D body in every form): 6 face-up shaded orientations x sm/md/lg, transparent alpha-keyed icons, the part-number LASERED onto the chip top (180 reads upright + a 90 right-angle variant), the embossed .step that travels to KiCad, and 11 vector OUTLINE styles via OCCT hidden-line removal (colours white + teal, thicknesses hairline..heavy, approaches solid/dashed/neon/x-ray/blueprint/ink-on-paper). Ships a live web app (chip-thumbnailer serve|app) that fills each icon into a dashed box in real time with per-icon size/format/KB/transparency, plus a CLI (once/scan/status/rerender). The heavy OCCT work runs on service-step2glb; chip-thumbnailer is a lean Rust client + does alpha-keying locally. NOT symbol/footprint thumbnails (those are adom-symbol / adom-footprint). Triggers: chip icon, chip thumbnail, chip thumbs, render chip, chip 3d icon, transparent chip icon, name on chip, laser part number, chip outline, vector outline, chip-thumbnailer, .thumb-pending, chip-thumbs.json, chip wiki hero, library card, regenerate chip icons." user-invocable: true --- @@ -23,7 +23,7 @@ wiki chip pages consume. <MPN>-3d-iso-named[-icon].png part number lasered on top, 180 (reads upright) <MPN>-3d-iso-named90[-icon].png the name at a right angle, 90 (taller/wider fit) <MPN>-named.step embossed STEP (the mark travels to KiCad)-<MPN>-3d-outline-<style>[-named].svg 16 OCCT-HLR vector outline styles, plain + name-marked+<MPN>-3d-outline-<style>[-named].svg 11 OCCT-HLR vector outline styles, plain + name-marked <MPN>-thumbs.json self-describing manifest (READ THIS first) ``` @@ -33,8 +33,8 @@ chosen-up-axis from chip-fetcher's `info.json` is honoured for the single-pose outline + name-laser set. **Sizes**: `-sm` 160x120, none = `md` 320x240 (canonical), `-lg` 800x600. -**16 outline styles**, three axes of variety:-- colour: `white`(dark) / `teal` / `blue` / `purple` / `amber` / `green` / `pink`+**11 outline styles**, three axes of variety:+- colour: `white`(dark) / `teal` - thickness: `hairline` / `dark`(medium) / `heavy`, plus dark-ink `thin` / `bold` / `ink-heavy` - approach: solid / `dashed` / `neon` (glow) / `xray` (hidden edges) / `blueprint` @@ -74,11 +74,11 @@ on OCCT; jobs run in isolated subprocesses, `202 + job_id`, poll | call | produces | |---|---| | `POST /thumbnail?upAxis=<a>` | one shaded orientation PNG |-| `POST /outline?upAxis=<a>&name=&suffix=&rot=` | `{style: svg}` for the 16 styles (OCCT HLR) |+| `POST /outline?upAxis=<a>&name=&suffix=&rot=` | `{style: svg}` for the 11 styles (OCCT HLR) | | `POST /name-emboss?upAxis=<a>&name=&rot=` | embossed STEP + rendered iso (base64) | `rot` = text orientation: `180` (default, reads upright to the iso-camera), `270` (a right angle, the `named90` set). The text is scaled to+camera), `90` (a right angle, the `named90` set, faces the viewer). The text is scaled to the chip's top-face bounding box at whichever rotation. chip-thumbnailer does the **transparent-icon alpha-key in pure Rust**
package.json+2−2@@ -1,8 +1,8 @@ { "slug": "adom-chip-thumbnailer",- "version": "1.1.5",+ "version": "1.1.6", "type": "app",- "description": "The chip-icon factory: from a STEP file it renders the complete family of chip icons, shaded 3D orientations, transparent icons, name-lasered variants, and 16 vector outline styles, in a live web app + CLI.",+ "description": "The chip-icon factory: from a STEP file it renders the complete family of chip icons, shaded 3D orientations, transparent icons, name-lasered variants, and 11 vector outline styles, in a live web app + CLI.", "tags": [ "chip", "icon",
page.json+2−2@@ -1,8 +1,8 @@ { "slug": "adom-chip-thumbnailer",- "version": "1.1.5",+ "version": "1.1.6", "type": "app",- "description": "The chip-icon factory: from a STEP file it renders the complete family of chip icons, shaded 3D orientations, transparent icons, name-lasered variants, and 16 vector outline styles, in a live web app + CLI.",+ "description": "The chip-icon factory: from a STEP file it renders the complete family of chip icons, shaded 3D orientations, transparent icons, name-lasered variants, and 11 vector outline styles, in a live web app + CLI.", "dependencies": {}, "tags": [ "chip",
screenshots/named-outlines.png⋯ 1 unchanged line ⋯
screenshots/named90-outlines.pngadded⋯ 1 unchanged line ⋯
screenshots/outline-styles.png⋯ 1 unchanged line ⋯