mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-26 11:56:50 -06:00
With DIMASSOC on, every dimension QDIM added looked up the objects under its definition points by scanning the whole space, and each dimension adds an entity, so QDIM over many objects took quadratic time (20,000 lines: 28 s). QDIM now builds the SnapIndex DIMCONTINUE/DIMBASELINE use (#281) once per call; dimensions are no snap targets, so it stays valid while QDIM adds them. A call naming more than 100,000 objects, or whose objects give more than 100,000 distinct points, is refused before anything is created. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>