forked from 1b-agent/opencadstudio-upstream
Adds vertex-coordinate, thickness, and dimension-validity checks to `is_entity_corrupt`. Sample files with degenerate Arcs (radius ~5e-14 and zero sweep) or 100k-vertex LwPolylines at coords ~1e244 used to pass the previous check, then crash inside truck's parameter_division with a 3 GB allocation. Co-Authored-By: Claude Opus 4.7 <[email protected]>