Workflow-CAD logo Workflow-CAD

Mining and Simulating Engineer Workflows
for Agentic CAD Modeling
面向智能体 CAD 建模的
工程师工作流挖掘与模拟

Sunqi Fan1 Runqi Yin1 Lingshan Chen1 Zhiguang Liu2 Yongming Rao2 Qun-Ce Xu1 Shi-Min Hu1
1Tsinghua University清华大学 2Tencent Hunyuan腾讯混元

News最新动态

  • TODO

    We will soon release the Workflow-CAD SolidWorks add-in. 我们即将发布 Workflow-CAD SolidWorks 插件。

  • 2026.11.28

    We release the Workflow-CAD agentic system and Workflow-CAD-Bench. Workflow-CAD 智能体系统与 Workflow-CAD-Bench 基准正式发布。

  • 2026.11.27

    Workflow-CAD received the 84 Innovation Future Award, granted by InnoAngel Fund and the Department of Computer Science and Technology, Tsinghua University. 本项目获得由英诺基金与清华大学计算机系颁发的 84 创新未来奖金。

Workflow-CAD-Bench
Native SolidWorks models created fully autonomously by Workflow-CAD. Every model keeps an editable parametric feature tree. 由 Workflow-CAD 完全自主创建的原生 SolidWorks 模型,每个模型都保留可编辑的参数化特征树。
Workflow-CAD
The Workflow-CAD agent operating native SolidWorks end-to-end: text-to-part generation, reconstruction from three-view drawings, and assemblies whose motion is verified before completion. Workflow-CAD 智能体端到端操作原生 SolidWorks:从文本生成零件、从三视图重建零件,并在完成前验证装配体的运动。

Abstract摘要

Engineer-level actions for agentic CAD让智能体像工程师一样建模

Large Language Models (LLMs) are increasingly employed to automate CAD modeling, yet most agentic CAD systems either generate intermediate modeling code like CadQuery or emit low-level API calls one by one. The former struggles to generate complex CAD models in a single pass, whereas the latter creates excessively long-horizon tasks in which errors accumulate. To overcome these limitations, we present Workflow-CAD, a closed-loop agentic CAD modeling system whose action space consists of engineer-level workflows extracted from massive feature trees and assembly relations. We also introduce Workflow-CAD-Bench, a holistic agentic CAD modeling benchmark spanning text-to-part generation, CAD reconstruction from three-view drawings, and generation of complex, physically plausible and kinematically valid assemblies. Experiments show that Workflow-CAD outperforms existing agentic CAD modeling systems by a large margin. Especially on motion-aware assembly, Workflow-CAD improves pass@1 over CADDesigner by 22 percentage points. Beyond comparing agentic CAD modeling systems, Workflow-CAD-Bench also evaluates the underlying LLMs' ability to use tools and perform autonomous spatial modeling.

大语言模型(LLM)正越来越多地被用于自动化 CAD 建模,但现有的大多数智能体 CAD 系统要么生成 CadQuery 等中间建模代码,要么逐条调用底层 API。前者难以一次性生成复杂的 CAD 模型,后者则使任务变得极长,误差不断累积。 为克服这些局限,我们提出 Workflow-CAD——一个闭环的智能体 CAD 建模系统,其动作空间由从海量特征树与装配关系中提取出的 工程师级工作流构成。我们还提出了 Workflow-CAD-Bench,一个全面的智能体 CAD 建模基准,涵盖文本到零件生成、 基于三视图的 CAD 重建,以及复杂、物理合理且运动学有效的装配体生成。实验表明,Workflow-CAD 大幅领先现有的智能体 CAD 建模系统; 尤其在运动感知装配任务上,其 pass@1 比 CADDesigner 高出 22 个百分点。除了比较智能体 CAD 系统之外,Workflow-CAD-Bench 还可用于评估底层 LLM 的工具调用能力与自主空间建模能力。

Showcase案例展示

Complex mechanisms, built and moved inside SolidWorks 在 SolidWorks 中构建并驱动复杂机构

Multi-part machines modeled through the Workflow-CAD SolidWorks add-in: every component is a native part, every connection a native mate, and the finished mechanism is driven to check that it moves plausibly. 以下多零件机械均通过 Workflow-CAD 的 SolidWorks 插件建模:每个零部件都是原生零件,每个连接都是原生配合,完成后的机构会被驱动以检验其运动是否合理。

