mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 05:01:05 -04:00
Entity ids came from a process-random sequence, so importing the same DXF twice produced different source-entity ids and therefore a different drawing library package (different SHA-256), and an importer could not tell an unchanged file from a changed one. CadImporter.Import now derives each entity id from the file's SHA-256 and the entity's position in the import. An unchanged file gives the same ids and the same package bytes; any change to the file gives entirely new ids, so suppression, roles and edge selections keyed by id never move to a different entity.