mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-24 10:56:51 -06:00
Typed END, MID, CEN, GCEN, NOD, QUA, INT, APP, EXT, INS, PER, TAN, NEA, PAR (any start of the word from three letters, with `_`/`'` prefixes) and NON push a one-pick snap frame on the point-modifier layer: the prompt reads "Endpoint of:", a typed point is snapped with that mode alone within the aperture (or rejected with "No Endpoint found for specified point."), and the canvas snaps the cursor with it (Session::snap_override). A command's own keyword still wins (ARC/ZOOM `cen`); `_cen` always snaps. Overrides nest with FROM and the filters. Shift+right-click or Ctrl+right-click on the canvas opens the object snap menu (From, Mid Between 2 Points, Point Filters, the snap modes, None, Osnap Settings...), whose items type the same overrides. Tab over a snap marker with nothing typed cycles the candidate snaps (pointmod::snap_candidates: the running snap first, then the closest of each mode). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>