HistCAD: A Constraint-Aware Parametric History-Based CAD Representation, Dataset, and Benchmark with Industrial Complexity


Abstract

Abstract: Parametric CAD sequences are reusable because dimensional and geometric constraints govern how parameter changes propagate. Existing CAD generation datasets and benchmarks emphasize reconstruction fidelity, execution validity, or static shape similarity, leaving preservation of design intent under edits largely unmeasured. We introduce HistCAD, a representation standard, dataset, and benchmark for executable parametric CAD with explicit constraints. HistCAD defines an intermediate language independent of CAD software, recording sketch primitives, constraints, feature operations, and 3D point boundary references for operations such as fillet and chamfer. The dataset contains 170,236 executable sequences aligned with native CAD models, STEP files, rendered views, and text annotations, combining academic scale with professionally authored industrial complexity. Building on this representation, the Constraint-Aware Editability Benchmark applies parameter edits and reports Edit Reachability, conditional preserved constraint satisfaction, and Overall Editable Success, abbreviated ER, cPCSR, and OES; these metrics separate failures to reach a valid edited state from failures to preserve required constraints. Experiments show that explicit constraints are essential for preserving design intent after edits, and that HistCAD supports supervised CAD generation from text and direct LLM workflows. We argue that HistCAD reframes CAD generation from static shape imitation to the synthesis of reusable parametric sequences with explicit constraints.

<ccs2012> <concept> <concept_id>10010147.10010371.10010396.10010399</concept_id> <concept_desc>Computing methodologies Parametric curve and surface models</concept_desc> <concept_significance>500</concept_significance> </concept> </ccs2012>

1 Introduction↩︎

Parametric CAD models derive their enduring engineering value from a defining capability: when a designer changes a dimension, modifies a sketch constraint, or appends a later feature, the native CAD system resolves the edit through explicit constraints and updates the model by replaying the construction history [1][3]. This parameter editing behavior hinges on the explicit dimensional and geometric constraints that encode design intent, namely the relations that must remain satisfied regardless of dimensional variations [4], [5].

Recent generative CAD research has produced remarkable advances in synthesizing modeling sequences or CAD code from text, point clouds, images, and engineering drawings [6][16]. Methods range from autoregressive sequence prediction to structured sequence generation and executable code generation [17][19]. However, with few exceptions, these methods target and evaluate static fidelity, including final shape similarity, sequence validity, command accuracy, and parameter accuracy [12], [20]. Explicit sketch constraints, the very mechanism that makes parametric CAD editable, are rarely part of the representation.

This representational gap becomes immediately apparent under even simple parameter adjustments, as illustrated in Figure [fig:histcad-overview]. A generated sequence may reconstruct plausible geometry, execute once, and even accept a parameter change, yet fail catastrophically to preserve required relations after that change. Missing sketch constraints cause profiles to drift, holes to lose concentricity, and edges to lose tangency or parallelism. We term the missing capability parameter editability with constraint preservation: the ability of a CAD sequence to accommodate local parameter changes while preserving the relevant dimensional and geometric constraints [1], [2], [4].

This limitation is deeply embedded in available data and benchmarks. DeepCAD provides large 3D construction sequences but omits explicit sketch constraints [21]. Text2CAD adds language supervision atop a similar format without explicit constraints [9]. SketchGraphs captures rich 2D relational geometry but lacks executable 3D feature sequences [22]. The Fusion 360 Gallery contributes authentic programs authored by designers, yet remains an order of magnitude smaller and largely restricted to sketch and extrude workflows [23]. Existing benchmarks inherit this bias toward static fidelity. The field therefore lacks a common substrate on which parameter editability with constraint preservation can be learned and evaluated at scale.

We introduce HistCAD to address this fundamental gap. HistCAD has three components. First, it provides a representation standard, an executable intermediate language for parametric CAD that is independent of CAD software and explicitly encodes sketch primitives, sketch constraints, feature operations, and boundary references. Second, it offers a dataset at scale, with 170,236 sequences spanning academic and professionally authored industrial models. Third, it defines a Constraint-Aware Editability Benchmark that measures whether generated sequences preserve design intent under parameter edits.

The representation standard separates the logical description of a parametric model from any particular CAD backend. It records sketches as flat sets of atomic geometric primitives, accompanied by explicit geometric and dimensional constraint graphs covering 19 constraint types. This flattening, described in Section 3.2 and proven in Appendix 7, eliminates redundant boundary serialization while preserving exact profile equivalence. Feature operations, including extrude, revolve, helix sweep, fillet, and chamfer, are parameterized without relying on identifiers specific to a kernel. For operations that depend on existing boundaries, HistCAD stores 3D reference points on target edges, allowing the execution backend to recover the corresponding B-Rep entity at runtime. This design avoids topology identifiers tied to a particular software package, learned pointers [24], and separate grounding modules [25], while maintaining full executability across CAD systems.

The dataset construction integrates complementary sources into this unified representation. The academic portion combines DeepCAD’s scale, SketchGraphs’ constraint richness, and the authenticity of Fusion 360 Gallery programs authored by designers. The industrial portion contributes professionally authored standard part models that substantially extend sequence length and operation coverage, as reported in Table 4. All sequences are aligned with native CAD files, STEP exports, rendered views, and text annotations grounded in the sequence.

The Constraint-Aware Editability Benchmark operationalizes the evaluation of design intent preservation. For each benchmark instance, a target dimensional edit that either modifies an existing dimension or adds a new one is specified together with a preservation set of constraints that should remain satisfied. The benchmark reports three metrics: Edit Reachability, or ER, measures whether the edited sequence reaches a valid CAD state; Conditional Preserved Constraint Satisfaction Rate, or cPCSR, measures constraint preservation among reachable cases; and Overall Editable Success, defined as ER \(\times\) cPCSR, gives the strict overall rate.

Our experiments yield four principal findings. First, the representation remains compact: HistCAD with full constraints averages 550.35 tokens on the shared intersection, compared with 590.62 for Text2CAD and 1,974.00 for DeepCAD. Second, native sequence ablation confirms that explicit constraints are not primarily needed to reach a valid state after an edit, but to keep preserved constraints satisfied after that state is reached; closure only sequences achieve 99.50% ER but only 55.53% cPCSR on HistCAD-DeepCAD data, with equal, angle, parallel, length, and perpendicular constraints proving most fragile. Third, supervised CAD generation from text with full HistCAD training achieves the strongest aggregate editability with constraint preservation, reaching 73.33% OES. Fourth, industrial data improves distribution coverage on the industrial test subset to 55.52% COV, compared with 52.21% for the baseline trained only on DeepCAD, but industrial sequences remain the hardest cases for edit and rebuild evaluation, with OES at 64.00%.

The main contributions of this paper are:

  • A representation standard that serves as an intermediate language independent of CAD software for executable parametric CAD, explicitly encoding 19 constraint types and boundary references through 3D points.

  • The HistCAD dataset, comprising 170,236 executable sequences that unify academic scale, constraint richness, authentic sources from human designers, and industrial complexity.

  • A Constraint-Aware Editability Benchmark with three diagnostic metrics, ER, cPCSR, and OES, that distinguish edit reachability from constraint preservation, shifting evaluation from static shape recovery to design intent verification.

  • Experimental evidence that explicit constraints are necessary and that industrial data improves generalization, with detailed diagnostic analysis of failure modes.

2 Related Work↩︎

This section reviews prior CAD datasets, representations, generative methods, and metrics through the lens of editable construction history: executable feature sequences, explicit sketch constraints, boundary references, and constraint preservation after parameter edits.

