← Commit history

Initial commit: app/adom-chip-laser

Ray ·be2321ff2d ·
2 files changed +120
README.mdadded+49
@@ -0,0 +1,49 @@+# Adom Chip Laser++Laser-etch a component's **MPN into its CAD at the STEP layer** — so the+downloadable STEP, a Fusion 360 import, and the derived 3D model all carry the+part number on the die. Not a viewer-only texture: it's real geometry in the STEP.++Why STEP-layer: Fusion imports a library via the **STEP**, not a GLB. And a laser+mark on black epoxy is a **color change**, not a groove — so the mark is a shallow+recess filled with a light-grey `laser_etch` inlay body, which reads on every+surface (a bare recess is invisible in a flat-shaded render).++## Call it (HTTP service)++Live at `https://laserchip-6dn1tl7vjz5u.adom.cloud` — POST a STEP, get an etched STEP:++```bash+curl -X POST "https://laserchip-6dn1tl7vjz5u.adom.cloud/etch?mpn=STM32F103C8T6" \+     --data-binary @chip.step -o etched.step+```++- `mpn` (required) — the part number to etch.+- `frac` (default `0.55`) — mark width as a fraction of the die; smaller = subtler.+- Response is `application/step`; the `X-Etch-Fontsize-Mm` header reports the size.+- `GET /health` → `{"ok":true,"version":"…"}`.++No cadquery needed on your end — any Adom app can call the service.++## CLI++```bash+adom-chip-laser etch  --in chip.step --mpn STM32F103C8T6 --out etched.step+adom-chip-laser board --in chip.step --mpn STM32F103C8T6 --name stm32f103c8t6 \+      --out-dir OUT --kicad-mod fp.kicad_mod+```++- **`etch`** — the core: chip STEP + MPN → etched STEP.+- **`board`** — full 3D deliverables: etched chip STEP + chip GLB (real materials ++  etch) + animated board GLB (chip on FR4/copper/solder/silk, toggleable+  `laser_etch` layer, pick-and-place animation).++## What you get++- A **downloadable STEP** whose die carries the MPN — survives into Fusion.+- A **3D model** with the mark and a toggleable `laser_etch` layer.+- Auto-fit, single subtle line, MPN-only. Proven across **LQFP / QFN / TQFP / LGA**.++First live on the component page [`adom/stm32f103c8t6`](https://wiki.adom.inc/adom/stm32f103c8t6).++Source: `adom-inc/adom-chip-laser` · MIT.
page.jsonadded+71
@@ -0,0 +1,71 @@+{+  "slug": "adom-chip-laser",+  "version": "0.1.0",+  "type": "app",+  "description": "Laser-etch a component's MPN into its CAD at the STEP layer — a callable HTTP service with STEP output, so the download, the Fusion import, and the 3D model all carry the part number on the die.",+  "dependencies": {},+  "license": "MIT",+  "needs_sudo": false,+  "files": [+    "page.json",+    "README.md",+    "screenshots/**",+    "client/**",+    "install.sh",+    "uninstall.sh",+    "package.json",+    "SKILL.md"+  ],+  "tags": [+    "laser-etch",+    "step",+    "cad",+    "fusion",+    "kicad",+    "mpn",+    "3d",+    "marking",+    "service",+    "electronics"+  ],+  "scripts": {+    "install": "./install.sh",+    "uninstall": "./uninstall.sh"+  },+  "discovery_triggers": [+    "laser etch",+    "laser-etch step",+    "etch mpn",+    "chip marking",+    "laser mark step",+    "part number on chip",+    "fusion step etch",+    "step laser etch",+    "die marking"+  ],+  "discovery_pitch": "Laser-etch a component's MPN into its CAD at the STEP layer — a callable HTTP service with STEP output, so the download, the Fusion import, and the 3D model all carry the part number on the die.",+  "sample_prompts": [+    {+      "label": "Etch MPN into STEP",+      "prompt": "laser-etch the MPN into this chip's STEP"+    },+    {+      "label": "Mark Fusion export",+      "prompt": "add the part number to my Fusion STEP export"+    },+    {+      "label": "Etch the die",+      "prompt": "etch STM32F103C8T6 onto the die in the 3D model"+    }+  ],+  "hero": {+    "type": "image",+    "path": "screenshots/hero.png"+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file