CLOSING
THE LOOP
ON CAD
GENERATION
Most CAD-generation systems work the way a junior drafter would if forbidden from ever looking back at their own work: one shot, no revision, whatever the model outputs is final. Professional CAD practice runs the opposite loop generate, verify against the drawing, refine, repeat. IterCAD formalizes that loop as a multi-turn agent operating inside an executable CAD sandbox, unifying three tasks: turning a multi-view engineering drawing into parametric CadQuery code, turning a text requirement into code, and editing existing code from natural-language instructions. A two-stage recipe cold-start supervised fine-tuning on expert trajectories, then geometry-aware reinforcement learning with a viable-prefix masking scheme that stops crediting or blaming turns for failures they didn't cause teaches the agent to debug its own runtime errors and correct its own geometry against rendered visual feedback. A new evaluation curve, Chamfer-Distance Tolerance-Recall, closes a long-standing loophole in CAD benchmarking by scoring failed generations as zero recall instead of quietly dropping them from the average.