2.1 Parametric CAD Datasets and Representations↩︎

Parametric CAD modeling centers on a paradigm driven by construction history: designers construct 2D constrained sketches and build 3D geometry through sequential feature operations [1], [2]. The resulting construction history, when replayable with its original constraints, is what makes these models editable and reusable. Capturing this history in a form readable by LLMs is the central data challenge for generative CAD.

Existing datasets each capture fragments of this complete picture. DeepCAD [21] provides procedural sequences at scale with sketch and extrude operations but does not preserve explicit sketch constraints. Text2CAD [9] adds textual supervision but retains the same format without explicit constraints. SketchGraphs [22] offers rich 2D constraint annotations on static sketches but lacks the downstream 3D feature parameters needed for execution. The Fusion 360 Gallery [23] releases authentic Fusion designs authored by humans whose native files include sketch dimensions and constraints, while its reconstruction subset contains 8,625 designs expressed through sketch and extrude operations. WHUCAD [26] extends command coverage at large scale, and HPSketch [27] further studies parametric sketches with construction histories and advanced commands. The ABC dataset [28] provides massive B-Rep geometry but without parametric history.

Executable script representations offer another direction. CadQuery provides a parametric CAD API in Python, and recent methods such as CAD-Coder and Text-to-CadQuery target CadQuery scripts as generation outputs [18], [19], [29]. These scripts are executable and convenient for code models, but standard CadQuery targets do not preserve native sketch constraint graphs and remain tied to a specific software API rather than serving as an independent representation.

HistCAD is designed to bridge these fragments. It jointly provides executable 3D feature sequences, explicit sketch constraints, support for operations that reference boundaries, and software independence in one unified representation. Table 1 summarizes this comparison.

5pt

Table 1: Comparison of representative procedural CAD sequence formats, executable code targets, and datasets. Entries refer to each work’s released representation or generation target. \(✔\) indicates direct support and \(\times\) indicates that the property is absent.
Dimension DeepCAD Text2CAD
scripts
Gallery HistCAD
Procedural sequence \(✔\) \(✔\) \(✔\) \(✔\) \(✔\)
Native sketch constraint graph \(\times\) \(\times\) \(\times\) \(✔\) \(✔\)
Native/API execution \(\times\) \(\times\) \(✔\) \(✔\) \(✔\)
Beyond sketch/extrude ops. \(\times\) \(\times\) \(✔\) \(\times\) \(✔\)
Boundary reference ops. \(\times\) \(\times\) \(✔\) \(\times\) \(✔\)
Flat sketch representation \(\times\) \(\times\) \(\times\) \(\times\) \(✔\)
Representation independent of software \(\times\) \(\times\) \(\times\) \(\times\) \(✔\)

2.2 Generative Modeling for CAD↩︎

Generative CAD methods can first be organized by their conditioning signal and generation task. Autoregressive sequence models such as DeepCAD and SkexGen learn CAD command sequences directly [21], [30]. Variants conditioned on text extend this setting to generation with language supervision [9], while hierarchical and controllable methods, along with methods guided by feedback, introduce additional control over the generation process [14], [16], [31]. Other lines of work infer CAD sequences or programs from sketches, point clouds, images, or engineering drawings [6][8], [12], [13], [15], [20], [32]. More recent multimodal systems and systems based on LLMs combine several of these signals for CAD generation guided by text or images [10], [11], [33], [34].

A second axis concerns the output representation and how generated programs refer to existing geometry. CADmium uses compact CAD sequences in JSON rather than scripts at the API level [17]. Pointer-CAD extends generation of command sequences with learned pointers over B-Rep entities [24]. FutureCAD generates executable CadQuery programs whose primitive queries in natural language are resolved by a grounding module [25]. Direct B-Rep generation and B-Rep latent editing methods [35][39] instead operate on static boundary representations. HistCAD focuses on editable construction histories with explicit sketch constraints, and embeds boundary references as 3D points within the sequence itself, avoiding both learned pointers and external grounding models.

2.3 Evaluation in Generative CAD↩︎

Evaluation in generative CAD has largely inherited metrics from 3D reconstruction. Chamfer Distance [40], Minimum Matching Distance, Coverage, and Jensen–Shannon Divergence [41] measure shape fidelity and distribution matching. CAD evaluations add sequence validity or success rates, primitive or command accuracy, parameter accuracy, reconstruction distances, and text or visual consistency checks [9], [10], [14], [20], [21]. Together, these metrics test geometric agreement, single execution, or token correspondence, but they do not test whether a sequence preserves required constraints when a user changes a dimension.

Several works move closer to edit settings. SECAD-Net and eCAD-Net study recovery of editable parametric sequences from geometry [42], [43]. CADMorph frames editing as a plan, generate, and verify problem [44]. B-repLer investigates semantic editing in a latent B-Rep space [37]. However, these settings do not benchmark sketch constraint preservation after target parameter edits. HistCAD’s Constraint-Aware Editability Benchmark directly fills this gap with metrics that separate reachability from constraint preservation.

3 HistCAD: A Representation Standard for Parametric CAD↩︎

HistCAD defines an executable, flat representation with explicit constraints for parametric CAD sequences. This section presents the representation standard in Section 3.1, the flattening method in Section 3.2, dataset construction in Section 3.3, execution across CAD environments in Section 3.4, and the annotation module in Section 3.5.

3.1 Constraint-Aware Sequence Representation↩︎

The HistCAD representation standard is an intermediate language for parametric CAD: a serialization independent of CAD software and readable by LLMs that captures the complete editable structure of a model with construction history. It satisfies four design requirements:

  • R1: Compactness for token generation. The representation must be concise enough for LLM and agent pipelines with limited context windows.

  • R2: Executability in native CAD environments. The representation must be reconstructible as a native parametric model, not merely as static geometry, so that parameter edits and constraint resolution remain defined.

  • R3: Explicit encoding of sketch constraints. All dimensional and geometric constraints must be explicitly represented.

  • R4: Support for boundary operations. Industrial operations such as fillet and chamfer, which reference existing model edges, must be representable without topology identifiers tied to a CAD system.

Table 2: Distribution of sketch primitive types in HistCAD over the full dataset.
Primitive Type Frequency
Line 71.22%
Circle 15.63%
Arc 12.57%
NURBS 0.56%
Ellipse 0.02%
Elliptical arc \(<\)​0.01%
Table 3: Distribution of sketch constraint types in HistCAD over the full dataset.
Constraint Type Frequency
Coincident 54.24%
Horizontal 7.82%
Length 7.19%
Parallel 6.27%
Diameter 6.04%
Perpendicular 5.16%
Vertical 3.85%
Distance 3.52%
Tangent 2.65%
Radius 1.40%
Equal 1.15%
Fix 0.33%
Angle 0.18%
Concentric 0.13%
Midpoint 0.04%
Minor Radius \(<\)​0.01%
Normal \(<\)​0.01%
Major Radius \(<\)​0.01%
Mirror \(<\)​0.01%

3.1.0.1 Sketches and constraints.

A HistCAD sketch consists of a local plane, a set of geometric primitives, and a system of explicit geometric constraints. The sketch plane is parameterized by a translation vector and Euler angles. Geometric primitives are expressed in compact parametric form, covering lines, circles, arcs, ellipses, elliptical arcs, and NURBS curves. The empirical distribution across the full dataset is reported in Table 2. Unlike earlier sequence formats that explicitly serialize loops and sketch profiles, HistCAD stores sketch primitives as an unordered flat set, as shown in Figure 1. As shown in Section 3.2, this flattening removes duplicate boundaries while preserving the profiles consumed by downstream 3D operations.

HistCAD supports 19 constraint types listed in Table 3: coincident connectivity; horizontal, vertical, parallel, perpendicular, concentric, tangent, and normal alignment; length, distance, diameter, radius, angle, minor radius, and major radius specifications; fix and midpoint anchoring; and equal and mirror relations. These constraints are part of the executable representation itself. They define the relation graph that preserves required geometric and dimensional relations when a sequence undergoes local edits.

3.1.0.2 Feature operations.

For 3D modeling, HistCAD represents downstream feature operations in a compact, executable form. Extrusions are defined by direction and extent and consume reconstructed sketch profiles without explicit profile enumeration. Revolves are parameterized by axis position, orientation, and angular range. Helix sweeps are defined by axis, pitch, number of turns, and handedness.

Fillets and chamfers are handled through 3D reference points on target boundaries, and the execution backend recovers the corresponding B-Rep edges from the rebuilt model. This design avoids topology identifiers tied to a CAD system while keeping boundary references inside the executable representation. Boolean operation tags for new body, join, cut, and intersect specify how each feature result updates the current part geometry: creating a new body, adding material to existing geometry, removing material from it, or retaining only the intersection.

Figure 1: Comparison between hierarchical sketch serialization and HistCAD’s flat sketch representation. Left: hierarchical serialization repeats loop membership across nested faces and loops. Right: HistCAD stores a flat set of atomic primitives and reconstructs closed loops and sketch profiles from primitive connectivity. Shared interior boundaries cancel under symmetric difference, while the boundaries that define the selected sketch region are preserved.

3.2 Flat Sketch Representation↩︎

Prior CAD sequence formats explicitly serialize faces, loops, and sketch profiles, which introduces redundant tokens because shared interior boundaries are repeated across neighboring faces. HistCAD replaces this nested sketch encoding with a flat set of atomic primitives. This flattening is exact: it removes redundant syntax while preserving the selected 2D region exactly, so the same sketch profiles remain available to subsequent 3D operations.

During preprocessing, all intersecting curves are decomposed into disjoint atomic subprimitives with shared endpoints. Let \(H = \{f_i\}_{i=1}^n\) denote a hierarchical sketch representation, where each face \(f_i\) is bounded by loops \(\partial f_i = \{L_{ij}\}_{j=1}^{m_i}\), and each loop \(L_{ij}\) is a set of atomic subprimitives. Let \(U = \bigcup_{i=1}^n f_i\) denote the selected sketch region, with geometric boundary \(\mathcal{P}_{\text{hier}} = \partial U\). HistCAD defines the flat boundary representation by taking the symmetric difference over the selected face boundaries: \[\mathcal{P}_{\text{flat}} = \Delta_{i=1}^n \left( \Delta_{L_{ij}\in\partial f_i} L_{ij} \right),\] where \(A \Delta B = (A \setminus B) \cup (B \setminus A)\). Equivalently, a subprimitive \(e\) is retained if and only if it appears on an odd number of selected face boundaries.

3.2.0.1 Boundary equivalence proposition

Assume a planar sketch arrangement in which each atomic subprimitive is incident to at most two faces, and no face boundary traverses the same subprimitive more than once. Then \(\mathcal{P}_{\text{flat}} = \mathcal{P}_{\text{hier}}\), where \(\mathcal{P}_{\text{hier}}=\partial U\) is the geometric boundary of the selected sketch region. The proof is given in Appendix 7.

Intuitively, shared interior boundaries appear twice and cancel under symmetric difference, whereas outer contours and hole boundaries appear once and are retained. Figure 1 illustrates this principle: a three-face sketch with duplicate arc boundaries in hierarchical form collapses to a compact flat set where each boundary primitive appears exactly once.

This flattening provides quantifiable benefits. On the shared 134,896-model intersection studied in Section 5.2, the flat representation achieves an average of 363.99 tokens without constraints and 550.35 with full constraints, which is substantially shorter than DeepCAD’s 1,974.00 and even shorter than Text2CAD’s 590.62. The constraints themselves add approximately 186 tokens on average, a modest overhead for the editability they enable.

3.3 Dataset Construction↩︎

No single existing source jointly provides the scale, explicit constraints, native executability, and industrial operation coverage required for editable CAD generation. HistCAD integrates complementary academic and industrial data into the unified representation standard.

3.3.0.1 HistCAD-Academic

The academic portion combines three sources. DeepCAD [21] provides 153,534 3D feature sequences at scale but lacks explicit sketch constraints. SketchGraphs [22] contributes rich 2D constraint annotations on shared sketch entities. Fusion 360 Gallery [23] contributes human-authored designs whose native files include dimensions and sketch constraints; 8,609 recoverable designs are converted into HistCAD sequences.

To align these sources, we match SketchGraphs entities to DeepCAD subprimitives, decompose intersections into atomic primitives, recover selected sketch boundaries through the symmetric difference construction, merge collinear fragments, transfer available original constraints, add auxiliary constraints when needed for execution, and prune redundant relations. This pipeline yields 153,534 aligned CAD sequences with explicit constraints. Adding 8,609 recovered sketch to extrusion sequences from Fusion 360 Gallery brings HistCAD-Academic to 162,143 executable CAD sequences.

3.3.0.2 HistCAD-Industrial

HistCAD-Industrial adds 8,093 professionally authored industrial standard part models. These models preserve complete native parametric sequences and are parsed into the same HistCAD format. Relative to the academic portion, this subset contributes longer sequences and extends operation coverage beyond sketch and extrude workflows. Specifically, 38.13% of industrial models contain at least one fillet or chamfer operation, 4.18% contain revolve operations, and 1.68% contain helical sweep operations, which are feature types absent from HistCAD-Academic. All industrial models are provided under research release agreements. In total, HistCAD contains 170,236 executable CAD sequences.

Table 4: Token length statistics of the three HistCAD subsets, measured using the Gemma-4-31B-it tokenizer.
Dataset Mean Median 95th pct.
HistCAD-DeepCAD 858.05 439 2,332
HistCAD-Fusion360 1,123.25 564 3,449
HistCAD-Industrial 1,860.59 707 6,323

3.4 Execution in CAD Environments↩︎

Native executability is essential: if a generated sequence cannot be rebuilt inside a CAD system, later parameter edits and editability evaluation are no longer defined. HistCAD separates the representation from the execution backend. In the current release, execution is provided through adapters for the JiuShao POWER Platform API [45] and the Autodesk Fusion 360 API [46]. A backend reads the sequence in order and maps each step to native CAD operations: creating the sketch coordinate system, instantiating primitives, inserting explicit constraints, and calling feature constructors.

For fillet and chamfer operations, the backend recovers target edges from the rebuilt native B-Rep using the stored 3D reference points, finding the nearest edge within a tolerance threshold. The stored point serves as a selection cue at the geometry level: at execution time, the backend binds the operation to the edge incident to that cue rather than replaying an entity handle tied to a kernel. This design keeps the logical sequence independent of a particular kernel’s transient topology numbering. Adapters to SolidWorks and CATIA are planned.

3.5 Annotation Module for HistCAD↩︎

HistCAD provides text annotations derived from the executable sequences for CAD tasks conditioned on text. These annotations are derived from the parametric sequence rather than from rendered appearance, ensuring consistency with the executable model. Using deterministic geometric analysis, including loop nesting and relation extraction with OBBs, we recover sketch profiles and spatial relations between bodies within each model; details are given in Appendix 8. Given this structured metadata, we use Gemma-4-31B-it to generate three forms of text supervision: modeling process, geometric structure, and functional type. These annotations are auxiliary dataset fields used only in the CAD generation from text experiments described in Section 5.4.

