cs.LGSep 30, 2026

CNCGEN: A Dataset and Framework for Machining Process Planning and Toolpath Generation from B-rep Models

Authors: Xiaolei Zhou, Boyi Lin, Yuchao Feng, Jianwei Zheng

Abstract

Learning to generate machining process plans and toolpaths from B-rep CAD requires coupling discrete operation decisions with continuous tool motion as the workpiece evolves. Correctly predicting an operation sequence does not by itself ensure correct material removal, because each toolpath acts on the stock left by preceding cuts. We formulate this problem around persistent manufacturing objects: object identity determines the target of an operation, while the evolving stock state conditions the generation of its toolpath. Based on this formulation, we propose CNCGEN, a dataset and learning framework for three-axis machining. CNCGEN-Dataset contains approximately 50k geometrically verified synthetic machining flows and 800 held-out real CNC records. Each flow aligns B-rep geometry with object-referenced operations, parameterized toolpaths, intermediate stock states, and verification outcomes, enabling supervision of the correspondence between planning decisions and their geometric effects. CNCGEN generates operations and toolpaths for selected objects step by step, updating a compact machining state to guide subsequent predictions. During training, a learned surrogate verifier provides material-removal feedback that links local predictions to their geometric consequences. Experiments on synthetic and held-out real CNC records show that CNCGEN improves the resulting workpiece geometry and reduces residual material and overcut compared with adapted CNC generation baselines.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. BenchCAD: A Comprehensive, Industry-Standard Benchmark for Programmatic CAD

    May 11, 2026Haozhe Zhang, Kaichen Liu, Miaomiao Chen +4Parametric Computer-Aided Design ProgramsImage-To-Code Generation

  2. CADENA: Stepwise CAD Reverse Engineering

    Aug 1, 2026Soslan Kabisov, Gennadiy Savrasov, Maksim Elistratov +9Parametric Computer-Aided Design Programs3D Models

  3. ArtisanCAD: An Industrial-Level CAD Agent with Expert-Grounded Knowledge Distillation

    Jul 7, 2026Yunhan Xu, Qifeng Wu, Xunjin Li +10Image-To-Cad GenerationProcedural