Beam Pumping Unit游梁式抽油机

Motor, belt sheaves, gear reducer, crank, pitman, walking beam and horsehead form one closed transmission chain, driven from the motor to the polished rod.电机、皮带轮、齿轮减速器、曲柄、连杆、游梁与驴头构成一条闭合传动链,由电机一路驱动至光杆。

Motion运动
360° view360° 环视
Agent build · 30×智能体构建 · 30×

SCARA Robot CellSCARA 机器人工作站

An articulated SCARA arm with its column, links and quill, assembled on a workbench and swept through its working poses.带立柱、大小臂与升降轴的 SCARA 机械臂,装配在工作台上,并遍历其工作姿态。

Motion · 1.5×运动 · 1.5×
360° view360° 环视
Agent build · 20×智能体构建 · 20×

Sewing Machine缝纫机

Handwheel, belt drive, needle bar and an under-table gear train: several coupled transmission chains in one assembly.手轮、皮带传动、针杆与台下齿轮系:多条相互耦合的传动链集成于同一装配体中。

Motion运动
360° view360° 环视
Sewing machine in SolidWorks with the Workflow-CAD add-in
Workflow-CAD add-inWorkflow-CAD 插件界面

Motivation研究动机

The action space matters动作空间决定上限

Reliable CAD construction is not only limited by model reasoning; it also depends on the actions the model reasons with. Existing interfaces either require long sequences of low-level actions or put a whole modeling procedure inside free-form code with few intermediate checks. 可靠的 CAD 建模不仅受限于模型的推理能力,也取决于模型用来推理的动作。现有接口要么需要冗长的底层动作序列,要么把整个建模过程塞进缺少中间检查的自由代码中。

Comparison of five action interfaces for LLM-driven CAD
Five action interfaces for LLM-driven CAD. GUI, COM and CadQuery summarize prior work; Atomic API is our controlled low-level baseline; Workflow is our engineer-level interface. LLM 驱动 CAD 的五类动作接口。GUI、COM 与 CadQuery 代表已有工作;Atomic API 是我们的受控底层基线;Workflow 是我们提出的工程师级接口。

GUI · Atomic API

One engineering step becomes many clicks or API calls. Horizons explode and errors accumulate.一个工程步骤被拆成大量点击或 API 调用,任务极长,误差累积。

CadQuery · COM

The whole procedure lives in free-form code, with only coarse kernel or interpreter errors as feedback. CadQuery also loses the native feature tree.整个建模过程写在自由代码里,只能得到粗粒度的内核或解释器报错;CadQuery 还会丢失原生特征树。

Workflow ours

A typed, reusable composition of modeler actions that expresses engineering intent: it resolves semantic references, validates inputs, verifies the geometric effect and rolls back on failure, all inside the native modeler.将建模器动作组合成类型化、可复用的工程意图表达:在原生建模器中完成语义引用解析、输入校验、几何效果验证,并在失败时自动回滚。

Method方法

From human feature trees to agent workflows从人类特征树到智能体工作流

Overview of Workflow-CAD
Overview of Workflow-CAD. Top: engineers operate CAD software, producing large collections of models with complete editing histories. Bottom: an agent uses workflows mined from these histories to construct CAD models the same way engineers do. Workflow-CAD 概览。上:工程师操作 CAD 软件,产生大量带有完整编辑历史的模型。下:智能体使用从这些历史中挖掘出的工作流,以与工程师相同的方式自动构建 CAD 模型。
Part workflows零件工作流
~8.5Kparts with full feature trees带完整特征树的零件
26callable workflows可调用工作流

Sources:数据来源: CAD-1K · Fusion 360 Gallery

  1. Group by intent. Merge feature variants with the same geometry and checks (e.g. blind / mid-plane / up-to-surface → one extrude).按意图归并。将几何与检查方式相同的特征变体合并(如给定深度 / 两侧对称 / 成形到面 → 同一个 extrude)。
  2. Factor sketches into a shared language of 8 typed profile primitives — what to draw, independent of which feature uses it.拆解草图为 8 种共享的类型化轮廓基元——将画什么与被哪个特征使用解耦。
  3. Keep the checkable. Retain a candidate only if it has a reusable schema, a pre-check, and a measurable success condition with rollback.只保留可验证的。仅当候选具备可复用的参数模式、执行前检查以及可度量的成功条件(含回滚)时才予以保留。