4 Constraint-Aware Editability Benchmark↩︎

Existing CAD generation evaluations measure static shape fidelity or single execution. They do not test the operation that makes a parametric model reusable: changing a parameter after construction while keeping the relevant constraints valid. We introduce the Constraint-Aware Editability Benchmark to directly evaluate this capability.

Figure 2: Protocol and case partition for the Constraint-Aware Editability Benchmark. The benchmark applies the target dimensional edit to each evaluated sequence and uses three checks to derive ER, cPCSR, and OES: target edit satisfaction T, validation and rebuild success V, and preserved constraint satisfaction P. Cases passing T and V form \mathcal{R}, the numerator of ER; cases that also pass P form \mathcal{S}, the numerator of OES and cPCSR. Reachable cases that violate at least one preserved constraint lie in \mathcal{R}\setminus\mathcal{S}, while target misses and validation or rebuild failures lie in \mathcal{D}\setminus\mathcal{R}.

4.1 Task Formulation↩︎

We formulate parameter editability with constraint preservation as a dynamic editing task. A benchmark instance is a tuple \[I = \langle \mathcal{M}_{src}, c_{\mathrm{target}}, \mathcal{E}, \mathcal{C}_{preserve} \rangle ,\] where \(\mathcal{M}_{src}\) is an executable source CAD sequence, \(c_{\mathrm{target}}\) is the dimensional constraint to be created or modified, \(\mathcal{E}\) specifies the concrete edit value and attachment site, and \(\mathcal{C}_{preserve}\) is the set of constraints that should remain satisfied after the edit. The source sequence defines a feasible edit; the evaluated sequence \(\mathcal{M}_{eval}\) receives the same edit, yielding \(\mathcal{M}_{eval}'\). The benchmark evaluates whether \(\mathcal{M}_{eval}'\) satisfies \(c_{\mathrm{target}}\) and every constraint in \(\mathcal{C}_{preserve}\).

We instantiate this for local dimensional edits. The target constraint \(c_{\mathrm{target}}\) covers length, radius, diameter, angle, and distance constraints. The edit \(\mathcal{E}\) belongs to one of two families: modifying an existing dimensional relation or inserting a new dimensional relation at a feasible attachment site. The preservation set \(\mathcal{C}_{preserve}\) contains the other supported constraints in the affected sketch.

4.2 Benchmark Construction↩︎

Benchmark instances are constructed from executable source sequences with feasible sites for constraint edits, validated to ensure the source remains solvable after the edit. For each accepted edit, the benchmark records the target constraint, edit value, attachment site, and preservation set. The preservation set is fixed by the benchmark instance, so different methods are scored against identical edit requests and identical constraints to preserve.

4.3 Evaluation Metrics↩︎

Let \(\mathcal{D}\) denote the evaluated cases in a benchmark split. Let \(\mathcal{R} \subseteq \mathcal{D}\) be the cases whose edited sequence satisfies \(c_{\mathrm{target}}\), passes sketch validation, and completes downstream rebuild. Among these reachable cases, let \(\mathcal{S} \subseteq \mathcal{R}\) be the cases for which every constraint in \(\mathcal{C}_{preserve}\) remains satisfied.

The benchmark reports three rates: \[\begin{align} \mathrm{ER} &= \frac{|\mathcal{R}|}{|\mathcal{D}|},\\ \mathrm{cPCSR} &= \frac{|\mathcal{S}|}{|\mathcal{R}|},\\ \mathrm{OES} &= \frac{|\mathcal{S}|}{|\mathcal{D}|} = \mathrm{ER} \times \mathrm{cPCSR}. \end{align}\]

Edit Reachability, or ER, measures whether the evaluated sequence reaches a valid CAD state after the edit. Conditional Preserved Constraint Satisfaction Rate, or cPCSR, measures constraint preservation among the reachable cases. Overall Editable Success, or OES, is the strict overall rate, requiring both edit reachability and preservation of all constraints in \(\mathcal{C}_{preserve}\).

Together, these metrics distinguish failures to reach a valid state from failures to preserve constraints within reachable states. Figure 2 illustrates the protocol and case partition.

5 Experiments and Evaluation↩︎

The experiments proceed in four parts. We first compare the compactness of DeepCAD, Text2CAD, and HistCAD representations. We then use native sequence ablations to examine how explicit constraints affect reachability and constraint preservation after edits. Next, we evaluate HistCAD as a target for CAD generation from text under different supervision settings. Finally, we measure how industrial data changes static generation quality, constraint prediction, and editability.

5.1 Evaluation Metrics↩︎

Unless otherwise stated, token statistics use the Gemma-4-31B-it tokenizer. For shape metrics, we report MCD for Median Chamfer Distance multiplied by \(10^{3}\), MMD for Minimum Matching Distance multiplied by \(10^{3}\), COV as Coverage in percent, and JSD for Jensen–Shannon Divergence multiplied by 100, following prior CAD work [10], [21], [41]. Each reference and predicted STL is sampled into 10,000 points, centered, and normalized by the maximum extent of its bounding box. MCD is computed on examples shared by all evaluated generators with available reference meshes. For the larger HistCAD-DeepCAD test subset, MMD, COV, and JSD are computed in three evaluations, each using 1,000 examples, and averaged. HistCAD-Fusion360 and HistCAD-Industrial are evaluated on all available examples with reference meshes.

For the overall text-to-CAD summaries, we compute each reported metric separately on HistCAD-DeepCAD, HistCAD-Fusion360, and HistCAD-Industrial, and report the uniform average of the three subset-level scores. For MCD, we first compute the median Chamfer Distance within each subset and then apply this subset-level averaging. Constraint F1 is computed from precision and recall over predicted constraint records; a true positive requires matching constraint type, referenced entities, and value or semantic metadata. ER, cPCSR, and OES are aggregated independently across subsets, with aggregate OES reported as a subset-level success average alongside separate ER and cPCSR averages.

5.2 Representation Compactness↩︎

Table 5: Comparison of dataset statistics across DeepCAD [21], Text2CAD [9], and HistCAD on the shared intersection of 134,896 CAD models.HistCAD with constraints includes explicit dimensional and geometric sketch constraints, while HistCAD without constraints omits them.Average token counts are measured using the Gemma-4-31B-it tokenizer.
Dataset Avg. Tokens\(\downarrow\)
DeepCAD [21] 1974.00
Text2CAD [9] 590.62
HistCAD without constraints 363.99
HistCAD with constraints 550.35
Figure 3: Token count distributions across the 134,896-model shared intersection, capped at 4,096 tokens. DeepCAD and Text2CAD do not encode sketch constraints, while HistCAD is shown both with constraints and without constraints. Text2CAD and HistCAD with constraints largely overlap in their main mass, whereas HistCAD without constraints is consistently shifted left.
Figure 4: Representative samples from the HistCAD-DeepCAD, HistCAD-Fusion360, and HistCAD-Industrial subsets.

We compare DeepCAD [21], Text2CAD [9], and HistCAD on their shared 134,896-model intersection. Table 5 shows that HistCAD with full constraints averages 550.35 tokens, shorter than Text2CAD at 590.62 tokens and far shorter than DeepCAD at 1,974.00 tokens. HistCAD without constraints achieves additional compression at 363.99 tokens. Figure 3 confirms this at the distribution level: DeepCAD exhibits a broad distribution with a heavy tail, while Text2CAD and HistCAD with constraints overlap strongly in the 200 to 700 token region. Table 4 shows that HistCAD-Industrial has substantially longer sequences than the academic subsets, with mean, median, and 95th-percentile token counts of 1,860.59, 707, and 6,323, respectively, confirming that HistCAD-Industrial expands the procedural complexity available for training and evaluation. Figure 4 provides representative samples from the three source subsets.

