Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (11): 3708-3719.DOI: 10.11772/j.issn.1001-9081.2025101306

• Frontier and comprehensive applications • Previous Articles    

3D model generation method of industrial manufacturing based on Gaussian fault-tolerant loss

Yantao GAN1,2, Yimo GUO1, Yang LI2, Mingyuan WAN2, Jiancheng SHI2, Feixu ZHANG1, Jiancheng LYU1(), Xianggen LIU1()   

  1. 1.College of Computer Science,Sichuan University,Chengdu Sichuan 610065,China
    2.CETC Southwest Institute of Electronic Equipment,Chengdu Sichuan 610036,China
  • Received:2025-11-11 Revised:2026-01-09 Accepted:2026-01-13 Online:2026-03-09 Published:2026-11-10
  • Contact: Jiancheng LYU, Xianggen LIU
  • About author:GAN Yantao, born in 1990, Ph. D., senior engineer. Her research interests include intelligent manufacturing.
    GUO Yimo, born in 2003, M. S. candidate. His research interests include natural language processing, artificial intelligence.
    LI Yang, born in 1994, M. S., engineer. His research interests include intelligent manufacturing.
    WAN Mingyuan, born in 1998, M. S., assistant engineer. His research interests include intelligent manufacturing.
    SHI Jiancheng, born in 1988, Ph. D., senior engineer. His research interests include intelligent manufacturing.
    ZHANG Feixu, born in 1986, M. S. His research interests include computer science and technology.
  • Supported by:
    Sichuan Provincial Natural Science Foundation(2024NSFTD0048);Major Science and Technology Project of Sichuan Province(2024ZDZX0003)

基于高斯容错损失的工业制造三维模型生成方法

干艳桃1,2, 郭一墨1, 李阳2, 万明远2, 史建成2, 张飞絮1, 吕建成1(), 刘祥根1()   

  1. 1.四川大学 计算机学院,成都 610065
    2.西南电子设备研究所,成都 610036
  • 通讯作者: 吕建成,刘祥根
  • 作者简介:干艳桃(1990—),女,四川达州人,高级工程师,博士,主要研究方向:智能制造
    郭一墨(2003—),男,四川资阳人,硕士研究生,主要研究方向:自然语言处理、人工智能
    李阳(1994—),男,四川成都人,工程师,硕士,主要研究方向:智能制造
    万明远(1998—),男,江西南昌人,助理工程师,硕士,主要研究方向:智能制造
    史建成(1988—),男,河南郑州人,高级工程师,博士,主要研究方向:智能制造
    张飞絮(1986—),男,四川巴中人,硕士,主要研究方向:智能制造
    第一联系人:共同第一作者。
  • 基金资助:
    四川省自然科学基金资助项目(2024NSFTD0048);四川省科技重大专项(2024ZDZX0003)

Abstract:

In intelligent Computer-Aided Design (CAD), a key challenge is to enable 3D model automatic generation systems to simultaneously satisfy precise geometric constraints and tolerate reasonable manufacturing errors. The cross-entropy loss functions, commonly used in traditional methods, tend to over-penalize minor parameter deviations and fail to incorporate attribute constraints such as area or volume, often resulting in generated output that deviates from engineering realities. To address these issues, a CAD command generation method based on a Gaussian-tolerant cross-entropy loss function, GTCG-Transformer (Gaussian Tolerant CAD Generation Transformer), was proposed. The core works of this method include: 1) designing a Gaussian fault-tolerant cross-entropy loss function and introducing Gaussian weights to smooth the neighborhood around the target value, enabling the GTCG-Transformer model to distinguish “serious errors” from “acceptable deviations”, thereby significantly enhancing fault tolerance for continuous parameter prediction. 2) constructing a Transformer generation architecture with embedded geometric constraints, in which geometric attributes such as area and volume were encoded as conditional inputs to drive the decoder to generate CAD command sequences that comply with preset constraints, thereby enabling constraint-aware end-to-end automated design. Experimental results on the filtered DeepCAD (Deep CAD generation network) dataset indicate that GTCG-Transformer comprehensively outperforms mainstream baselines in predicting geometric attributes such as area and volume. Specifically, in scenarios under dual constraints of area and volume, compared with a relatively advanced CAD-LM (CAD-Language Model) method, the proposed method achieves better performance in Mean Squared Error (MSE), Mean Absolute Error (MAE), and Pearson Correlation Coefficient (PCC), with the area MSE reduced to 1.262 and the volume MSE reduced to 0.018. The proposed method introduces controllable constraints and robust fault tolerance for the automatic generation of CAD, demonstrating clear application value in fields requiring high-precision geometric compliance, such as intelligent manufacturing and parametric design.

Key words: 3D Computer-Aided Design (CAD) modeling, Transformer, command generation, geometric constraint, automated design, Gaussian fault-tolerant cross-entropy

摘要:

在智能化计算机辅助设计(CAD)中,关键挑战是使三维模型自动生成系统兼顾精确几何约束与制造误差容错。传统方法常用的交叉熵损失函数对参数微小偏差惩罚过度,且难以有效融入面积、体积等属性约束,导致生成结果通常不符合工程实际需求。针对上述问题,本文提出一种基于高斯容错交叉熵损失函数的CAD命令生成方法——GTCG-Transformer(Gaussian Tolerant CAD Generation Transformer)。该方法的核心工作包括:1)设计高斯容错交叉熵损失函数,引入高斯权重对目标值邻域进行平滑,使GTCG-Transformer模型能区分“严重错误”与“可接受偏差”,显著提升对连续参数预测的容错性;2)构建几何约束嵌入的Transformer生成架构,将面积、体积等几何属性作为条件输入编码器,驱动解码器生成符合预设约束的CAD命令序列,实现约束感知的端到端自动化设计。在经过筛选的DeepCAD(Deep CAD generation network)数据集上的实验结果表明,GTCG-Transformer在面积、体积等几何属性的预测上全面优于主流基线模型。特别是在面积与体积双重约束的场景中,与当前较为先进的CAD-LM(CAD-Language Model)方法相比,本文方法在均方误差(MSE)、平均绝对误差(MAE)与皮尔逊相关系数(PCC)上均取得了更优性能,其中面积MSE降低至1.262,体积MSE降低至0.018。本文为CAD自动生成提供了一种约束可控且容错鲁棒的新方法,在需要高精度几何遵从的智能制造与参数化设计领域具有明确的应用价值。

关键词: 三维计算机辅助设计建模, Transformer, 命令生成, 几何约束, 自动化设计, 高斯容错交叉熵

CLC Number: