forked from 1b-agent/opencadstudio-upstream
Adds two-layer protection against large entities crashing the renderer: - MAX_SEGS_PER_WIRE (100K): per-entity hard cap, excess segments truncated - MAX_TOTAL_SEGS (3M): scene-level budget in upload_wires, excess wires skipped Both limits log a warning to stderr when triggered. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>