Figure 5: Illustrative examples from the native sequence constraint ablation study. For each reference sequence, we compare a variant with full constraints against a closure only variant derived from the same source sequence. The closure only variant retains the coincidence constraints required for closed loops.

5.3 Native Sequence Constraint Ablation↩︎

Table 6: Overall results of the native sequence constraint ablation study, reported using ER, cPCSR, and OES.
Variant ER cPCSR OES
Full constraints 95.42% 100.00% 95.42%
Closure only 95.92% 67.51% 64.75%
Table 7: Native sequence constraint ablation across HistCAD subsets, reported using ER, cPCSR, and OES.
Variant HistCAD-DeepCAD HistCAD-Fusion360 HistCAD-Industrial
2-4(lr)5-7(lr)8-10 ER cPCSR OES ER cPCSR OES ER cPCSR OES
Full constraints 98.25% 100.00% 98.25% 98.25% 100.00% 98.25% 89.75% 100.00% 89.75%
Closure only 99.50% 55.53% 55.25% 98.25% 77.10% 75.75% 90.00% 70.28% 63.25%

lcccccc Variant & &
(lr)2-4(lr)5-7 & ER & cPCSR & OES & ER & cPCSR & OES
Full constraints & 96.67% & 100.00% & 96.67% & 94.17% & 100.00% & 94.17%
Closure only & 96.33% & 74.05% & 71.33% & 95.50% & 60.91% & 58.17%

Table 8: Preservation rates by constraint type for native sequence constraint ablation.
Constraint Full constraints Closure only
Equal 100.00% 59.64%
Angle 100.00% 63.64%
Parallel 100.00% 73.93%
Length 100.00% 75.38%
Perpendicular 100.00% 76.38%
Vertical 100.00% 81.58%
Radius 100.00% 84.44%
Distance 100.00% 85.80%
Horizontal 100.00% 87.47%
Tangent 100.00% 91.84%
Diameter 100.00% 93.53%
Concentric 100.00% 94.20%
Coincident 100.00% 100.00%

We validate the benchmark by creating two variants of native source sequences: Full constraints, retaining all explicit constraints, and Closure only, retaining only coincidence constraints necessary for sketch closure. Figure 5 illustrates representative edit outcomes, Table 6 reports the overall ablation, and Table 7 shows the subset results.

The overall ablation provides the central validation result: the full constraint variant reaches 95.42% ER, 100.00% cPCSR, and 95.42% OES, whereas the closure only variant reaches a comparable 95.92% ER but drops to 67.51% cPCSR and 64.75% OES. The subset breakdown in Table 7 shows the same separation between edit reachability and constraint preservation. On HistCAD-DeepCAD data, closure only ER reaches 99.50%, exceeding the 98.25% ER of the full constraint variant, yet cPCSR drops to 55.53%, meaning nearly half of reachable edited states violate at least one preserved constraint. This demonstrates that constraints beyond closure are not primarily needed for reaching a valid state after an edit: because the closure only variant retains the coincidence constraints required for closed profiles, many edited sequences remain rebuildable, while the removed constraints are essential for preserving intended relations after that state is reached.

Table [tab:native-editability-intent] shows this pattern holds across both edit families. For closure only variants, adding a new dimension is harder than modifying an existing one primarily because cPCSR drops from 74.05% to 60.91%, not because ER changes substantially.

Table 8 provides diagnostics by constraint type. Equal constraints are most fragile under closure only conditions at 59.64%, followed by angle at 63.64%, parallel at 73.93%, length at 75.38%, and perpendicular at 76.38%. Coincident constraints remain fully preserved because they are explicitly retained for sketch closure. This diagnostic granularity demonstrates the benchmark’s ability not only to measure overall editability but to identify which specific aspects of design intent are most vulnerable to omission.

5.4 CAD Generation from Text↩︎

We train Qwen3-8B [47] generators for CAD generation from text using LoRA [48] under three training compositions: HistCAD-DeepCAD, HistCAD-Academic, which combines DeepCAD and Fusion 360, and full HistCAD. Each uses 90% of the data for training, 5% for validation, and 5% for testing. After filtering out sequences with 98,304 or more tokens, 153,518 DeepCAD, 8,609 Fusion 360, and 8,088 Industrial sequences are retained.

Table 9: Overall MCD, MMD, COV, and JSD results across the three HistCAD test subsets. Entries are uniform averages of subset-level scores over HistCAD-DeepCAD, HistCAD-Fusion360, and HistCAD-Industrial. MCD is computed as the median Chamfer Distance within each subset and then averaged across subsets. The HistCAD-DeepCAD MMD, COV, and JSD subset scores are averaged over three evaluations, each using 1,000 examples. MMD denotes Minimum Matching Distance. Both MCD and MMD are multiplied by \(10^{3}\); COV is reported as a percentage, and JSD is multiplied by 100.
Training Dataset MCD \(\downarrow\) MMD \(\downarrow\) COV \(\uparrow\) JSD \(\downarrow\)
HistCAD-DeepCAD 15.718 3.506 55.48% 1.46
HistCAD-Academic 14.278 3.300 55.72% 1.24
HistCAD 14.040 3.353 57.01% 0.98

5.4.0.1 Overall shape metrics.

Table 9 reports aggregate MCD, MMD, COV, and JSD. Full HistCAD achieves the best MCD of 14.040, COV of 57.01%, and JSD of 0.98, while HistCAD-Academic achieves the best MMD of 3.300. The gains relative to the baseline trained only on DeepCAD are particularly pronounced for COV and JSD, indicating that industrial data broadens the training distribution in a way that improves global distribution matching.

Table 10: Overall constraint prediction and editability results across the three HistCAD test subsets. Entries are uniform averages of subset-level scores over HistCAD-DeepCAD, HistCAD-Fusion360, and HistCAD-Industrial. F1 evaluates constraint-record prediction; a true positive requires matching constraint type, referenced entities, and value or semantic metadata. ER, cPCSR, and OES are aggregated independently as subset-level editability metrics.
Training Dataset F1 \(\uparrow\) ER \(\uparrow\) cPCSR \(\uparrow\) OES \(\uparrow\)
HistCAD-DeepCAD 58.17% 81.33% 85.34% 69.67%
HistCAD-Academic 60.79% 80.33% 83.27% 67.33%
HistCAD 62.08% 83.67% 87.36% 73.33%

3pt

