mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-15 01:21:55 -04:00
NestPlateStock is documented as immutable input, but ClampZones handed out its own zones, whose bounds are mutable. Editing one after the stock was built moved the stock's clamp while plates materialized from the stock (layout check, fill, posting) kept the original zone, so a part or cut on the moved clamp validated and posted clear. Return detached copies on every read, so the stock and its plates can never disagree. Copies keep the exact bits; engine results are unchanged. Project Memory: opennest 14f93b26-2e41-41f1-b09f-87dc895bb4da