PanHandler

Coin-calibrated measurement → SolidCraft, at true millimetre scale.

1 · Photo and coin

Drop a photo, pick the coin, tap the coin. Everything downstream is millimetres.

Choose a photo to begin.

Tap the coin's centre in the photo — the edge is measured, not eyeballed.

2 · Export to SolidCraft

Three files: the geometry, a trace sheet, and the build script.

Scale—
Size—
Curves—
Coin—

How it works

A coin of known diameter fixes the scale: the app finds the coin's edge in the photo (a radial-gradient circle fit, not a hand-placed circle), so pixels per millimetre comes from the coin itself. Measured outlines are then converted to millimetres and written as a DXF with $INSUNITS = 4, which SolidCraft reads at 1:1.

The generated script keeps the part parametric. The coin circle is a construction dimension named coin_d; a solid.scale multiplies X and Y by coin_d / traced and leaves Z alone. Change coin_d to another coin's diameter and the part rescales about the coin centre while the thickness stays put.

All geometry runs in WebAssembly built from the same Rust core the CLI uses (rust/panhandler-core); nothing is uploaded.