mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-22 04:17:40 -05:00
The duplicate scan showed the CAD Converter's breakoff and tabbed-cutout features, and several IO readers, as copy-and-paste pairs, so a fix to one feature could miss its twin. Each pair now shares one helper with no change in behavior: - CAD Converter pick modes go through one toggle, turning the other modes off in the same order as before (the view's cursor follows the last one set); index guards, nearest-pick and keep-tabs tests are shared helpers. - EntityView pick clicks, entity and tab-handle hit tests, and tab-handle and entry-mark drawing are shared by both features. - IO: both polyline converters build one line chain; NestFormat's lenient converters share one TryNumber; NestReader reads breakoffs and tabbed cutouts through one loop with the same warnings. The edit and tab-drag handlers stay separate: their types share no interface, and the tab-drag guard deliberately differs. The Server's own TryNumber copy stays, since Server may not reference IO. The WinForms suite (1062) and IO.Tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>