Table 11: MCD, MMD, COV, and JSD results by subset for generators trained on the three HistCAD training compositions. MCD denotes Median Chamfer Distance, and MMD denotes Minimum Matching Distance; both are multiplied by \(10^{3}\). COV is reported as a percentage, and JSD is multiplied by 100. For HistCAD-DeepCAD, MMD, COV, and JSD are averaged over three evaluations, each using 1,000 examples; HistCAD-Fusion360 and HistCAD-Industrial use all available examples with reference meshes.
Training Dataset HistCAD-DeepCAD HistCAD-Fusion360 HistCAD-Industrial
2-5(lr)6-9(lr)10-13 MCD \(\downarrow\) MMD \(\downarrow\) COV \(\uparrow\) JSD \(\downarrow\) MCD \(\downarrow\) MMD \(\downarrow\) COV \(\uparrow\) JSD \(\downarrow\) MCD \(\downarrow\) MMD \(\downarrow\) COV \(\uparrow\) JSD \(\downarrow\)
HistCAD-DeepCAD 1.742 2.248 61.47% 0.35 31.174 4.093 52.76% 2.18 14.236 4.176 52.21% 1.86
HistCAD-Academic 1.790 2.193 62.03% 0.40 27.475 3.601 54.02% 1.73 13.569 4.107 51.10% 1.59
HistCAD 1.936 2.247 61.73% 0.37 29.207 3.742 53.77% 1.55 10.979 4.069 55.52% 1.02
Table 12: Constraint prediction and editability with constraint preservation across HistCAD test subsets under target parameter edits. For F1, true positives require matching constraint type, referenced entities, and value or semantic metadata. For each test subset, we also report ER, cPCSR, and OES.
Training Dataset HistCAD-DeepCAD HistCAD-Fusion360 HistCAD-Industrial
2-5(lr)6-9(lr)10-13 F1 ER cPCSR OES F1 ER cPCSR OES F1 ER cPCSR OES
HistCAD-DeepCAD 63.72% 83.00% 81.93% 68.00% 61.65% 89.00% 92.13% 82.00% 49.13% 72.00% 81.94% 59.00%
HistCAD-Academic 64.52% 80.00% 76.25% 61.00% 65.04% 89.00% 94.38% 84.00% 52.80% 72.00% 79.17% 57.00%
HistCAD 63.38% 84.00% 84.52% 71.00% 68.28% 89.00% 95.51% 85.00% 54.58% 78.00% 82.05% 64.00%

5.4.0.2 Aggregate constraint prediction and editability.

Table 10 reports constraint prediction and editability. Full HistCAD achieves the highest F1 of 62.08%, ER of 83.67%, cPCSR of 87.36%, and OES of 73.33%, indicating that the full training corpus improves both constraint generation and behavior after edits. Adding Fusion 360 data alone improves aggregate F1 over the model trained only on DeepCAD, but it does not improve aggregate OES; the additional industrial data is needed to obtain the strongest overall editable success. The gap between aggregate OES at 73.33% and aggregate ER at 83.67% further shows that reaching a valid edited state is not sufficient: preserved constraint satisfaction remains a separate requirement captured by cPCSR and OES.

5.5 Effect of Industrial Data↩︎

Table 11 breaks down shape metrics by test subset. The results expose a substantial gap between existing academic data and professionally authored industrial models. This mismatch motivates the industrial-data experiment: a model that performs well on academic corpora may still fail to capture the procedural complexity and editability requirements of real design workflows. On the DeepCAD test subset, the generator trained only on DeepCAD maintains the best MCD of 1.742 and JSD of 0.35, reflecting distributional proximity to the academic source data. This advantage does not transfer to industrial models: on the industrial subset, full HistCAD leads all four metrics, with MCD improving from 14.236 to 10.979, MMD from 4.176 to 4.069, COV from 52.21% to 55.52%, and JSD from 1.86 to 1.02 relative to the baseline trained only on DeepCAD. On the Fusion 360 test subset, adding Fusion 360 data yields the strongest MMD of 3.601, but the industrial subset is where the full corpus gives the clearest distributional benefit.

Table 12 shows the same domain gap in constraint prediction and editability. Full HistCAD achieves the highest OES on all three subsets and gives the strongest industrial result, at 64.00% compared with 59.00% for the model trained only on DeepCAD, but the industrial subset remains the hardest case: its 64.00% OES is far below the Fusion 360 OES of 85.00%. The industrial failures are split between edit reachability, with ER at 78.00%, and preserved constraint satisfaction among reachable cases, with cPCSR at 82.05%, indicating that real industrial sequences stress both the ability to reach a valid edited state and the ability to preserve intended relations after that state is reached.

Figure 6: Direct HistCAD sequence generation with GPT-5.5. Given the HistCAD specification and design requirements in natural language, GPT-5.5 outputs executable JSON sequences for a filleted flange, a raised neck variant, a chamfered hex nut, and a threaded variant. Appendix 9 lists the corresponding HistCAD sequences.

5.6 Direct LLM HistCAD Generation↩︎

Beyond supervised generation, we conduct a qualitative case study to examine whether HistCAD can serve as a direct output representation for general purpose LLMs. The prompt provides the HistCAD modeling sequence specification and a natural language description, asking GPT-5.5 to return JSON only, without additional training or prompt examples.

Figure 6 shows two base generations and two subsequent variants. GPT-5.5 generates executable sequences for a filleted flange and a chamfered hex nut; subsequent requirements add a raised neck variant and an internal helical thread cut, respectively. The generated JSON sequences listed in Appendix 9 and shown in Figure 7 are successfully rebuilt by the execution adapters described in Section 3.4, demonstrating that the schema’s explicit constraints and boundary references through 3D points can be generated by an LLM without examples. These qualitative results indicate that the HistCAD standard is sufficiently complete and structured to function as a direct target for LLM generation conditioned on a schema, a property that will facilitate future CAD synthesis and editing workflows with agents.

6 Conclusion and Future Work↩︎

We introduced HistCAD, a representation standard with explicit constraints, dataset, and benchmark for parametric CAD generation from sequences. The representation standard serves as an intermediate language independent of CAD software that explicitly encodes sketch constraints, feature operations, and boundary references through 3D points. The dataset unifies 170,236 academic and professionally authored industrial sequences with aligned artifacts. The Constraint-Aware Editability Benchmark, with its three diagnostic metrics ER, cPCSR, and OES, shifts evaluation from static shape recovery to design intent preservation under parameter edits.

Our experiments establish that explicit constraints are necessary for evaluating and generating editable CAD models. Native ablation confirms that static executability fundamentally differs from parametric editability: closure only sequences maintain high ER but lose intended constraint relations after editing. CAD generation from text experiments reveal that industrial data improves coverage and distribution matching and that the full HistCAD training corpus yields the strongest aggregate constraint prediction and editability. The industrial subset remains the hardest test case, with OES at 64.00%, indicating ample room for improvement. Direct LLM generation suggests that the HistCAD schema can serve as a direct executable target.

Several limitations motivate future work. First, the Constraint-Aware Editability Benchmark currently covers local dimensional edits; edits across multiple steps, modifications at the feature level, and feature reordering remain important extensions for capturing broader editing workflows. Second, the industrial data subset of 8,093 models is relatively small compared with the academic portion, which may limit training signal for complex operations; expanding industrial coverage is an ongoing effort. Third, the text annotations are generated by an LLM rather than authored by human designers, and their quality as supervision signals warrants further study.

Future work should broaden the benchmark to edits across multiple steps and feature modifications, expand coverage of long tail constraints and operations, and validate across additional CAD kernels. With richer diagnostic feedback, HistCAD can support iterative CAD agents that generate, execute, diagnose, and revise editable sequences, realizing the vision of generative CAD that preserves constraints and design intent.

Data and Code Availability↩︎

The academic portion of HistCAD and the associated scripts are publicly released in anonymized form. The release contains 162,143 modeling sequences, together with STEP models and text annotations. The code repository is available at https://anonymous.4open.science/r/HistCAD-68C2, and the dataset is available at https://anonymous-hf.up.railway.app/a/i1n9x5t85qu5.

7 Proof of Boundary Equivalence↩︎

This appendix provides the formal justification for the boundary construction used in Section 3.2.

7.0.0.1 Proof.

