mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-27 07:39:40 -05:00
On IMEX printers, each plate built a string cache key from a dozen config lookups twice a frame, and resolved the active mode through find_imex_mode(), which copies the whole mode, G-code included. The key is now ImexLayoutKey in IMEXZones, compared field by field against the live config and copied only when something changed. The active mode's roster and Primary head are resolved only when the key changes. The G-code preview's carriage marker key is built on the same struct. Clearances and the carriage margin are now compared exactly, so a change under 0.1 mm rebuilds the zones.
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: