mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-15 12:25:34 -05:00
The plate view edits the selection through the shared PlateEdits and Select tool, recording each edit in its nest tab's undo history under the WinForms labels: - Delete (with any modifiers) removes the selected parts and cut-offs. - Arrow keys nudge by 10; repeated nudges undo as one Nudge. - Shift+arrows, X, Shift+X, Shift+Y and Y push to contact (Ctrl+X does nothing until Cut comes with the place tool). - A middle click (moved under 5 px) turns the selection 90 degrees, a double-click 180; a middle drag still pans, and a middle double-click fits only with nothing selected. - Shift+wheel turns it by 10 degrees per notch, Ctrl+Shift+wheel by 1, away from the user clockwise; with nothing selected the wheel zooms. - Dragging a selected part moves the selection as one Move; losing the pointer mid-drag ends it there, and a middle click during the drag turns the selection without ending it. As in WinForms, each nest keeps a plate manager that keeps one empty plate at the end inside the edit's own step, so deleting every part on the last full plate undoes in one step. Each nest's cut-offs regenerate with its own cut-off settings (saved head lock in the nest's units, then the machine's cut-off defaults), read again before Undo or Redo swaps a nest in. The Plates and Drawings lists rebuild after the step closes when their counts changed, keeping the plate, zoom and selection. While Auto Nest runs on a nest its plate takes no edits, as the WinForms modal progress window prevents them.