Fix an atomic subprimitive \(e\in\mathcal{E}\) and choose an interior point \(x\in e\). Because all intersections are split during decomposition, a sufficiently small open disk \(D_x\) centered at \(x\) intersects the sketch only along the trace of \(e\). Thus, \(e\) separates \(D_x\) into at most two open components, corresponding locally to the incident faces.

Let \(N(e)\) denote the number of selected faces incident to \(e\). By assumption, \(N(e)\in\{0,1,2\}\). Because no face boundary reuses \(e\), each incident face contributes exactly once to the loop family \(\{\partial f_i\}_{i=1}^{n}\). Therefore, \[\sum_{i=1}^{n}\sum_{j=1}^{m_i}\mathbf{1}[e\in L_{ij}] \;=\; N(e),\] and the parity condition for \(\mathcal{P}_{\mathrm{flat}}\) yields \[e\in\mathcal{P}_{\mathrm{flat}} \quad\Longleftrightarrow\quad N(e)=1.\]

We now evaluate membership in \(\mathcal{P}_{\mathrm{hier}}=\partial U\). If \(N(e)=0\), neither side of \(e\) belongs to the union \(U\), so a neighborhood of \(x\) is disjoint from \(U\), and hence \(e\not\subset\partial U\). If \(N(e)=2\), both sides of \(e\) belong to \(U\), so \(x\) lies in the interior of \(U\), and again \(e\not\subset\partial U\). If \(N(e)=1\), exactly one side of \(e\) belongs to \(U\) and the other to its complement. Every neighborhood of \(x\) therefore intersects both \(U\) and its complement, implying \(x\in\partial U\). Since \(x\) is an arbitrary interior point, \(e\subset\partial U\).

Consequently, \[e\in\mathcal{P}_{\mathrm{flat}} \quad\Longleftrightarrow\quad N(e)=1 \quad\Longleftrightarrow\quad e\subset\partial U \quad\Longleftrightarrow\quad e\in\mathcal{P}_{\mathrm{hier}}.\] Since this equivalence holds for all \(e\in\mathcal{E}\), we conclude \(\mathcal{P}_{\mathrm{flat}}=\mathcal{P}_{\mathrm{hier}}\). Shared interior boundaries therefore cancel, while outer contours and hole boundaries are preserved. \(\square\)

8 Annotation Algorithms↩︎

This appendix summarizes the deterministic procedures used to obtain the structured geometric metadata that supports the text annotations described in Section 3.5. The goal is to convert each executable CAD sequence into a compact description of its profile hierarchy and body layout within each model. Algorithm [alg:loop-extraction] first recovers closed sketch loops, organizes inner loops as holes of their containing outer profiles, and attaches an oriented bounding box to each body. Algorithm [alg:relation-extraction] then compares the resulting boxes to assign coarse relation types and relative position labels among bodies within the same model.

9 Direct LLM HistCAD Generation Sequences↩︎

Figure 7 shows the HistCAD JSON sequences used in the direct LLM case study in Section 5.6.

Figure 7: HistCAD JSON sequences generated directly by GPT-5.5 for Figure 6.

References↩︎

