cadcraft/crates/engine/src
Valentin Klein 242a00923d
Object snap overrides at point prompts, Shift/Ctrl+right-click snap menu, Tab cycling (fixes #393) (#409)
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>
2026-10-10 18:44:21 -04:00
..
cmd PLINE arc options and Length, XLINE polyline segments (fixes #397) (#407) 2026-10-10 18:44:08 -04:00
snap Object snap tracking, Extension, Parallel and Apparent Intersection snaps (fixes #379) (#405) 2026-10-10 18:43:33 -04:00
assoc.rs DIMCONTINUE/DIMBASELINE: one snap index per chain, cap the points (#279) (#281) 2026-10-10 15:34:07 -04:00
finite.rs Refuse edits whose result has infinite or undefined coordinates (fixes #338) (#339) 2026-10-10 16:54:53 -04:00
grips.rs Grip edits act on the whole selection (fixes #320) (#322) 2026-10-10 16:54:48 -04:00
grips_tests.rs M1/M2/M6/M10: draw/modify depth, grips API, layouts/viewports/PLOT to PDF, GPU canvas, R-tree index 2026-10-06 00:40:03 -04:00
guard.rs Point prompts: FROM, M2P/MTP, point filters, * prefix and <angle override (fixes #392) (#402) 2026-10-10 18:43:24 -04:00
lib.rs Object snap tracking, Extension, Parallel and Apparent Intersection snaps (fixes #379) (#405) 2026-10-10 18:43:33 -04:00
pointmod.rs Object snap overrides at point prompts, Shift/Ctrl+right-click snap menu, Tab cycling (fixes #393) (#409) 2026-10-10 18:44:21 -04:00
prompt.rs Point prompts: FROM, M2P/MTP, point filters, * prefix and <angle override (fixes #392) (#402) 2026-10-10 18:43:24 -04:00
sample.rs Draw hatch island styles, backgrounds, two-colour gradients and file pattern definitions (fixes #289, fixes #290) (#302) 2026-10-10 16:55:49 -04:00
select.rs fix(select): include solid interiors in crossing-window selection (#401) 2026-10-10 18:43:06 -04:00
snap.rs Object snap tracking, Extension, Parallel and Apparent Intersection snaps (fixes #379) (#405) 2026-10-10 18:43:33 -04:00
spatial.rs LINE: deferred tangent/perpendicular for the first point (fixes #69) (#168) 2026-10-10 12:15:18 -04:00
sysvars.rs Object snap tracking, Extension, Parallel and Apparent Intersection snaps (fixes #379) (#405) 2026-10-10 18:43:33 -04:00
tests.rs Copy and paste between drawings; PASTEORIG, PASTEBLOCK; right-click menu (part of #325) (#355) 2026-10-10 17:32:34 -04:00
units.rs Typed angles follow ANGBASE, ANGDIR and AUNITS (fixes #326) (#328) 2026-10-10 16:55:07 -04:00