Skip to content

v0.2.2 — photo workflow, trustworthy probing, machine intelligence

Choose a tag to compare

@MadsRudolph MadsRudolph released this 04 Jul 10:16
· 124 commits to main since this release

The board-photo release: SRM-CAM now closes the loop between what you cut and what you meant to cut — and the probing that failed a real board got rebuilt end to end.

Photo workflow

  • Photo overlay: photograph the board on the bed from any angle, click 4 anchor holes, and the photo warps into machine coordinates under the toolpaths — rework boxes are drawn on the real copper. A live angle guide catches a wrong anchor before you click it, drag-to-pan + scroll zoom navigate the photo, and a Traces dim slider fades the toolpaths so the copper reads clearly.
  • Detect from photo (Rework panel): walks every isolation channel in the aligned photo and proposes rework boxes where copper still shows, with a coverage report.
  • Feed card: export the feed-ladder test card (4–15 mm/s blocks), cut it on scrap, photograph it — every block gets scored and the app recommends the fastest clean feed.

Trustworthy probing (reflash hardware/srm20_spi_probe — firmware v2)

  • Debounced, two-stage verified touches (coarse 25 µm, then 10 µm re-touch that must agree) — one flaky reading can no longer poison a height map.
  • Drift compensation: the reference point is re-touched during the grid and every point corrected for spindle-warm-up/board-settling drift.
  • Mesh check: flags points no smooth board surface can explain, recommends a cut depth that survives the mesh's uncertainty, and inserts extra probe rows where the surface changes too fast.
  • Probe boxes: probe each rework box center and auto-deepen where the real surface sits higher than the mesh believed.
  • Zero Z on machine (W): verified touch-off writes origin Z at the copper — no VPanel round-trip (verify G54 Z once before NC use).

Guardrails & awareness

  • Isolation DRC: spots where two separate nets sit closer than the bit are marked with a red X and the measured gap — guaranteed shorts, caught before any G-code exists.
  • Tool wear ledger: every export logs the bit's cut distance; past 25 m the status warns the bit is worn.
  • Workflow chips (status bar): board / mesh / fit / photo / boxes / machine link at a glance.
  • Live run progress + time remaining, driven by the machine's real position.

Sessions & workspace

  • Rework boxes (with per-box depths) and the photo now save with the session — the photo is copied next to the session file, so setups survive the original moving.
  • Per-user workspace at Documents\SRM-CAM\{sessions,exports,photos}; every file dialog opens where you last used it.

Experimental

  • SPI toolpath streaming (Stream (exp.)): drive the job over the SPI link move-by-move, bypassing VPanel. Dry-run (Z held 2 mm high) is the default and mandatory first step; wet runs are double-gated. Speed units are uncalibrated — treat as a research feature.

434 automated tests. Reflash the Arduino once to unlock everything probe-related.