mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-22 07:37:40 -05:00
An Auto Nest problem nest recorded only a sheet count and where its last sheet ends, so seeing the layout behind those numbers, or telling whether a change still made it, meant nesting the old code again. With OPENNEST_PROBLEM_NESTS_RECORD=1 the auto-nest area now saves each nest whose layout is valid, complete and no worse than its baseline back to the corpus server as a new revision: its plates become the layout Auto Nest just made, on the sheets the job nested on, and its line ends in "layout saved". A nest without a baseline gets its first one that way. What was on the plates before stays in the earlier revisions. - A layout inside the tolerance past the recorded end keeps that end, so repeated recording cannot let the baseline creep. - A nest that also guards planning or fill is not saved (those tests read its plates), nor a layout leaving one of the nest's sheet sizes unused (the job takes its sizes from the plates). - A nest whose saved layout and line already match adds no revision. Without the variable nothing is written; a run reports for each saved layout whether Auto Nest still makes exactly it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>