Files
cadcraft/crates
okereke-dev bb53e4e77d TRIM/EXTEND: preview every piece a Fence or a Crossing window will change while it is drawn
While a fence (Fence, or Quick mode's two-point fence) or a crossing window is drawn, every
piece it will remove (EXTEND: every stretch it will add) is highlighted with the same band as a
single pick.

- trimextend.rs: fence() and crossing() are split into fence_work()/crossing_work(), which find
  what they cut, and run_picks(). picks_preview() works the same run out without changing the
  drawing: each object at its picks in turn, against edges that include what the run has already
  made of other objects (Overlay), so the preview follows a fence whose trims change each
  other's edges.
- modify/trim.rs: trim_kind() and extend_kind() trim or extend a shape; edge_segments_over()
  gathers edges with an Overlay in place of the objects it names.
- Interactive::highlight_all / Session::highlight_all; the canvas draws it in place of the
  object under the cursor.

Tests: a fence highlighting both lines it crosses, the drawing untouched; a fence through a grid
and a circle removing exactly the highlighted length; Quick mode's two-point fence and a crossing
window; an EXTEND fence adding exactly what it highlighted.
2026-11-22 09:24:28 -05:00
..
2026-11-20 02:36:58 -07:00