extrudecutrevolvesweeploftholefilletshellcircular_patternview_model+16

Profiles:轮廓基元: circle · rect · regular_polygon · slot · polygon · annular_sector · hull · path

Assembly workflows装配工作流
~97.8Kassemblies (mate graphs)装配体(配合关系图)
22callable workflows可调用工作流

Sources:数据来源: AutoMate · Fusion 360 Gallery Assembly

  1. Assemblies grow outward from one grounded main component.装配体从一个固定的主零部件向外生长。
  2. Joint semantics decide which geometry to select and which mates to create.关节语义决定选择哪些几何以及创建哪些配合。
  3. Kinematic loops are closed last, after the open connection tree.先建开放连接树,最后闭合运动学回路。
  4. Motion couplings (gears, screws) come after their supporting joints.运动耦合(齿轮、丝杠)在其支撑关节建立之后添加。
  5. Floating or over-constrained parts are common, so mobility checks are essential.浮动或过约束零件很常见,因此自由度检查必不可少。
jointrevolute_jointmesh_gearsclose_loopscrew_pairrack_pinioncheck_dofcheck_motioncheck_pose+13

Six workflow design principles六条工作流设计原则

01

Shared coordinate frame统一坐标系

Canonical (u, v) coordinates, mapped at runtime to the selected plane or face.规范的 (u, v) 坐标,运行时映射到所选基准面或模型面。

02

Intuitive feature directions直观的特征方向

World direction plus termination rule, mapped to native feature options.用世界方向与终止条件描述,运行时映射为原生特征选项。

03

Semantic references语义引用

Meaning- or geometry-based descriptions resolved to native entities.基于语义或几何的描述,自动解析为原生实体。

04

Typed profiles类型化轮廓

Shared 2D primitives with named dimensions, reusable by later features.带命名尺寸的共享二维基元,可被后续特征复用。

05

Pre-execution checks执行前检查

Region validation and repair hints, without modifying the current model.在不修改当前模型的前提下校验区域并给出修复提示。

06

Native visual inspection原生视觉检查

Labeled native views for appearance, occlusion and component placement.带标注的原生视图,用于检查外观、遮挡与零部件位置。

Closed-loop agent闭环智能体

1Select选择LLM picks a workflow from the latest observationLLM 根据最新观测选择工作流
2Resolve解析semantic references → native entities语义引用 → 原生实体
3Pre-check预检查validate profiles & inputs校验轮廓与输入
4Execute执行inside native SolidWorks在原生 SolidWorks 中执行
5Verify验证volume / extent / body count; DoF & motion体积 / 包络 / 实体数;自由度与运动
6Observe or roll back反馈或回滚return new state, or undo with a repair hint返回新状态,或回滚并给出修复提示

Part零件finish is refused unless exactly one solid body exists.仅当模型恰好包含一个实体时才允许 finish。

Assembly装配finish requires a saved assembly plus passing sampled motion, or a valid prescribed pose with the expected mobility.finish 要求装配体已保存,且通过采样运动检查,或在规定位姿下有效并具有预期自由度。

Benchmark基准

Workflow-CAD-Bench

200 tasks across three complementary tracks, from static geometry to functional mechanisms. Every score is computed deterministically from the delivered CAD model alone. 三个互补赛道共 200 个任务,从静态几何一直覆盖到功能性机构。所有分数仅依据最终交付的 CAD 模型确定性地计算。

Workflow-CAD-Bench task taxonomy
Task taxonomy across the three tracks.三个赛道的任务分类。
100

Text-to-part文本到零件

50 easy · 30 medium · 20 hard简单 50 · 中等 30 · 困难 20

Design briefs with target dimensions and functional details, from common sketch-and-feature parts to routed sweeps and loft transitions. Scored by weighted per-task geometric checks: topology, envelope, features & relations, material distribution and volume.包含目标尺寸与功能细节的设计说明,从常见的草图-特征零件到路径扫描与放样过渡。通过逐任务加权的几何检查评分:拓扑、包络、特征及其关系、材料分布与体积。

50

Three-view-to-part三视图到零件

349 drawing-grounded checks349 项基于图纸的检查

Third-angle engineering drawings with dimensions and callouts; all geometry must be inferred from the image. Plus a projection-similarity score comparing silhouette, near/far depth and material-thickness maps along three axes.带尺寸与标注的第三角投影工程图,所有几何须从图像中推断。另设投影相似度分数,在三个方向上比较轮廓、近/远深度与材料厚度图。

50

Motion-aware assembly运动感知装配

629 components · 1–4 DoF629 个零部件 · 1–4 自由度

Transmissions, closed-loop linkages and articulated robots. A structure check scores rigid groups, joints, mobility, grounding and couplings; a motion check drives 33 mechanisms through their input and poses the other 17, with gated scoring so jammed or drifting mechanisms cannot score high.涵盖传动机构、闭环连杆与多关节机器人。结构检查评估刚体分组、关节、自由度、固定与耦合;运动检查对 33 个机构驱动其输入、对另外 17 个机构施加规定位姿,并采用门控评分,卡死或漂移的机构无法获得高分。

Validated evaluators. All 200 references score 100; 206 text-to-part mutants, 133 three-view negative / rotated / mirrored controls and injected assembly faults are all caught as intended. Every case is reviewed by mechanical-domain experts.评测器经过验证。全部 200 个参考模型均得 100 分;206 个文本赛道几何变异体、133 个三视图负样本 / 旋转 / 镜像对照以及注入的装配故障均被如期识别。每个案例都经过机械领域专家审核。

Results实验结果

Best on every track, especially on long-horizon assembly全赛道领先,长程装配优势尤为显著

Assembly vs. CADDesigner装配赛道对比 CADDesigner

pass@10.28 → 0.50
Structure结构分50.6 → 91.1
Motion运动分36.3 → 68.3

Workflow vs. Atomic API工作流 vs. 原子 API

Overall pass@1整体 pass@10.21 → 0.78
Overall score整体得分41.2 → 95.1

Same backbone, budget and harness; only the action space changes.骨干模型、预算与框架完全相同,仅动作空间不同。

Overall vs. CADDesigner整体对比 CADDesigner

pass@10.69 → 0.78
Score得分84.3 → 95.1
Tokens / task单任务 token1250k → 792k

Comparison with agentic CAD systems与智能体 CAD 系统的对比

All systems use Qwen3.8-Flash-Next as the LLM backbone except IterCAD, which uses its own trained model. Tokens are the mean per task (lower is better); all other metrics are higher-is-better. “–” means the track is not supported. 除 IterCAD 使用自训练模型外,所有系统均以 Qwen3.8-Flash-Next 为 LLM 骨干。Tokens 为单任务平均消耗(越低越好),其余指标越高越好。“–”表示该系统不支持此赛道。

System系统 Text-to-part文本到零件 Three-view-to-part三视图到零件 Assembly装配 Overall整体
Pass@1Score得分FormTokens Pass@1Score得分ImageTokens Pass@1Score得分MotionTokens Pass@1Score得分Tokens
text-to-cad [1] 0.1629.30.3364.6k –––––––––––
Multi-Agent-CAD [2] 0.2142.60.5269.0k –––––––––––
IterCAD [3] 0.0622.90.229.1k 0.0417.913.618.7k –––––––
ComAct [4] 0.1233.40.53272.2k 0.1441.654.1285.0k –––––––
Atomic API 0.2340.20.4929.8k 0.3661.471.031.3k 0.0022.84.1139.9k 0.2141.257.7k
Human baseline人类基线 0.5678.51.00– 0.4476.278.8– 0.2270.243.2– 0.4575.9–
CADDesigner [5] 0.8596.50.96228.6k 0.7693.697.0170.6k 0.2850.636.34373.2k 0.6984.31250.3k
Workflow-CAD ours 0.8896.50.98170.1k 0.8496.497.6136.7k 0.5091.168.32691.0k 0.7895.1792.0k

best最佳 second best次佳

Workflow-CAD across LLM backbonesWorkflow-CAD 搭配不同 LLM 骨干

The system is held fixed and only the backbone changes. Most LLMs paired with Workflow-CAD exceed the human baseline (graduate students with professional mechanical-engineering training, two hours per task) by a large margin. 系统保持不变,仅更换骨干模型。大多数 LLM 搭配 Workflow-CAD 后都大幅超越人类基线(受过专业机械工程训练的研究生,每个任务限时两小时)。

Overall pass@1整体 pass@1
GPT-6-Astra0.97
GPT-5.6-Sol0.88
Claude-Opus-50.83
Gemini-3.1-Pro0.82
Qwen3.8-Flash-Next0.78
DeepSeek-v4-Pro0.67
GLM-5.30.65
Kimi-K30.52
Human baseline人类基线0.45
Qwen3.5-397B-A17B0.20
Show full backbone table展开完整骨干模型表格
Backbone骨干模型 Text-to-part文本到零件 Three-view-to-part三视图到零件 Assembly装配 Overall整体
Pass@1Score得分FormTokens Pass@1Score得分ImageTokens Pass@1Score得分MotionTokens Pass@1Score得分Tokens
GPT-6-Astra 0.9799.41.00248.3k 1.00100.0100.0122.5k 0.9499.595.71520.1k 0.9799.6534.8k
GPT-5.6-Sol 0.9498.10.99155.8k 0.8896.898.0146.7k 0.7497.283.71583.0k 0.8897.6510.3k
Claude-Opus-5 0.8594.80.97188.2k 0.9498.999.0172.3k 0.6896.478.62621.3k 0.8396.2792.5k
Gemini-3.1-Pro 0.8492.90.9588.8k 0.8293.397.184.8k 0.7898.483.11181.6k 0.8294.4361.0k
DeepSeek-v4-Pro 0.7793.90.98221.1k 0.7089.896.0139.9k 0.4476.956.51779.8k 0.6788.6590.5k
GLM-5.3 0.7591.90.97209.9k 0.6688.793.6160.4k 0.4488.361.22278.7k 0.6590.2714.7k
Kimi-K3 0.5069.20.79445.4k 0.6282.185.4289.0k 0.4689.958.82523.5k 0.5277.6925.8k
Human baseline人类基线 0.5678.51.00– 0.4476.278.8– 0.2270.243.2– 0.4575.9–
Qwen3.5-397B-A17B 0.2345.20.83215.7k 0.2041.078.0186.2k 0.1438.419.21578.0k 0.2042.5548.9k

Ablation of workflow components工作流组件消融

Leave-one-out on the 50 three-view-to-part tasks (Qwen3.8-Flash-Next). Each removed component maps to a design principle. 在 50 个三视图到零件任务上逐项移除(Qwen3.8-Flash-Next),每个被移除的组件对应一条设计原则。

Variant变体Pass@1Score得分ImageTokens
Workflow (full)完整工作流0.8496.497.6136.7k
− canonical (u, v) frames规范 (u, v) 坐标0.64 −0.2086.491.6410.6k
− semantic face references语义面引用0.70 −0.1491.095.1138.9k
− profile pre-checks轮廓预检查0.76 −0.0892.194.6128.4k
− post-check & rollback后检查与回滚0.80 −0.0492.194.4137.4k
− native visual inspection原生视觉检查0.80 −0.0491.794.7114.5k

Text2CAD test setText2CAD 测试集

200 cases from Text2CAD / DeepCAD with abstract-level prompts. A prompt-agnostic unit cube calibrates the metrics; “> Cube” counts cases whose IoU beats it. 来自 Text2CAD / DeepCAD 的 200 个案例,使用抽象级描述作为提示。以与提示无关的单位立方体作为指标校准;“> Cube”为 IoU 超过该基线的案例数。

System系统Succ.↑IoU↑CD×10³↓HD↓> Cube↑
Cube baseline立方体基线100%0.127157.60.512–
Multi-Agent-CAD58.5%0.11944.30.30879
text-to-cad90.0%0.17244.10.316132
Atomic API94.5%0.17347.60.327142
CADDesigner100%0.18543.10.318154
Workflow-CAD100%0.18644.20.320156

Citation引用

BibTeX

If you use Workflow-CAD or Workflow-CAD-Bench, please cite: 如果使用了 Workflow-CAD 或 Workflow-CAD-Bench,请引用:

@article{fan2026workflowcad,
  title={Mining and Simulating Engineer Workflows for Agentic CAD Modeling},
  author={Fan, Sunqi and Yin, Runqi and Chen, Lingshan and Liu, Zhiguang and Rao, Yongming and Xu, Qunce and Hu, Shi-Min},
  journal={arXiv preprint arXiv:2611.38444},
  year={2026}
}