mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 07:11:06 -04:00
Reading a nest used to fill the engine's static BestFitCache as a side effect, which is the only reason OpenNest.IO referenced OpenNest.Engine. Core now defines SavedPairSet/SavedPairResult and IBestFitStore; the mapping to BestFitResult moved verbatim into Engine's BestFitCacheStore. NestReader/NestWriter take the store as an optional BestFitStore property and skip bestfits/ entries without one. Every production reader and writer opts into BestFitCacheStore.Shared, so behaviour is unchanged; the golden round-trip test still matches byte for byte. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>