[1]
B. Bettig and C. M. Hoffmann, “Geometric constraint solving in parametric computer-aided design,” Journal of Computing and Information Science in Engineering, vol. 11, no. 2, p. 021001, 2011, doi: 10.1115/1.3593408.
[2]
J. D. Camba, M. Contero, and P. Company, “Parametric CAD modeling: An analysis of strategies for design reusability,” Computer-Aided Design, vol. 74, pp. 18–31, 2016, doi: 10.1016/j.cad.2016.01.003.
[3]
R. A. Light and D. C. Gossard, “Modification of geometric models through variational geometry,” Computer-Aided Design, vol. 14, no. 4, pp. 209–214, 1982, doi: 10.1016/0010-4485(82)90292-5.
[4]
H. K. Ault, “Using geometric constraints to capture design intent,” Journal for Geometry and Graphics, vol. 3, no. 1, pp. 39–45, 1999, [Online]. Available: https://www.heldermann-verlag.de/jgg/jgg03/jgg0303.htm.
[5]
P. Company, F. Naya, M. Contero, and J. D. Camba, “On the role of geometric constraints to support design intent communication and model reusability,” Computer-Aided Design and Applications, vol. 17, no. 1, pp. 61–76, 2020, doi: 10.14733/cadaps.2020.61-76.
[6]
T. Chen et al., Img2CAD: Conditioned 3-d CAD model generation from single image with structured visual geometry,” IEEE Transactions on Industrial Informatics, vol. 21, no. 11, pp. 8539–8549, 2025, doi: 10.1109/TII.2025.3584476.
[7]
E. Dupont, K. Cherenkova, D. Mallis, G. Gusev, A. Kacem, and D. Aouada, TransCAD: A hierarchical transformer for CAD sequence inference from point clouds,” in European conference on computer vision (ECCV), 2024, pp. 19–36, doi: 10.1007/978-3-031-73030-6_2.
[8]
M. S. Khan, E. Dupont, S. A. Ali, K. Cherenkova, A. Kacem, and D. Aouada, CAD-SIGNet: CAD language inference from point clouds using layer-wise sketch instance guided attention,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (CVPR), 2024, pp. 4713–4722.
[9]
M. S. Khan, S. Sinha, T. U. Sheikh, D. Stricker, S. A. Ali, and M. Z. Afzal, Text2CAD: Generating sequential cad designs from beginner-to-expert level text prompts,” in Advances in neural information processing systems (NeurIPS), 2024, vol. 37, pp. 7552–7579.
[10]
J. Li, W. Ma, X. Li, Y. Lou, G. Zhou, and X. Zhou, CAD-Llama: Leveraging large language models for computer-aided design parametric 3D model generation,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (CVPR), Jun. 2025, pp. 18563–18573.
[11]
X. Li, J. Li, Y. Song, Y. Lou, and X. Zhou, Seek-CAD: A self-refined generative modeling for 3D parametric CAD using local inference via DeepSeek,” in The international conference on learning representations (ICLR), 2026, [Online]. Available: https://openreview.net/forum?id=PzIc2TxhwN.
[12]
W. Ma, S. Chen, Y. Lou, X. Li, and X. Zhou, “Draw step by step: Reconstructing CAD construction sequences from point clouds via multimodal diffusion,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (CVPR), 2024, pp. 27154–27163.
[13]
F. Qin, S. Lu, J. Hou, C. Wang, M. Fang, and L. Liu, Drawing2CAD: Sequence-to-sequence learning for CAD generation from vector drawings,” in Proceedings of the 33rd ACM international conference on multimedia (ACM MM), 2025, pp. 10573–10582, doi: 10.1145/3746027.3755782.
[14]
R. Wang, Y. Yuan, S. Sun, and J. Bian, “Text-to-CAD generation through infusing visual feedback in large language models,” in International conference on machine learning (ICML), 2025, vol. 267, pp. 65326–65345.
[15]
Y. You et al., Img2CAD: Reverse engineering 3D CAD models from images through VLM-assisted conditional factorization,” in SIGGRAPH asia 2025 conference papers, 2025, pp. 1–12, doi: 10.1145/3757377.3763891.
[16]
Z. Zhang, S. Sun, W. Wang, D. Cai, and J. Bian, FlexCAD: Unified and versatile controllable CAD generation with fine-tuned large language models,” in International conference on learning representations (ICLR), 2025.
[17]
P. Govindarajan, D. Baldelli, J. Pathak, Q. Fournier, and S. Chandar, CADmium: Fine-tuning code language models for text-driven sequential CAD design,” Transactions on Machine Learning Research, 2026, [Online]. Available: https://openreview.net/forum?id=lExqWvQht8.
[18]
Y. Guan, X. Wang, X. Xing, J. Zhang, D. Xu, and Q. Yu, CAD-Coder: Text-to-CAD generation with chain-of-thought and geometric reward,” in Advances in neural information processing systems (NeurIPS), 2025, [Online]. Available: https://openreview.net/forum?id=QoiFdfZUJv.
[19]
H. Xie and F. Ju, Text-to-CadQuery: A new paradigm for CAD generation with scalable large model capabilities.” 2025, [Online]. Available: https://arxiv.org/abs/2505.06507.
[20]
D. Rukhovich, E. Dupont, D. Mallis, K. Cherenkova, A. Kacem, and D. Aouada, CAD-Recode: Reverse engineering CAD code from point clouds,” in Proceedings of the IEEE/CVF international conference on computer vision (ICCV), 2025, pp. 9801–9811.
[21]
R. Wu, C. Xiao, and C. Zheng, DeepCAD: A deep generative network for computer-aided design models,” in Proceedings of the IEEE/CVF international conference on computer vision (ICCV), Oct. 2021, pp. 6772–6782.
[22]
A. Seff, Y. Ovadia, W. Zhou, and R. P. Adams, “SketchGraphs: A large-scale dataset for modeling relational geometry in computer-aided design,” in ICML 2020 workshop on object-oriented learning, 2020.
[23]
K. D. D. Willis et al., Fusion 360 Gallery: A dataset and environment for programmatic CAD construction from human design sequences,” ACM Transactions on Graphics (TOG), vol. 40, no. 4, pp. 1–24, 2021, doi: 10.1145/3450626.3459818.
[24]
D. Qi et al., Pointer-CAD: Unifying b-rep and command sequences via pointer-based edges & faces selection,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (CVPR), 2026.
[25]
J. Li, Q. Zhang, Q. Chen, G. Qiu, Y. Lou, and X. Zhou, “Towards high-fidelity CAD generation via LLM-driven program generation and text-based b-rep primitive grounding.” 2026, [Online]. Available: https://arxiv.org/abs/2603.11831.
[26]
R. Fan, F. He, Y. Liu, Y. Song, L. Fan, and X. Yan, “A parametric and feature-based CAD dataset to support human-computer interaction for advanced 3D shape learning,” Integrated Computer-Aided Engineering, vol. 32, no. 1, pp. 75–96, 2025, doi: 10.3233/ICA-240744.
[27]
R. Fan, F. He, Y. Liu, and J. Lin, “A history-based parametric CAD sketch dataset with advanced engineering commands,” Computer-Aided Design, vol. 182, p. 103848, 2025, doi: 10.1016/j.cad.2025.103848.
[28]
S. Koch et al., ABC: A big CAD model dataset for geometric deep learning,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (CVPR), Jun. 2019, pp. 9601–9611.
[29]
C. contributors, “CadQuery.” Zenodo, Feb. 2026, doi: 10.5281/zenodo.18633916.
[30]
X. Xu, K. D. Willis, J. G. Lambourne, C.-Y. Cheng, P. K. Jayaraman, and Y. Furukawa, SkexGen: Autoregressive generation of CAD construction sequences with disentangled codebooks,” in International conference on machine learning (ICML), 2022, vol. 162, pp. 24698–24724.
[31]
X. Xu, P. K. Jayaraman, J. G. Lambourne, K. D. Willis, and Y. Furukawa, “Hierarchical neural coding for controllable CAD model generation,” in International conference on machine learning (ICML), 2023, vol. 202, pp. 38443–38461.
[32]
Y. Sun et al., Sketch2Seq: Reconstruct CAD models from feature-based sketch segmentation,” IEEE Transactions on Visualization and Computer Graphics, vol. 31, no. 10, pp. 8214–8230, 2025, doi: 10.1109/TVCG.2025.3566544.
[33]
D. Lin, M. Yuan, Z. Wang, T. Wu, and Y. Liu, FreeCAD: A multimodal framework for 3D CAD model generation from free-form prompts,” in Proceedings of the 33rd ACM international conference on multimedia (ACM MM), 2025, pp. 1948–1956, doi: 10.1145/3746027.3755550.
[34]
S. Wang et al., CAD-GPT: Synthesising CAD construction sequence with spatial reasoning-enhanced multimodal LLMs,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 39, no. 8, pp. 7880–7888, 2025, doi: 10.1609/aaai.v39i8.32849.
[35]
H. Guo, S. Liu, H. Pan, Y. Liu, X. Tong, and B. Guo, ComplexGen: CAD reconstruction by b-rep chain complex generation,” ACM Transactions on Graphics (TOG), vol. 41, no. 4, pp. 1–18, 2022, doi: 10.1145/3528223.3530078.
[36]
P. K. Jayaraman, J. G. Lambourne, N. Desai, K. D. D. Willis, A. Sanghi, and N. J. W. Morris, SolidGen: An autoregressive model for direct b-rep synthesis,” Transactions on Machine Learning Research, 2023, [Online]. Available: https://openreview.net/forum?id=ZR2CDgADRo.
[37]
Y. Liu, N. S. Dutt, C. Li, and N. J. Mitra, B-repLer: Semantic b-rep latent editor using large language models,” arXiv preprint arXiv:2508.10201, 2025.
[38]
F. Qin, C. Luo, J. Hou, M. Fang, and L. Liu, BRep-GD: A graph diffusion model for CAD boundary representation generation,” IEEE Transactions on Visualization and Computer Graphics, pp. 1–17, 2026, doi: 10.1109/TVCG.2026.3676456.
[39]
X. Xu, J. Lambourne, P. K. Jayaraman, Z. Wang, K. D. D. Willis, and Y. Furukawa, BrepGen: A b-rep generative diffusion model with structured latent geometry,” ACM Transactions on Graphics (TOG), vol. 43, no. 4, pp. 1–14, 2024, doi: 10.1145/3658129.
[40]
H. Fan, H. Su, and L. J. Guibas, “A point set generation network for 3D object reconstruction from a single image,” in Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR), 2017, pp. 605–613.
[41]
P. Achlioptas, O. Diamanti, I. Mitliagkas, and L. Guibas, “Learning representations and generative models for 3D point clouds,” in Proceedings of the 35th international conference on machine learning (ICML), 2018, vol. 80, pp. 40–49.
[42]
P. Li, J. Guo, X. Zhang, and D.-M. Yan, SECAD-Net: Self-supervised CAD reconstruction by learning sketch-extrude operations,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (CVPR), Jun. 2023, pp. 16816–16826.
[43]
C. Zhang, A. Polette, R. Pinquié, G. Carasi, H. De Charnace, and J.-P. Pernot, eCAD-Net: Editable parametric CAD models reconstruction from dumb b-rep models using deep neural networks,” Computer-Aided Design, vol. 178, p. 103806, 2025, doi: 10.1016/j.cad.2024.103806.
[44]
W. Ma, S. Sun, R. Wang, and J. Bian, CADMorph: Geometry-driven parametric CAD editing via a plan-generate-verify loop,” in Advances in neural information processing systems (NeurIPS), 2025, [Online]. Available: https://openreview.net/forum?id=jCuEeQF7uP.
[45]
[46]
Autodesk, Fusion 360 API. 2014.
[47]
A. Yang et al., “Qwen3 technical report,” arXiv preprint arXiv:2505.09388, 2025.
[48]
E. J. Hu et al., “LoRA: Low-rank adaptation of large language models,” in International conference on learning representations (ICLR), 2022, [Online]. Available: https://openreview.net/forum?id=nZeVKeeFYf9.