app
AI Flow
Public Made by Adomby adom
Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board.
main
John Lauer
0.1.49: named outlines compose the single-stroke name in every style (two-line names, hairline)
38881db
3d ago
AI Flow 0.1.48
From John's rule (2026-10-03): a part-number laser mark runs along the longest usable dimension of the marking face, as large as fits, upright and left to right with pin 1 lower left, flat and light, and the chip outline's name is the same mark. The tools now get it right by construction and check it.
- Mark planner (
adom-aiflow-etch plan,tools/laser-etch/mark_plan.py): from the STEP (and the footprint for pin 1, pads and the model rotation) it picks the face (top, or the front side wall for LEDs), the long axis (chip R/C/L along the body between the end caps, ICs along the pin rows), the usable band (end caps and the pin-1 dot excluded), the text size and lines (one line, two equal lines only when both are larger), the reading direction from pin 1, and the outline pose and rot. JSON schemaadom/mark-plan@1. A vendor model that already prints its marking is detected and left alone. - Etch by plan, on the shared service only.
adom-aiflow-etch --in --mpn --out [--footprint]no longer needs local OpenCascade: exact quarter turns on the STEP text, the service etches a proxy plate laid on the band, the real model is grafted underAdom.Chipnext toAdom.LaserEtchwith its colours, old marks are replaced.--alongstays as an override and warns.--legacykeeps the old OpenCascade path. - Legibility gate (
adom-aiflow-etch check, runs after every etch): axis, upright, size against what fits, inside the band, flat and coplanar, group name, colour, caps in pixels at 320 px, and (with--outline) the outline's name against the model's mark. PASS / WARN / FAIL with Hint lines and a top view in the standard pose (<etched>.check.png).adom-aiflow-etch testproves it fails the bad cases. - Named outline = the mark (
adom-aiflow-etch outline): the service's single-stroke name drawn on the planned band and mapped exactly into the standard iso pose; failing SVGs are written as*.FAILED-GATE.svg, never silently. finishrecognisesAdom.LaserEtchas well as the legacylaser_etch. Skills (adom-aiflow, aiflow-molecule, aiflow-sourcing) and the board flow carry the Marking checklist.- Tested on TPS54202DDCR, CR0402-FX-1002GLF, CL21A226MPQNNNE, AMPLH5030S-150MT (vendor marking kept) and IN-S63BTG (side wall).
0.1.49
adom-aiflow-etch outline: a two-line or long name (more strokes than the plate has edges) and the hairline style are now drawn in the single-stroke font on the planned band in every style, instead of falling back to the etched model's own edges.
# AI Flow 0.1.48
From John's rule (2026-10-03): a part-number laser mark runs along the longest usable dimension of the marking face, as large as fits, upright and left to right with pin 1 lower left, flat and light, and the chip outline's name is the same mark. The tools now get it right by construction and check it.
- **Mark planner** (`adom-aiflow-etch plan`, `tools/laser-etch/mark_plan.py`): from the STEP (and the footprint for pin 1, pads and the model rotation) it picks the face (top, or the front side wall for LEDs), the long axis (chip R/C/L along the body between the end caps, ICs along the pin rows), the usable band (end caps and the pin-1 dot excluded), the text size and lines (one line, two equal lines only when both are larger), the reading direction from pin 1, and the outline pose and rot. JSON schema `adom/mark-plan@1`. A vendor model that already prints its marking is detected and left alone.
- **Etch by plan, on the shared service only.** `adom-aiflow-etch --in --mpn --out [--footprint]` no longer needs local OpenCascade: exact quarter turns on the STEP text, the service etches a proxy plate laid on the band, the real model is grafted under `Adom.Chip` next to `Adom.LaserEtch` with its colours, old marks are replaced. `--along` stays as an override and warns. `--legacy` keeps the old OpenCascade path.
- **Legibility gate** (`adom-aiflow-etch check`, runs after every etch): axis, upright, size against what fits, inside the band, flat and coplanar, group name, colour, caps in pixels at 320 px, and (with `--outline`) the outline's name against the model's mark. PASS / WARN / FAIL with Hint lines and a top view in the standard pose (`<etched>.check.png`). `adom-aiflow-etch test` proves it fails the bad cases.
- **Named outline = the mark** (`adom-aiflow-etch outline`): the service's single-stroke name drawn on the planned band and mapped exactly into the standard iso pose; failing SVGs are written as `*.FAILED-GATE.svg`, never silently.
- `finish` recognises `Adom.LaserEtch` as well as the legacy `laser_etch`. Skills (adom-aiflow, aiflow-molecule, aiflow-sourcing) and the board flow carry the Marking checklist.
- Tested on TPS54202DDCR, CR0402-FX-1002GLF, CL21A226MPQNNNE, AMPLH5030S-150MT (vendor marking kept) and IN-S63BTG (side wall).
## 0.1.49
- `adom-aiflow-etch outline`: a two-line or long name (more strokes than the plate has edges) and the hairline style are now drawn in the single-stroke font on the planned band in every style, instead of falling back to the etched model's own edges.