CAD-from-Code: A Programmatic Data Engine for CAD Synthesis and Deterministic Evaluation
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
CAD-from-Code: A Programmatic Data Engine for CAD Synthesis and Deterministic Evaluation Junchao Li1 , Jinghang Wang1 , Yuchen Zhang1 , Yun Wu1 Wai Yuet Chiu1 , Jinxin Wang2 , Mingkai Miao3 1
Alibaba Group (alibaba-inc.com) Tsinghua University (tsinghua.edu.cn) 3 The Hong Kong University of Science and Technology (hkust-gz.edu.cn)
arXiv:2611.37262v1 [cs.AI] 27 Nov 2026
2
Abstract
tial challenges in producing reliable CAD models suitable for downstream use. A visually plausible model is not necessarily engineering-valid, and establishing its usability requires explicit verification of absolute dimensional accuracy, boundary-representation (B-Rep) validity and watertightness, topological correctness, and task-specific structural or functional constraints [18, 20]. Constructing scalable and verifiable CAD task data that capture these requirements remains challenging. First, conventional CAD corpora draw on human-authored design histories, while expert-curated benchmarks require specialist design and review [22, 26]. Missing native input-CAD pairs can further require model-generated references and expert screening [13]. Second, established sketch-and-extrude datasets emphasize single-part geometry [17, 23], with limited joint coverage of detailed engineering drawings, structured annotations, and assembly relationships. CAD task data generated directly by learning-based agents may also contain structural defects, motivating explicit geometric validation [1]. Third, ensuring that generated tasks support exact and reproducible verification is difficult. Existing CAD evaluations include global geometric metrics, sometimes after scale normalization [21]. Some benchmarks also use learned judges: Text2CAD-Bench uses a vision-language model (VLM) for its open-ended tier, and AssemCAD uses an LLM code judge and a VLM rendering judge [3, 21]. Global metrics can obscure absolute-dimensional, topological, and local-feature errors; learned judgments can vary and do not directly certify exact geometric or assembly constraints [15, 18]. To address these challenges, we introduce CAD-fromCode, an engineering-oriented, programmatic pipeline for synthesizing CAD tasks. It is designed to capture the geometric, semantic, and structural complexity of engineering CAD tasks. Its parameterized generation process reduces reliance on manual design and annotation, supports the scalable construction of large and diverse task sets, and derives task
High-quality data for 3D computer-aided design (CAD) are difficult to scale because geometry, engineering drawings, annotations, and assembly semantics are often created separately. We introduce CAD-from-Code, a programmatic data engine that compiles shared executable recipes and random seeds into validated boundary-representation (BRep) parts, dimensioned drawings, structured annotations, and multi-part assemblies. This shared generative specification defines ground truth, controls geometric complexity and diversity, and enables deterministic replay and provenance tracing. Stage-wise validation checks verify geometric validity, task consistency, and assembly constraints. The framework rapidly generates feature-rich cases with higher average geometric complexity than the expert reference sample, without per-case expert design or LLM-generated reference answers. We construct benchmark covering 3D CAD reconstruction, annotation recovery, and assembly, with a deterministic offline evaluator requiring no LLM judges. Six LLM-based agents achieve overall scores of 0.293-0.727, revealing differences in model capabilities. On reconstruction tasks, synthetic and expert-designed cases yield similar overall mean scores and model performance trends. These results support low-cost, reproducible generation of CAD evaluation tasks with verifiable ground truth.
1. Introduction Three-dimensional computer-aided design (CAD) modeling is foundational to industrial engineering, supporting workflows from product design and simulation to manufacturing [22]. Recent advances in large language models (LLMs) have enabled autonomous agents that generate modeling scripts and interact with professional CAD systems to create 3D models [2, 4]. However, current agents still face substan1
2. Related Work
inputs and their corresponding ground-truth artifacts from the same underlying parameters. Using this pipeline, we further construct an engineering-oriented CAD benchmark spanning drawing-to-STEP reconstruction of complex parts, engineering-annotation recovery, and assembly reconstruction. The benchmark is paired with a deterministic offline evaluation engine that provides precise and reproducible automated verification. The engine evaluates submitted artifacts directly against structured ground truth using CAD geometry kernels and task-specific evaluators, covering topological validity, absolute dimensions, geometric similarity, and inter-part contact relationships without learned judges. Our main contributions are as follows:
2.1. Foundational CAD Representations and Corpora DeepCAD [23] trains a Transformer-based autoencoder on human-authored CAD construction sequences to reconstruct operation types and parameters. Its representation consists of sketch primitives and extrusion commands. Fusion 360 Gallery [22] similarly provides human-authored construction histories and an execution environment for reproducing sketch-and-extrude operations. SkexGen [24] and HNCCAD [25] build on DeepCAD-derived representations for controllable sequence generation, editing, and completion.
2.2. Text- and Program-Based Part Modeling
• Controllable, low-cost synthesis of CAD data. We develop CAD-from-Code, a programmatic engine that generates CAD model parts with complex features and topologies, multi-part assemblies, and dimensioned engineering drawings with structured annotations. Parameterized recipes control geometric complexity and diversity while maintaining very low per-instance synthesis times and cost, without LLM-generated reference answers or expert design for individual cases. Geometric comparison shows that the generated models have higher average geometric complexity than the expert reference sample. • Programmatically aligned, traceable, and reproducible ground truth. The recipe, parameters, and random seed determine each case’s ground truth, with task inputs and reference artifacts derived from the same generated state. This enables deterministic replay and provenance tracing. We also design verifier for geometric validity, interface consistency, annotation coverage, and assembly constraints, using validation feedback to guide local regeneration and maintain consistency among generated artifacts. • Comprehensive, multi-level, and judge-free verification. We develop a deterministic offline evaluation suite built on CAD geometry kernels, structured ground truth, and task-specific evaluators, without relying on LLM or VLM judges. It assesses absolute dimensions, topology, local interfaces, annotations, and assembly relations in agent outputs, producing reproducible, diagnostically informative, and auditable results. • Experimental validation of synthetic data utility. We construct a benchmark spanning 3D CAD reconstruction, annotation recovery, and assembly, and evaluate six LLM-based agents. Compared with expert-designed cases, synthetic cases yield similar overall mean scores and model performance trends, demonstrating the value of our framework for creating useful CAD evaluation and training tasks at low cost.
Text2CAD [7] pairs DeepCAD models with automatically generated text annotations for text-conditioned sequence generation. CAD-Coder [6] instead constructs textCadQuery-3D model triplets for code-based generation. CAD-Recode [17] reconstructs executable CadQuery code from point clouds, trained on one million procedurally generated CAD sequences. Zero-to-CAD [1] takes an LLM-driven approach to large-scale program synthesis, with execution, geometry, and export validation gates. BenchCAD [26] samples constrained parameters within expert-designed part families using schemas, validators, and deterministic builders. For evaluation, Text2CAD-Bench [21] uses expertcurated tasks and a VLM judge for its open-ended tier. CADTestBench [15] evaluates geometric and topological requirements with executable CADTests: LLM-written tests are checked against references and faulty variants, while scoring itself is deterministic and judge-free. CADSmith [2] combines exact OpenCascade measurements with a VLM judge for iterative geometric refinement. These approaches distinguish programmatic feedback from learned acceptance decisions.
2.3. Function- and Physics-Aware CAD Tasks CAD-bench [18] evaluates dimensions, interfaces, functional threads, and gear trains using geometric checks and simulation. CADEngBench [20] layers program and solid validity, engineering requirements, parameter perturbations, editing, and finite-element analysis.
2.4. Drawing-to-CAD Reconstruction Synthetic datasets. Drawing2CAD [16] derives vector views from DeepCAD models using FreeCAD TechDraw and predicts sketch-and-extrude sequences. DrawingRecode [10] grounds numeric labels in raster views before decoding a sketch program. Both derive drawings from existing CAD geometry and inherit DeepCAD’s restricted operation vocabulary. 2
Figure 1. Some example parts and assembly from CAD-from-Code.
Real-drawing benchmarks. OmniMech [14] collects SolidWorks part-drawing pairs and evaluates geometric reconstruction. RealCADBench [13] covers drawing reconstruction and assembly modeling from industrial inputs, with expert-screened, model-generated references where native pairs are unavailable.
tured ground truth, validation gates, and deterministic diagnostics across reconstruction, annotation recovery, and multi-part assembly.
2.5. Engineering-Drawing Understanding and Annotation
CAD-from-Code generates engineering-oriented data for 3D CAD modeling from executable design specifications. It constructs geometry and engineering semantics together, then derives task inputs and hidden answers from that shared state. Task-family-specific generators implement this strategy for parts, annotations, and assemblies. They share constrained sampling, validation feedback, and separation of public inputs from hidden references. Figure 2 summarizes the process.
3. Programmatic CAD Data Synthesis and Verification
MechVQA [11] frames engineering-drawing understanding as question answering with LLM-judged free-text responses. From Drawings to Decisions [8] detects and transcribes drawing annotations, while Context-Aware 2D-to-3D Mapping [9] links drawing entities to 3D CAD features. These tasks motivate structured annotation recovery, where values, types, and locations can be checked against co-generated records.
3.1. Constrained and Compositional Design Spaces A recipe specifies reusable building blocks and their allowed combinations: part families, additive and subtractive features, or component inventories and mate graphs. For parts, we vary the types and number of constituent solids, their dimensions and placement, and the sizes, counts, and depths of holes. Cut sizes, chamfer widths, and fillet radii can also be adjusted. Assembly recipes control component dimensions and layout, such as frame width, height, and number of levels. The recipe, resolved parameters, random seed, and generator version retain the provenance needed to replay each accepted instance. Parameters are coupled by geometric and engineering constraints. For composite parts, candidate placements must create real overlap while leaving constituent geometry exposed. Holes and cuts must remove material without fragmenting the intended solid or violating configured local wall and clearance checks. These conditions prevent composition from producing disconnected or almost entirely buried primitives. For assemblies, connector types and dimensions constrain compatible pairings, and shared shaft-bore, holepattern, and fastener parameters are propagated before solv-
2.6. Assembly Generation and Reasoning AssemCAD [3] generates hierarchical STEP assemblies using typed parts, geometry-backed ports, and deterministic mate transformations, although its evaluation does not directly score instance poses, contacts, or degrees of freedom. ArtiCAD [19] generates editable FreeCAD assemblies and URDF descriptions. Its open-ended geometry, detail, and motion are assessed by VLM judges, with compilation reported separately. AssemblyBench [12] studies synthetic industrial assembly with a provided target configuration.
2.7. GUI and Multi-Platform Environments CADWorld [4] evaluates long-horizon FreeCAD GUI tasks. ENGIWORLD [5] spans GUI and CLI engineering workflows with programmatic artifact verifiers: most tasks use binary success, while design optimization combines feasibility gates with continuous quality scores. Table 1 highlights complementary advances in CAD synthesis and verification. Our contribution connects constrained executable recipes, co-generated artifacts and struc3
Table 1. Representative CAD synthesis and evaluation pipelines. Work Construction and validation CAD representations and program synthesis CAD-Recode [17] Procedural sketch–extrude programs Zero-to-CAD [1] Agent synthesis; execution, geometry, export gates CADSmith [2] Agent synthesis; kernel feedback and VLM refinement
GT Local Asm. Ann. JF Diag. △ △ –
– – ✓
– – –
– – –
✓ ✓ △
△ – △
Task construction and artifact evaluation Text2CAD-Bench [21] Expert-curated text-to-CadQuery tasks – △ – – △ △ BenchCAD [26] Constrained family sampling; execution, volume, expert checks △ △ – – ✓ △ CADTestBench [15] LLM-written tests validated on references and mutants – ✓ – – ✓ ✓ Drawing2CAD [16] / Drawing-Recode [10] Scripted views and labels derived from DeepCAD △ – – △ ✓ ✓ CAD-bench [18] Authored functional tasks; scorer calibration cases – ✓ △ – ✓ ✓ CADEngBench [20] Replayed source CAD; evidence-grounded predicates △ ✓ △ – ✓ ✓ OmniMech [14] Collected SolidWorks part–drawing pairs – △ – – ✓ △ RealCADBench [13] Real inputs; generated, expert-screened references – – – – △ △ AssemCAD [3] Fusion assemblies; typed ports and deterministic mates △ △ – – △ △ ArtiCAD [19] Open-ended tasks and Fusion 360 assemblies – – △ – △ △ CAD-from-Code Recipe/seed co-generation; geometry, artifact, relation gates ✓ ✓ ✓ ✓ ✓ ✓ GT: co-generated, replayable ground truth. Local: absolute-scale or local-feature checks. Asm.: assembly relations. Ann.: structured drawing annotations. JF: scoring without LLM/VLM judges. Diag.: diagnostic partial credit is available. ✓: explicit support; △: limited or indirect coverage; –: not covered by the reported construction or evaluation protocol.
Figure 2. Programmatic synthesis from constrained design specifications, with validation of geometry, derived artifacts, and task packaging.
3.2. Shared State and Multi-Artifact Derivation
ing poses. Thus, the design space encodes feasible relationships rather than sampling every dimension independently.
Executing a recipe produces exact B-Rep geometry together with the semantic records needed to explain and verify it. For a part, these records retain feature operations, dimensions, and their geometric locations. For an assembly, localcoordinate part identities and connector frames define a mate
These parameter choices control geometric and structural complexity before execution. Validation guides constrained resampling within the configured design space. 4
tract. Drawings, unplaced assembly parts, and permitted annotation hints enter the public bundle. Reference parts, unmasked annotations, solved poses, and verification assets remain hidden. Reference-submission checks test the packaged scorer and artifact correspondence before release. Shared derivation, validation feedback, and isolation reduce per-instance authoring while keeping answers traceable. Appendix B details the derivation process and artifact contracts. Section 4.4 defines submission scoring.
Figure 3. A generated CAD example. Two engineering drawings and a rendering of the corresponding STEP model share the same design specification.
4. Benchmark Construction and Evaluation graph. Deterministic transforms propagate from a grounded component, and graph-closure checks compare poses along alternative paths. The solved state retains instance poses, relations, contacts, and degrees of freedom. Public and hidden artifacts are derived from this state. The final B-Rep supplies the geometry for engineering views, while feature records supply dimension values and callout anchors. View selection and layout place overall dimensions and important features first, distribute crowded annotations across sheets, and check annotation coverage. Assembly views and the BOM derive from the solved configuration, whereas public component STEP files are exported in local coordinates. A reconstruction task therefore reveals observations of the target without exposing its answer geometry. Figure 3 illustrates the correspondence between generated engineering drawings and the reference STEP model. The same derivation process also produces local verification assets and annotation variants with different hints. Keep-in-region (KIR) jigs are clipped to retained material, and keep-out-region (KOR) jigs represent intended clearance or removed material. Annotation tasks reuse the complete drawing and its annotation records: numeric fields are masked while leaders, arrows, and engineering symbols remain visible. Rasterizing the masked SVG yields the public image. The original page, location, kind, and text records supply the hidden answer. Location and kind hints can then be varied without changing the reference geometry or target values.
We use the synthesis framework in Section 3 to construct a benchmark of reconstruction, annotation recovery, and assembly.
4.1. Task Composition and Coverage The benchmark contains 85 synthetic tasks: 44 drawingto-STEP, 28 annotation variants, and 13 assemblies (Table 2). Annotation variants share 11 base designs and answers. Hard variants provide masked drawings and reference CAD. Medium variants add slot locations, and easy variants also supply annotation kinds. The annotation set contains 10 hard, 11 medium, and 7 easy variants. Reconstruction and assembly carry a hard task label. External expert-designed CAD parts support a geometric comparison and a separate reconstruction-performance comparison.
4.2. Expert Cross-Validation Four CAD experts cross-reviewed all benchmark tasks, focusing on the generated engineering drawings: consistency of views and dimensions with the reference geometry, annotation legibility and completeness, and task answerability. They also rated resemblance to engineering parts and assemblies, finding recognizable structures and plausible feature combinations. This review checks the synthesized data. Executable specifications produce the references, and deterministic evaluators score model submissions.
4.3. Geometric and Structural Complexity Geometric complexity is controlled at synthesis time through the chosen part families and parameter ranges for constituent counts, hole patterns, feature dimensions, and assembly graph size. Parameter settings specify the intended complexity, and generation checks feasibility and consistency within those settings. Annotation difficulty is controlled separately through the location and kind information provided to the agent, as described above. Table 3 compares exact B-Rep descriptors for 35 synthetic and 35 expert references. The synthetic sample comprises 35 parts from the 44-task reconstruction set, paired with expert references by the six-model mean score (Appendix A). The synthetic references exhibit higher geometric complexity across the reported metrics in this matched sample.
3.3. Validation Feedback and Task Isolation Validation checks construction first, then the artifacts derived from it. Geometry checks test Boolean results, the intended solid count, B-Rep validity, and configured material or clearance conditions. Assembly checks additionally test connector compatibility, pose consistency, interference, contacts, and kinematic constraints. Artifact checks verify that required drawing sheets and reference files exist, check annotation coverage and layout, and compare exported content with its source state. Validation feedback guides local regeneration of features, placements, or drawing artifacts before task packaging. Finally, packaging enforces a public/hidden/submit con5
Table 2. Benchmark composition. All six systems are evaluated on the same 85 tasks. Annotation variants share 11 base designs. Track
Tasks
Representative engineering content
Capability tested
Drawing-to-STEP
44
Shafts, splines, gears, flanges, perforated plates, brackets, and multi-feature parts
Recover absolute dimensions, topology, feature layout, and local interfaces
Assembly reconstruction
13
Compound transmissions, modular engineering workstations, and manufacturing-platform frames
Recover component inventory, poses, mates, and consistent multi-part geometry
Annotation recovery
28
Linear and angular dimensions, radii, diameters, chamfers, and compound feature callouts
Localize annotations, interpret engineering symbols, and recover numerical fields
Table 3. GT complexity in the matched comparison sample (n = 35 per subset). Values are means over reference parts, except the final row, which is a case proportion. Metric
Synth. Expert
B-Rep faces Small-face fraction Distinct supporting planes Planar orientation families Surface types Boundary-curve types Cases with B-spline surfaces
188.8 135.3 +39.5% 11.6% 6.2% +87.7% 65.5 25.4 +158.0% 21.9 6.2 +255.1% 4.60 4.00 +15.0% 3.63 3.23 +12.4% 77.1% 48.6% +58.8%
where vD2S ∈ {0, 1} is the validity gate. Absolute size remains observable, and local checks can expose defects with little effect on global overlap.
Change
Annotation recovery. The agent submits predictions.json. Predictions are matched one-toone to GT callouts by page and drawing location. Supplied slot IDs resolve to those locations. The reported reward measures recovered numerical content: Sann = vann
(2)
A field earns credit only when its callout has the correct nonnumeric structure and its ordered value satisfies the rolespecific tolerance: 0.01 mm for lengths, 0.1◦ for angles, and exact integers for counts. The denominator counts all reference numerical fields and additional predicted fields, preventing selective or excessive answers from inflating the score. Detection F1, kind accuracy, complete-callout accuracy, and case completion remain separate diagnostics. Hard, medium, and easy variants share this content reward.
The assemblies average 262.3 component instances, 370.6 mate relations, and 109.3 graph cycles, including fasteners. These counts indicate how much relational and annotation information must be recovered.
4.4. Task-Specific Scoring The evaluator compares submitted artifacts with hidden GT using deterministic programs. All reported scores lie in [0, 1]. File, schema, and geometric checks establish whether submissions can be scored. Invalid reconstruction or annotation submissions receive zero, while assembly evidence is handled independently by axis. Component diagnostics accompany the task score. Appendix C specifies matching algorithms, tolerances, and aggregation rules.
Assembly reconstruction. The agent submits submission.json and output.step. The verifier independently evaluates declared structure (j) and STEP geometry (g). Inventory I measures part types and multiplicities, and placement P measures symmetry-aware instance poses after one global alignment. Interface score Fj checks mate endpoints, types, frames, and parameters. Physical scores Hj , Hg check interference and contacts, with graph connectivity additionally checked for the declaration. Kj compares residual degrees of freedom. The aggregate is
Drawing-to-STEP. The agent submits output.step. After solid and mesh validation, one rigid alignment removes global translation and rotation without scaling or reflection. Shape agreement is Sshape = (Fsurface + IoUvolume )/2, combining bidirectional surface matching and material overlap. Stopo compares Betti numbers for components, handles, and enclosed voids. Sint measures material or clearance agreement in KIR/KOR regions, taking the weakest region within a functional group and then averaging groups. The three-axis score is SD2S = vD2S 0.4Sshape + 0.4Sint +0.2Stopo ,
Ncorrect . Nevaluated
Sasm = 0.05(Ijγ + Igγ ) + 0.15(Pjγ + Pgγ ) + 0.30Fjγ + 0.125(Hjγ + Hgγ ) + 0.05Kjγ ,
(3)
γ = 1.10.
The exponent γ = 1.10 slightly lowers non-perfect component scores while leaving perfect scores unchanged. Each axis retains its fixed weight, and independently verified JSON and STEP evidence receive their respective credit.
(1)
6
5. Experiments
6.1. Geometric Inference and Revision
5.1. Models and Execution
Gemini emphasizes multi-view constraints: dimension chains and tangencies guide construction, while projected contours and sections expose interpretations that need revision. GPT emphasizes decomposition, delegating ambiguous features and integrating them into a common coordinate system. Opus often constructs regular parts in a short sequence, but approximates unclear cavities, ribs, and edges. DeepSeek compares section profiles and competing geometric hypotheses; GLM uses material/void probes and can repair disconnected solids. Doubao performs curve fitting and repeated local measurements, but often struggles to stabilize the overall interpretation. However, self-designed checks can reinforce mistaken structural assumptions.
We evaluate six models on all 85 benchmark tasks: Claude Opus 5.5, GPT-6.1 Sol, Gemini 4 Argon, Doubao Seed 2.1 Pro, GLM 5.3 Flash, and DeepSeek V4.1 Flash. Five models use Claude Code, and Gemini 4 Argon uses OpenCode. All six systems use the default reasoning setting and receive the same task inputs, resource limits, and artifact submission requirements. Tasks are packaged for Harbor and run in isolated Debian Bookworm/Python 3.12 environments with build123d and OCP. Packages specify 4 vCPUs, 8 GiB RAM, 20 GiB storage, and no local GPU. Agents access public task files and submit artifacts to a separate, network-disabled verifier. Each task allows a maximum agent runtime of 10,800 seconds (3 hours). Exact configurations are in Appendix A.5, with harness versions in Table 5.
6.2. Annotation Correspondence Opus organizes callouts by page and feature, measures the associated geometry, and assembles complete annotation lists. Gemini carefully traces projected edges and leader endpoints to their 3D counterparts. GPT distributes pages or local geometry, then merges answers and checks omissions. DeepSeek and Doubao can locate annotations or extract substantial geometric information, yet more often associate values with the wrong feature. GLM’s prolonged inspection of individual callouts can leave the overall list incomplete. The main distinction is reliable feature correspondence combined with complete coverage.
5.2. Comparison Protocol Each model-harness system is evaluated once on each of the 85 benchmark tasks. All reported results use the latest deterministic scoring system described in Section 4.4 and Appendix C. Scores lie in [0, 1]. Each track score is the arithmetic mean over its tasks, including zero scores, and overall performance is the equal-weight mean of the three unrounded track means.
6.3. Assembly Reasoning and Completion 5.3. Results
GPT combines part inventories and local frames, then propagates revised layouts into placements and mates. Opus organizes large instance and relation lists efficiently, although connector directions and seating relationships remain imperfect. DeepSeek closely measures shafts, seats, and fasteners; accurate placement can still coexist with incorrect connection declarations. Gemini demonstrates detailed coordinate and gear-phase reasoning in successful assemblies, while some runs remain in local analysis without completing the deliverables. GLM similarly struggles to resolve competing layouts; Doubao’s repeated collision and orientation checks do not consistently settle global structure. Across tracks, effective verification resolves structural contradictions and propagates corrections into every required artifact; additional local checks alone do not ensure accurate, complete delivery.
GPT-6.1 Sol achieves the highest overall mean (0.727) and assembly score (0.688), Gemini 4 Argon leads reconstruction (0.891), and Claude Opus 5.5 leads annotation (0.818). Figure 4 shows scores by task, and the complete six-model table is in Appendix D. The different rankings across tracks support evaluating geometry, annotations, and assembly separately. To assess whether our synthetic tasks preserve useful evaluation signals, we also compare the six models on 44 synthetic and 63 expert reconstruction tasks. Their mean scores across the two sets are strongly correlated (Pearson r = 0.870, Spearman ρ = 0.829), with 13 of 15 pairwise model orderings agreeing. This consistency supports the value of our controllable synthesis for model evaluation. The comparison uses all tasks in these two sets without score matching; details are in Appendix D.3.
7. Conclusion We presented CAD-from-Code, a programmatic data engine that derives CAD geometry, drawings, annotations, and assembly artifacts from executable specifications and validates their consistency. An 85-task, six-model study demonstrates its use for evaluating reconstruction, annota-
6. Analysis We examine 85 tasks across six models, comparing geometric inference, feature correspondence, and completion. Appendix D.4 gives coverage and examples. 7
Figure 4. Performance of all six systems on 85 shared tasks: 44 reconstruction, 28 annotation, and 13 assembly tasks. Top: overall mean score of each models. Bottom: track scores grouped by model. Labels identify the harness. Appendix D reports the complete numerical results.
Broader Impact and Ethics Statement
tion recovery, and assembly with deterministic component diagnostics. Consistent relative model performance on synthetic and expert reconstruction tasks further supports the evaluation value of our synthesis framework. The trajectory analysis characterizes model strategies in geometric inference, feature correspondence, assembly reasoning, and artifact verification.
CAD automation can reduce repetitive modeling effort and broaden access to engineering tools. Responsible dataset release includes documenting source licenses, protecting confidential metadata, and identifying the geometric and structural properties covered by automated evaluation.
Data Availability Statement The synthetic benchmark dataset, comprising 85 tasks, is provided in the supplementary material.
Future work will broaden engineering recipe families and extend synthesis to CAD editing and articulated mechanisms. 8
References
[12] Danrui Li, Jiahao Zhang, Bernhard Egger, Moitreya Chatterjee, Suhas Lohit, Tim K. Marks, and Anoop Cherian. AssemblyBench: Physics-Aware Assembly of Complex Industrial Objects. arXiv preprint arXiv:2605.12845, 2026. 3 [13] Guanlin Li, Zhichao Huang, Huimu Yu, Yichen Long, Hongsen Liu, Linxin Cai, Qiuhe Hong, Zongzhen Li, Wei Wang, Xianwen Zhong, and Yuchen Wang. RealCADBench: Benchmarking Parametric CAD Modeling from Industrial Design Intents. arXiv preprint arXiv:2609.03773, 2026. 1, 3, 4 [14] Taiting Lu, Runze Liu, Ziwei Dong, Sisong Bei, Jingying Zeng, Mingjia Wang, Zhenghao Li, Kaiyuan Lin, Yi-Shan Wu, Yangshoudu Zheng, Hongxing Pan, Kai Zhang, Guoliang Shi, Ling Ma, Yifan Yang, Jiaying Lu, Qi He, Sung-Liang Chen, Yi-Chao Chen, Yincheng Jin, and Mahanth Gowda. OmniMech: All-in-one Multimodal Mechanical Benchmark for 3D Reconstruction. arXiv preprint arXiv:2608.05539, 2026. 3, 4 [15] Dimitrios Mallis, Marco Wang, Ahmet Serdar Karadeniz, Elisa Ricci, Anis Kacem, and Djamila Aouada. Text-to-CAD Evaluation with CADTests. arXiv preprint arXiv:2605.07807, 2026. 1, 2, 4 [16] Feiwei Qin, Shichao Lu, Junhao Hou, Changmiao Wang, Meie Fang, and Ligang Liu. Drawing2CAD: Sequence-toSequence Learning for CAD Generation from Vector Drawings. arXiv preprint arXiv:2508.18733, 2025. 2, 4 [17] Danila Rukhovich, Elona Dupont, Dimitrios Mallis, Kseniya Cherenkova, Anis Kacem, and Djamila Aouada. CADRecode: Reverse engineering CAD code from point clouds. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 9801–9811, 2025. 1, 2, 4 [18] Dhruv Saini. CAD-bench: Benchmarking language models on functional CAD generation. In ICML Workshop on Agents in the Wild, 2026. 1, 2, 4 [19] Yuan Shui, Yandong Guan, Zhanwei Zhang, Juncheng Hu, Jing Zhang, Dong Xu, and Qian Yu. ArtiCAD: Articulated CAD Assembly Design via Multi-Agent Code Generation. arXiv preprint arXiv:2604.10992, 2026. 3, 4 [20] Harmanjot Singh, Abhra Dubey, and Jorge Alejandro Amador Herrera. CADEngBench: It Looks Like CAD, but Does It Work? Evaluating Parametric Design, Assembly Reasoning, and Physics Simulation. arXiv preprint arXiv:2608.09296, 2026. 1, 2, 4 [21] Liang Wang, Heng Meng, Zekai Xiang, Jin Liu, Pingyi Zhou, Litao Chen, and Yongqiang Tang. Text2CAD-Bench: A Benchmark for LLM-based Text-to-Parametric CAD Generation. arXiv preprint arXiv:2605.18430, 2026. 1, 2, 4 [22] Karl D. D. Willis, Yewen Pu, Jieliang Luo, Hang Chu, Tao Du, Joseph G. Lambourne, Armando Solar-Lezama, and Wojciech Matusik. Fusion 360 gallery: A dataset and environment for programmatic CAD construction from human design sequences. ACM Transactions on Graphics, 2021. 1, 2 [23] Rundi Wu, Chang Xiao, and Changxi Zheng. DeepCAD: A deep generative network for computer-aided design models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2021. 1, 2 [24] Xiang Xu, Karl D. D. Willis, Joseph G. Lambourne, Chin-Yi Cheng, Pradeep Kumar Jayaraman, and Yasutaka Furukawa.
[1] Mohammadmehdi Ataei, Farzaneh Askari, Kamal Rahimi Malekshan, and Pradeep Kumar Jayaraman. Zero-to-CAD: Agentic Synthesis of Interpretable CAD Programs at MillionScale Without Real Data. arXiv preprint arXiv:2604.24479, 2026. 1, 2, 4 [2] Jesse Barkley, Rumi Loghmani, and Amir Barati Farimani. CADSmith: Multi-Agent CAD Generation with Programmatic Geometric Validation. arXiv preprint arXiv:2603.26512, 2026. 1, 2, 4 [3] Yurui Dong, Shu Zou, Siqi Li, Nianchen Deng, Hongbin Zhou, Xuemeng Yang, Pinlong Cai, Licheng Wen, Xinyu Cai, and Botian Shi. ASSEMCAD: Production-Ready CAD Assembly Generation from Natural Language. arXiv preprint arXiv:2607.05123, 2026. 1, 3, 4 [4] Zihan Dong, Yuanzhe Liu, Zhiyuan Ma, Qishi Zhan, Dehan Kong, Guohao Li, and Kaixin Li. CADWorld: ComputerUse Benchmark for Long-Horizon Computer-Aided Design. arXiv preprint arXiv:2609.16251, 2026. 1, 3 [5] Hongcheng Gao, Hailong Qu, Yu Lei, Henghui Sun, Haoyang Li, Yipeng Wei, Naihao Xue, Xiaohan Yu, Zhuo Tao, Yihe Zang, Yajiao Wang, Jingyi Tang, Yi Li, Jingjing Zhou, Jie Luo, Bohan Zeng, Chengyu Shen, Hao Jiang, Chong Chen, Bowen Qu, Olive Huang, and Zeqiang Wang. EngiWorld: What Can Frontier Agents Deliver in Professional Engineering Environments? arXiv preprint arXiv:2609.37686, 2026. 3 [6] Yandong Guan, Xilin Wang, Ximing Xing, Jing Zhang, Dong Xu, and Qian Yu. CAD-Coder: Text-to-CAD Generation with Chain-of-Thought and Geometric Reward. In Advances in Neural Information Processing Systems, pages 59765–59789, 2025. 2 [7] Mohammad Sadil Khan, Sankalp Sinha, Talha Uddin Sheikh, Didier Stricker, Sk Aziz Ali, and Muhammad Zeshan Afzal. Text2CAD: Generating sequential CAD designs from beginner-to-expert level text prompts. In Advances in Neural Information Processing Systems, pages 7552–7579, 2024. 2 [8] Muhammad Tayyab Khan, Lequn Chen, Zane Yong, Jun Ming Tan, Wenhe Feng, and Seung Ki Moon. From Drawings to Decisions: A Hybrid Vision-Language Framework for Parsing 2D Engineering Drawings into Structured Manufacturing Knowledge. arXiv preprint arXiv:2506.17374, 2025. 3 [9] Muhammad Tayyab Khan, Lequn Chen, Wenhe Feng, and Seung Ki Moon. Context-Aware Mapping of 2D Drawing Annotations to 3D CAD Features Using LLM-Assisted Reasoning for Manufacturing Automation. arXiv preprint arXiv:2602.18296, 2026. 3 [10] Mingi Kim, Yongjun Kim, and Hyungki Kim. DrawingRecode: Annotation Grounding for Parametric CAD Code Generation from Raster 2D CAD Drawings. arXiv preprint arXiv:2607.27558, 2026. 2, 4 [11] Qian Kou, Xiaofeng Shi, Yulin Li, Xiaosong Qiu, Xinyang Wang, Hua Zhou, and Cao Dongxing. MechVQA: Benchmarking and Enhancing Multimodal LLMs on Comprehensive Mechanical Drawing Understanding. arXiv preprint arXiv:2605.30794, 2026. 3
9
Skexgen: Autoregressive generation of CAD construction sequences with disentangled codebooks. In Proceedings of the 39th International Conference on Machine Learning, pages 24698–24724. PMLR, 2022. 2 [25] Xiang Xu, Pradeep Kumar Jayaraman, Joseph George Lambourne, Karl D. D. Willis, and Yasutaka Furukawa. Hierarchical neural coding for controllable CAD model generation. In Proceedings of the 40th International Conference on Machine Learning, pages 38443–38461. PMLR, 2023. 2 [26] Haozhe Zhang, Kaichen Liu, Miaomiao Chen, Lei Li, Shaojie Yang, Cheng Peng, and Hanjie Chen. BenchCAD: A Comprehensive, Industry-Standard Benchmark for Programmatic CAD. arXiv preprint arXiv:2605.10865, 2026. 1, 2, 4
10
A. Benchmark Inventory and Complexity Analysis
surface area. The small-face fraction is the number of such faces divided by the model’s face count; Table 3 averages these fractions rather than pooling faces across models.
A.1. Inventory, Provenance, and Information Conditions
Supporting planes and orientations. Distinct supporting planes merge planar faces with the same orientation and offset, using an angular tolerance of 0.1◦ and a positional tolerance of 10−5 times the part’s bounding-box diagonal. Thus, coplanar regions separated by holes, slots, or modeling subdivisions count once. Planar orientation families use a 1◦ angular tolerance and treat parallel and antiparallel normals as the same orientation.
The benchmark in Table 2 contains 44 reconstruction tasks, 13 assembly tasks, and 28 annotation variants, totaling 85 generated task instances. External expert-designed CAD references support the geometric comparison and the separate reconstruction-performance comparison in Appendix D.3. Annotation variants reuse 11 base cases, some of which also appear in reconstruction; geometric descriptors are therefore aggregated by base design. Each generated instance has a public input bundle, hidden ground truth, an evaluation profile, and generation provenance. The artifact contracts are summarized in Table 4. Public inputs contain the information needed to solve the task, while reference geometry, unmasked annotations, and solved assembly state remain private. The assembly inventory contains four gear-system tasks and nine modular structural-frame tasks. The latter cover tiered T-slot frames, graph-grown extensions, and spatial structures with branching members, including the manufacturing-platform and workstation frames illustrated in the main text. The annotation variants differ only in public information: hard exposes the masked drawing and reference part, medium additionally exposes slot identifiers and locations, and easy additionally exposes annotation kinds. All variants retain the same hidden answers and content-scoring rule. Their eight kinds are linear dimension, angle, arc length, radius, diameter, spherical diameter, chamfer, and feature callout.
Surface and boundary-curve types. Surface-type count includes all represented surface classes, including planes and analytic curved surfaces. Boundary-curve count similarly includes lines, conics, and spline curves. A case contributes to the B-spline proportion when it contains at least one B-spline surface; a spline edge alone does not satisfy this condition.
A.4. Assembly and Annotation Descriptors Assembly counts are read from each task’s ground-truth instance and mate lists. The cycle count is the cycle rank |E| − |V | + C of the undirected instance-level graph, where C is the number of connected components. Repeated mate edges between the same pair of instances are collapsed and self-edges are omitted for this graph statistic; the reported mate count retains the full relation list. Standard fasteners count as physical component instances. Graph cycles summarize the connectivity of the instance-level graph. Annotation statistics are obtained from ground-truth annotation and numerical-field counts and aggregated once per base case. The 11 base cases contain 679 annotations and 789 numerical fields, or approximately 1.16 fields per annotation. Numbers added by a candidate are not counted as target fields. This distinction matters for compound callouts containing several numerical roles within one annotation.
A.2. Geometric Comparison Sample The geometric comparison pairs 35 synthetic references with 35 expert references selected from 41 expert candidates. Pairing minimizes the sum of absolute differences between six-model mean scores, without replacement. All references pass exact B-Rep validation. Descriptors are computed from the reference geometry, and Table 3 reports the resulting comparison for these paired samples.
A.5. Execution Settings and Evaluation Set The released task packages target Harbor 0.23.0. Each task allows a maximum agent runtime of 10,800 seconds (3 hours) and is configured with 4 vCPUs, 8 GiB memory, 20 GiB storage, and zero local GPUs. Reference images pin Python 3.12, build123d 0.11.1, cadquery-ocp-novtk 7.9.3.1.1, trimesh 4.12.2, and Open3D 0.19.0. Harness versions are listed in Table 5. All six systems use the default reasoning setting. Each system is evaluated on the same 85 synthetic tasks: 44 reconstruction, 28 annotation, and 13 assembly tasks. Submitted artifacts are evaluated with the latest deterministic scoring system, and the resulting scores are summarized in Table 6. Appendix D.4 presents the trajectory analysis.
A.3. Exact B-Rep Descriptors All selected references pass B-Rep validity checks and are measured using OpenCascade through OCP 7.9.3.1 without tessellation. Metrics are computed separately for each model and then averaged with equal model weight, except for the proportion of cases containing a B-spline surface. Face count and small-face fraction. Face count is the number of topological faces in the reference B-Rep. A face is small when its area is less than 10−4 of the model’s total 11
B. Programmatic Synthesis and Validation Details
Expert review. Four CAD experts cross-reviewed the benchmark tasks for agreement between drawings and reference geometry, annotation legibility and completeness, task answerability, and the plausibility of part structures and assembly configurations. This review complements the programmatic checks described above.
Shared specification and task packaging. Each task family uses an executable recipe, constrained parameters, and a random seed to construct CAD geometry and its semantic records. Public inputs, hidden references, and required submissions are derived from this shared specification. Packaging separates the public input bundle from the reference geometry, annotation answers, and solved assembly state. Resolved feature dimensions and placements are retained with the generated B-Rep. Drawing projections and measurements of the final geometry provide dimension values and locations; annotation records retain the page, position, kind, and text of each callout. For assemblies, shared fit parameters and evaluated connector frames link local part geometry to the mate graph and solved poses. These records explicitly connect geometry, drawings, annotations, and assembly relations across the derived artifacts.
Generation time and cost. In one recorded production run, generation and programmatic validation yielded 300 selected reconstruction tasks. Their mean accumulated processing time was 204.0 s per task, covering geometry generation, drawing, rasterization, validation, and reference-submission checks. The full parallel batch took 91.0 min, including candidate attempts and selection. At an assumed server rate of USD 2.86 per hour, the estimated batch compute cost was USD 4.34, or USD 0.0145 per selected task. Supervision for training tasks. The derived artifacts provide paired supervision for drawing-to-CAD reconstruction, annotation recovery, and assembly prediction. Recipes, parameters, and seeds support reproducible sampling of geometry and its corresponding targets, while annotation hints control the available observations. These properties support constructing controllable CAD training tasks with automatically generated supervision.
Validation and regeneration. Geometry, drawings, annotations, and assembly relations are checked against the generated state. Local regeneration updates the relevant features or artifacts while preserving their correspondence. The recipe, resolved parameters, seed, and generator version provide the provenance for deterministic replay. Checks use executed geometry as well as parameter records: Boolean overlap and exposed volume validate part composition, while connector alignment, B-Rep intersections, and contact measurements validate assembly relationships. When parameters or placements change, the affected geometry and dependent artifacts are regenerated from the updated state. This connects geometric validity to consistency among the task inputs and reference artifacts.
C. Deterministic Scoring Details Evidence admission and score scale. Equations 1-3 define the main task scores on a [0, 1] scale. Reconstruction and annotation use a binary validity gate for required, readable, schema-compliant submissions. Reconstruction also requires valid solid geometry and a closed, scoreable triangulation. Assembly evaluates JSON and STEP evidence independently: unavailable or invalid evidence sets the dependent axes to zero, preserving unrelated valid axes and their original weights. Assembly scores are normalized to the same [0, 1] reporting scale.
Family-specific derivations. For part reconstruction, procedural feature operations produce a single valid B-Rep, from which STEP ground truth, projected engineering drawings, metadata, and local keep-in/keep-out interface regions are derived. For assembly, the generator instantiates localcoordinate parts and connector frames, constructs a mate graph, solves globally consistent poses, validates collisions and contacts, and derives mates, contacts, connectivity, and system degrees of freedom before rendering drawings and a bill of materials. Public part STEP files are independently exported in local coordinates; solved poses and the assembled STEP remain hidden. For annotation recovery, a complete annotated SVG is generated first. Selected numeric fields are then masked, the private masked SVG is rasterized into the public PNG, and the original page, location, kind, and text records form the hidden answer.
C.1. Drawing-to-STEP All geometric comparisons use one rigid SE(3) alignment without scaling or reflection. Let C denote the aligned candidate solid and G the reference solid. Surface precision, recall, and F1. The evaluator samples point sets XC and XG , with 50,000 points per surface. A surface point matches its nearest point on the other surface when their distance is at most 0.5% of the reference bounding-box diagonal and their normals agree within 20◦ , using the evaluator’s normal convention. Let MC→G ⊆ XC contain the matching candidate points and MG→C ⊆ XG the matching reference points. Surface precision, recall, and 12
Table 4. Public inputs, hidden ground truth, and required submissions. Task
Public input
Hidden ground truth
Submission
Drawing-to-STEP
Engineering drawing and task instructions Model STEP, masked drawing, and difficulty-dependent slot hints Assembly drawings, BOM, instructions, and unplaced local-coordinate part STEP files
Exact STEP/B-Rep, topology, and interface regions Complete annotation records and full annotated drawing Final poses, mates, connectors, contacts, DOF, and assembled STEP
output.step
Annotation recovery Assembly reconstruction
predictions.json submission.json and output.step
C.2. Annotation Recovery
F1 are |MC→G | |MG→C | , Rsurf = , |XC | |XG | 2Psurf Rsurf Fsurface = . Psurf + Rsurf
The predictions.json schema checks case ID, pages, slots, kinds, and text fields. For hard tasks, Hungarian assignment first maximizes eligible one-to-one matches and then minimizes their drawing-location distance, without using predicted kinds or values. A pair must be on the same page and lie within min(0.015, 0.45dnearest ) in normalized coordinates, where dnearest is the distance to the nearest other GT callout on that page; isolated callouts use 0.015. Medium and easy slot identifiers resolve to the same GT locations. The denominator in Equation 2 counts the larger of the reference and predicted numerical-field counts for each matched callout, all fields in unmatched reference callouts, and the predicted field count, with a minimum of one, for each unmatched prediction. A zero denominator yields zero. For each matched pair, typography is normalized by Unicode normalization, uppercasing, multiplication-sign normalization, and whitespace removal; replacing numeric tokens yields its nonnumeric skeleton. Field credit requires identical skeletons and values satisfying the length, angle, or count rule in the main text. Values are parsed as decimals, and their order is preserved. The suggested three-decimal output format is a diagnostic, not an additional geometric-accuracy threshold. The reported content score equals numerical-field accuracy. Detection is Fdet = 2T P/(2T P + F P + F N ); kind accuracy divides correct matched kinds by max(Npred , NGT , 1). Complete-callout accuracy additionally requires correct structure, field count, and all numerical values; case completion requires every expected callout to be recovered, including kind where the task requires predicting it. These quantities and the separately logged task score are diagnostics rather than additive bonuses in the reported reward. This distinction prevents location and kind hints from contributing automatic reward on easier variants.
Psurf =
(4)
The F1 score is zero when both precision and recall are zero. Volume IoU and shape agreement. Volume intersectionover-union measures the fraction of the combined occupied volume shared by the two solids. The shape score averages this overlap with surface F1: Vol(C ∩ G) , Vol(C ∪ G) Fsurface + IoUvolume . Sshape = 2
IoUvolume =
(5) (6)
Topology. Topology compares the solids’ Betti numbers: b0 counts connected components, b1 cycles or through-holes, and b2 enclosed voids: !2 2 Y min(bpred , bgt i i )+1 si = si . (7) , S = topo max(bpred , bgt i i )+1 i=0 Local interface agreement. For each local interface region j, let uj be its keep-in or keep-out IoU after a bounded local pose search. Keep-in regions require material, and keep-out regions require clearance. Define u ej = 1 when uj ≥ 0.99, and u ej = uj otherwise. Let K be the set of functional groups, with each group c containing its associated region indices. The interface score averages the weakest region in each group: Sint =
1 X min u ej . j∈c |K|
(8)
C.3. Assembly Reconstruction
c∈K
Equation 1 combines shape, interface, and topology with weights 0.4, 0.4, and 0.2. For evaluation profiles without interface regions, the shape and topology weights are normalized to 2/3 and 1/3.
The submission.json schema checks units, asset references, rigid transforms in SE(3), and relation references. Inventory is F1 over recognized part types and multiplicities. Hungarian matching assigns repeated instances one-to-one; 13
D. Experimental Details and Additional Results
declared symmetries and a single global rigid transform are allowed, with no independent realignment of each instance.
D.1. Models and Execution Table 5 gives the model identifiers and harness versions. The harnesses provide file access, shell execution, and iterative script execution. Five models use Claude Code, while Gemini 4 Argon uses OpenCode for compatibility with its iterative tool-use workflow. All systems in our study receive the same public task inputs, container resources, time limit, and submission requirements. Agents work in /app, read public inputs from /app/input files, and write artifacts to /app/output. They have public network access, while reference geometry and scoring assets are isolated in the network-disabled verifier. Appendix A.5 records package pins and the three-hour runtime limit.
Symmetry-aware pose error. Maximum symmetry-aware surface distance (MSSD) measures the largest point displacement between the predicted and reference instance poses, minimized over the part’s allowed symmetries. For matched instance i, let Xi be its evaluated surface points in local coordinates, Si its symmetry transformations, Tbi its predicted pose after global alignment, and Ti its reference pose. Its absolute pose error is ei = min max Tbi x − Ti Sx S∈Si x∈Xi
. 2
(9)
The symmetry set includes the identity transformation.
D.2. Complete Results and Difficulty Conditions
Placement score. Placement averages reference-instance recall over four tolerance bands. With N reference instances, instance diameter Di , relative thresholds T = {0.001, 0.0025, 0.005, 0.01}, and corresponding absolute caps cτ ∈ {0.1, 0.25, 0.5, 1.0} mm, the score is
Table 6 includes all six evaluated systems. Annotation difficulty levels define distinct task variants. Each model-task pair is evaluated once using the latest scoring system, and each track score is the mean over its tasks. The annotation set contains 10 hard, 11 medium, and 7 easy variants over 11 base designs. Seven base designs have all three variants, providing matched triples for difficulty comparisons. Reconstruction and assembly tasks carry the hard difficulty label.
N
P =
1 XX 1[ei ≤ min(τ Di , cτ )] . 4N i=1
(10)
τ ∈T
Here 1[·] is one when the condition holds and zero otherwise. Unmatched reference instances contribute zero in every band. The same rule defines Pj for declared placements and Pg for placements recovered from the submitted STEP. The JSON interface, physical, and kinematic axes are
D.3. Synthetic and Expert Reconstruction Performance We compare the six models on 44 synthetic and 63 expert reconstruction tasks using the drawing-to-STEP evaluator described in Appendix C.1. For each model, we compute the arithmetic mean score within each set, including zero scores. The six pairs of means yield Pearson r = 0.870 and Spearman ρ = 0.829, with 13 of the 15 pairwise model orderings agreeing. This comparison uses all tasks in these two sets without score matching and shows consistent relative model performance.
Fj = 0.40Fendpoint + 0.20Ftyped mate + 0.28Aconnector/frame + 0.12Aparameter ,
(11)
Hj = 0.50Ainterference + 0.35Fcontact + 0.15Aconnectivity , 1 . Kj = 1 + |dpred − dgt |
(12) (13)
Unknown mate types or invalid locks make the dependent kinematic evidence unavailable. Typed-mate scoring grants partial credit to compatible relations; duplicate declarations add no true positives. Physical scoring recomputes B-Rep intersections and contacts under the submitted transforms. Permitted overlap, such as a press fit, is compared with its expected amount rather than exempted. The delivered STEP is independently decomposed into solids, matched to the reference inventory, and scored for inventory Ig , placement Pg , and physical agreement Hg . The physical score combines interference accuracy and contact F1 with weights 0.60 and 0.40. All reported assembly results use Equation 3, with eight fixed weights and exponent γ = 1.10. JSON and STEP evidence are evaluated independently, with each axis retaining its specified weight.
D.4. Trajectory Coverage and Representative Evidence To supplement the analysis in Section 6, we examine a broader collection of 973 trajectories across six models: 704 reconstruction, 185 annotation, and 84 assembly trajectories. They span 119 reconstruction tasks (52 synthetic and 67 expert), 33 annotation variants over 11 designs, and 14 assemblies. We combine tool-operation inventories with close reading of geometric decisions, revisions, and submitted artifacts. The three-track results in Section 5.3 use the 85-task synthetic benchmark. Representative examples. In one reconstruction, an incorrect solid-shaft interpretation passed material probes built 14
Table 5. Evaluated models, model identifiers, and agent harnesses. Model
Model identifier
Agent harness
GPT-6.1 Sol Gemini 4 Argon Claude Opus 5.5 DeepSeek V4.1 Flash Doubao Seed 2.1 Pro GLM 5.3 Flash
gpt-6.1-sol gemini-4-argon claude-opus-5-5 deepseek-v4.1-flash-1017 doubao-seed-2-1-pro-260915 glm-5.3-flash
Claude Code 2.1.308 OpenCode 1.19.4 Claude Code 2.1.308 Claude Code 2.1.308 Claude Code 2.1.308 Claude Code 2.1.308
Table 6. Performance on the three synthetic tracks. Each model uses the same 44 reconstruction, 28 annotation, and 13 assembly tasks. Overall is the equal-weight mean of the three unrounded track means. Zero scores are included in the means. System GPT-6.1 Sol Claude Opus 5.5 Gemini 4 Argon DeepSeek V4.1 Flash GLM 5.3 Flash Doubao Seed 2.1 Pro
Drawing-to-STEP
Annotation
Assembly
Overall
0.742 0.597 0.891 0.644 0.631 0.326
0.750 0.818 0.760 0.482 0.227 0.198
0.688 0.653 0.295 0.581 0.241 0.354
0.727 0.689 0.649 0.569 0.367 0.293
around the same structural assumption. In an annotation task, nearly complete callout localization coexisted with poor numerical-field recovery. In a frame assembly, revising crossrail heights was followed by updates to mate frames and regeneration of both submission artifacts.
E. Data Availability The CAD task data are available in the anonymous repository: https://anonymous.4open.science/r/ CAD-from-Code-BCF2/.
15
Related documents
- Nearly-Optimal Dynamic Subtree Mode#1802076
- SURF: Substring Filtered Approximate Nearest Neighbor Search#1802078
- From Code Changes to Slowdowns: An Empirical Study of Performance Regressions in Open-Source Database Kernels#1802079
- Reliable Agentic Data Systems: Challenges, Principles, and a Research Agenda#1802080
- Tournament on Path: Global Relation Abstraction and Pair-wise Ranking for Knowledge Graph Reasoning#1802081
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive