[go: up one dir, main page]

CN116484525A - Feature mapping-based reverse generation method and system for process model - Google Patents

Feature mapping-based reverse generation method and system for process model Download PDF

Info

Publication number
CN116484525A
CN116484525A CN202310415288.8A CN202310415288A CN116484525A CN 116484525 A CN116484525 A CN 116484525A CN 202310415288 A CN202310415288 A CN 202310415288A CN 116484525 A CN116484525 A CN 116484525A
Authority
CN
China
Prior art keywords
feature
features
design
model
process model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310415288.8A
Other languages
Chinese (zh)
Inventor
周红桥
王梅
张祥祥
徐晨
胡子翔
陈奇海
杨义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 38 Research Institute
Original Assignee
CETC 38 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 38 Research Institute filed Critical CETC 38 Research Institute
Priority to CN202310415288.8A priority Critical patent/CN116484525A/en
Publication of CN116484525A publication Critical patent/CN116484525A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明公开一种基于特征映射的工序模型逆向生成方法及系统,包括以下步骤:S1:构建特征映射库;S2:提取零件表面拓扑特征;S3:基于特征映射库的设计特征向加工特征转换;S4:生成三维工序模型,本发明基于几何特征的方法可以应用于各种类型的零件,并且可以识别出更多种类的几何特征;可以更准确地计算零件的几何特征,避免了基于规则方法中可能出现的误差累积问题;可以自动化识别零件的几何特征,不需要手动设置规则,从而提高了识别的效率;可以很容易地添加新的几何特征识别方法,从而扩展算法的功能和适用范围。

The invention discloses a process model reverse generation method and system based on feature mapping, comprising the following steps: S1: building a feature mapping library; S2: extracting topological features of the surface of parts; S3: converting design features based on the feature mapping library to processing features; S4: generating a three-dimensional process model. The geometric feature-based method of the present invention can be applied to various types of parts, and more types of geometric features can be identified; the geometric features of the parts can be calculated more accurately, avoiding the error accumulation problem that may occur in the rule-based method; The efficiency of recognition is improved; new geometric feature recognition methods can be easily added, thereby expanding the function and scope of application of the algorithm.

Description

一种基于特征映射的工序模型逆向生成方法及系统Method and system for reverse generation of process model based on feature mapping

技术领域technical field

本发明涉及计算机辅助工艺设计技术领域,具体涉及一种基于特征映射的工序模型逆向生成方法及系统。The invention relates to the technical field of computer-aided process design, in particular to a method and system for reverse generation of a process model based on feature mapping.

背景技术Background technique

制造业一直是推动国家进步的核心动力,也是我国推进现代化生产所需要重点突破的领域。伴随着计算机和自动控制技术的不断进步,我国制造业的总体加工效率和加工质量得到很大程度的提高,当然在产品设计制造整个周期中的多个环节还需要坚持创新发展。The manufacturing industry has always been the core driving force for the country's progress, and it is also an area where my country needs to make key breakthroughs in promoting modern production. With the continuous advancement of computer and automatic control technology, the overall processing efficiency and processing quality of my country's manufacturing industry have been greatly improved. Of course, innovation and development must be persisted in multiple links in the entire cycle of product design and manufacturing.

随着科学技术的快速发展,制造业开始向着柔性化、集成化方向发展。计算机辅助工艺设计(Computer Aided Process Planning,CAPP)是实现产品设计制造集成的核心技术,三维CAPP更是未来制造业发展的方向。由三维技术定义的零件模型文件具有模型信息完整、模型可视及模型参数信息完整等优点,利用三维CAPP能确保工艺规划的科学性并能高质高效的完成规划,能实现产品设计和制造的集成。三维工序模型生成技术则是实现三维CAPP的关键技术,当前生成三维工序模型的方式更多的是工艺设计人员理解已完成的零件设计实体模型后,再人机交互建模完成的。如此构建三维工序模型的很大程度地增加了工艺规划员工的工作量同时也会影响工艺规划的质量,并且由于设计人员与工艺人员对零件模型的理解不一样,导致设计与加工存在一定程度脱节。With the rapid development of science and technology, the manufacturing industry has begun to develop in the direction of flexibility and integration. Computer Aided Process Planning (CAPP) is the core technology to realize the integration of product design and manufacturing, and 3D CAPP is the direction of future manufacturing development. The part model file defined by 3D technology has the advantages of complete model information, model visualization and model parameter information. The use of 3D CAPP can ensure the scientific nature of process planning and complete the planning with high quality and efficiency, and realize the integration of product design and manufacturing. The 3D process model generation technology is the key technology to realize 3D CAPP. The current method of generating 3D process model is mostly completed by process designers after they understand the completed part design entity model, and then complete the human-computer interaction modeling. The construction of the 3D process model in this way greatly increases the workload of the process planning staff and also affects the quality of the process planning, and because the designer and the craftsman have different understandings of the part model, there is a certain degree of disconnection between design and processing.

面向加工制造的三维工序模型的构建是完成三维CAPP的关键。三维工序模型作为制造环节的信息依据,实现产品设计制造过程的数据更加连贯,提高加工效率和质量。三维工序模型是用三维实体的形式来表达零件当前工序相关加工方法、加工参数等各种工艺信息。三维工序模型的生成是借助于计算机实现零件表面特征识别,是CAPP系统重要的一环。The construction of 3D process model oriented to manufacturing is the key to complete 3D CAPP. The 3D process model is used as the information basis of the manufacturing process to achieve more coherent data in the product design and manufacturing process and improve processing efficiency and quality. The three-dimensional process model is to express various process information such as the processing method and processing parameters related to the current process of the part in the form of a three-dimensional entity. The generation of the three-dimensional process model is to realize the part surface feature recognition with the help of the computer, which is an important part of the CAPP system.

目前的工序模型生成方法,对于各个工序模型之间的关联性缺少论述,没有发挥三维工序模型传递制造信息的功能没有完成开发,不能作为产品整个生产周期的信息依据,影响三维工艺设计的效率。现在三维工艺设计正朝着集成化、智能化方向发展,需要制定丰富的特征专家数据库,以实现三维工艺的飞速发展。The current process model generation method lacks discussion on the correlation between each process model, and the function of the 3D process model to transmit manufacturing information has not been fully developed. It cannot be used as the information basis for the entire production cycle of the product, which affects the efficiency of 3D process design. Now that 3D process design is developing towards integration and intelligence, it is necessary to develop a rich feature expert database to realize the rapid development of 3D process.

鉴于上述缺陷,本发明创作者经过长时间的研究和实践终于获得了本发明。In view of the above-mentioned defects, the creator of the present invention has finally obtained the present invention through long-term research and practice.

发明内容Contents of the invention

为解决上述技术缺陷,本发明的目的在于提供一种基于特征映射的工序模型逆向生成方法及系统。In order to solve the above-mentioned technical defects, the object of the present invention is to provide a method and system for reverse generation of process model based on feature mapping.

一种基于特征映射的工序模型逆向生成方法,包括以下步骤:A process model reverse generation method based on feature mapping, comprising the following steps:

S1:构建特征映射库S1: Build a feature map library

根据需求将多个基本特征组合形成自定义特征体,将自定义特征体以属性邻接图的形式存入映射特征库;According to the requirements, multiple basic features are combined to form a custom feature body, and the custom feature body is stored in the mapping feature library in the form of an attribute adjacency graph;

S2:提取零件表面拓扑特征S2: Extract topological features of part surface

遍历设计模型特征树及其属性邻接关系获取零件表面信息并生成属性邻接图;Traverse the design model feature tree and its attribute adjacency relationship to obtain part surface information and generate an attribute adjacency graph;

S3:基于特征映射库的设计特征向加工特征转换S3: Conversion of design features to processing features based on feature mapping library

将零件表面提取得到的特征信息属性邻接图与特征映射库的属性邻接图进行比对,通过特征映射找出设计特征和加工特征的内在关联,从而获取到加工特征,并关联工艺参数信息;Compare the feature information attribute adjacency graph extracted from the surface of the part with the attribute adjacency graph of the feature mapping library, and find out the internal relationship between the design feature and the processing feature through the feature map, so as to obtain the processing feature and correlate the process parameter information;

S4:生成三维工序模型S4: Generate 3D process model

在工艺参数信息的导向下,通过特征抑制将零件设计模型反向恢复为零件毛坯模型并生成各个三维工序模型,通过抑制后一道三维工序相关特征实现当前的三维工序模型的创建,从而获取完整的三维工序模型。Under the guidance of process parameter information, the part design model is reversely restored to the part blank model through feature suppression and each 3D process model is generated. The current 3D process model is created by suppressing the relevant features of the next 3D process, so as to obtain a complete 3D process model.

进一步的,步骤S1具体包括以下内容:Further, step S1 specifically includes the following content:

输入加工制造特征,采用自定义特征模块依据用户的需求,将多个基本特征整合为一个特征体,得到多种形式的自定义特征,将自定义特征以属性邻接图的方式存入特征映射库。Input the processing and manufacturing features, use the custom feature module to integrate multiple basic features into a feature body according to the needs of users, obtain various forms of custom features, and store the custom features in the feature map library in the form of attribute adjacency graphs.

进一步的,步骤S2中的零件表面信息包括面、环、边的拓扑信息,按照分类规则对面、环、边的拓扑信息进行分类。Further, the part surface information in step S2 includes topological information of faces, rings, and edges, and the topological information of faces, rings, and edges is classified according to classification rules.

进一步的,所述面、环和边的拓扑信息的分类规则如下:Further, the classification rules of the topological information of the faces, rings and edges are as follows:

面分类:从表面积最大的面开始搜索,针对相邻面的共有边上的连续性和邻接特点,采用广度优先算法进行搜索,先将面分成薄板面和修剪面,然后将薄板面按照面周围的邻接特点进一步划分为腹板面、折弯面、内环面、墙面、滞留面和内、外侧面;Surface classification: start searching from the surface with the largest surface area, and use the breadth-first algorithm to search for the continuity and adjacency characteristics of the shared edges of adjacent surfaces. First, the surface is divided into thin plate surfaces and trimmed surfaces, and then the thin plate surface is further divided into web surfaces, bending surfaces, inner ring surfaces, wall surfaces, stagnant surfaces, and inner and outer surfaces according to the adjacency characteristics around the surfaces;

环分类:根据包含环的面的类型、含有的边类型并结合广度优先搜索算法将环划分为外环、筋状环、浅成型环、内环和孔状环;Ring classification: according to the type of surface containing the ring, the type of edge it contains, and combined with the breadth-first search algorithm, the ring is divided into outer ring, rib ring, shallow forming ring, inner ring and hole ring;

边分类:根据共有该条边的两个面的类型以及其本身的几何类型,将边划分为修剪直线边、修剪非直线边、非修剪直线边和非修剪非直线边。Edge Classification: According to the type of the two faces sharing the edge and its own geometry type, the edge is divided into trimmed straight edge, trimmed non-straight edge, non-trimmed straight edge and non-trimmed non-straight edge.

进一步的,步骤S3中确定设计特征和加工特征的内在关联包括以下两种情况:Further, in step S3, it is determined that the internal correlation between the design feature and the processing feature includes the following two situations:

对于单独存在的设计特征,即没有和其他特征交互的设计特征,加工特征与该设计特征保持一致;For a design feature that exists alone, that is, a design feature that does not interact with other features, the processing feature is consistent with the design feature;

对于两个或者两个以上的设计特征,若它们之间存在某种联系,即制造过程互相牵连,则将这几个设计特征整合为一种加工特征。For two or more design features, if there is a certain connection between them, that is, the manufacturing process is involved with each other, these design features are integrated into a processing feature.

进一步的,步骤S3中将设计特征转化为加工特征,具体包括以下内容:Further, in step S3, the design features are transformed into processing features, specifically including the following:

首先在设计模型特征树中体现某个设计特征的种类,预先定义建模中设计模型特征创建的顺序以及设计模型特征表面的拓扑形状信息;Firstly, the type of a certain design feature is reflected in the design model feature tree, and the sequence of creating the design model feature in the modeling and the topological shape information of the design model feature surface are pre-defined;

然后根据特征表面的拓扑形状信息进行组织及定义然后循环访问设计特征,判断设计特征的种类和设计特征间的关联信息,进一步生成零件区域特征的属性邻接图;Then organize and define according to the topological shape information of the feature surface, then iteratively visit the design features, judge the type of design features and the correlation information between design features, and further generate the attribute adjacency graph of the part area features;

最后将特征映射库通过匹配特征的方法获取加工特征,进而从输出结果中提取到加工特征。Finally, the feature mapping library obtains the processing features by matching features, and then extracts the processing features from the output results.

进一步的,步骤S3中的特征映射具体包括以下内容:Further, the feature map in step S3 specifically includes the following:

循环访问设计模型特征树,获取设计特征并对设计特征的种类进行判断;Recursively access the design model feature tree, obtain design features and judge the type of design features;

处理设计模型特征表面的几何信息,生成零件区域特征的属性邻接图;Process the geometric information of the feature surface of the design model, and generate the attribute adjacency graph of the feature of the part area;

将属性邻接图与映射特征库中的子特征进行比对;Compare the attribute adjacency graph with the sub-features in the mapped feature library;

若比对成功则将对应的属性邻接图中的设计特征识别转化为加工特征;If the comparison is successful, the design feature recognition in the corresponding attribute adjacency graph is converted into a processing feature;

判断特征遍历是否完成,完成则输出结果,获取该工序的工艺模型,若未完成,则继续访问设计模型特征树。Judging whether the feature traversal is completed, output the result when it is completed, and obtain the process model of the process, if it is not completed, continue to visit the feature tree of the design model.

进一步的,步骤S4中三维工序模型的建模过程的表达式为:Further, the expression of the modeling process of the three-dimensional process model in step S4 is:

其中,DesignModel表示零件设计模型,WorkBlank表示零件毛坯,Fij表示零件的第i道加工工艺工序去除的第j个设计特征,n为工序总数,mi为第i道加工工序需要去除的总的特征数。Among them, DesignModel represents the part design model, WorkBlank represents the part blank, F ij represents the jth design feature removed in the i-th processing process of the part, n is the total number of processes, and m i is the total number of features that need to be removed in the i-th processing process.

进一步的,步骤S4中特征抑制时相邻的两个三维工序模型之间的关系为:Further, the relationship between two adjacent three-dimensional process models during feature suppression in step S4 is:

其中,Mi表示零件中间的三维工序模型,三维工序模型Mi加上第i-1道工序加工去除的特征即为Mi-1,对Mi这部分特征进行抑制即可获得第i-1道工序对应的模型Mi-1Among them, M i represents the three-dimensional process model in the middle of the part. The three-dimensional process model M i plus the features removed by the i-1th process is M i-1 . The model M i- 1 corresponding to the i-1th process can be obtained by suppressing the features of M i .

一种采用上述的基于特征映射的工序模型逆向生成方法的系统,包括:A system adopting the above-mentioned reverse generation method of a process model based on a feature map, comprising:

特征映射库构建模块:用于根据需求将多个基本特征组合形成自定义特征体,将自定义特征体以属性邻接图的形式存入映射特征库;Feature mapping library building block: used to combine multiple basic features to form a custom feature body according to requirements, and store the custom feature body in the mapping feature library in the form of an attribute adjacency graph;

零件表面拓扑特征提取模块:用于遍历设计模型特征树及其属性邻接关系获取零件表面信息并生成属性邻接图;Part surface topological feature extraction module: used to traverse the design model feature tree and its attribute adjacency relationship to obtain part surface information and generate attribute adjacency graph;

加工特征获取模块:用于将零件表面提取得到的特征信息属性邻接图与特征映射库的属性邻接图进行比对,通过特征映射找出设计特征和加工特征的内在关联,从而获取到加工特征,并关联工艺参数信息;Processing feature acquisition module: it is used to compare the feature information attribute adjacency graph extracted from the surface of the part with the attribute adjacency graph of the feature mapping library, and find out the internal relationship between design features and processing features through feature mapping, so as to obtain processing features and correlate process parameter information;

三维工序模型生成模块:用于在工艺参数信息的导向下,通过特征抑制将零件设计模型反向恢复为零件毛坯模型并生成各个三维工序模型,通过抑制后一道三维工序相关特征实现当前的三维工序模型的创建,从而获取完整的三维工序模型。3D process model generation module: under the guidance of process parameter information, the part design model is reversely restored to the part blank model through feature suppression and each 3D process model is generated, and the current 3D process model is created by suppressing the relevant features of the next 3D process, so as to obtain a complete 3D process model.

与现有技术比较本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:

1、可适用性广:现有技术中基于规则的方法需要先设定规则,而这些规则通常只适用于特定类型的零件或特定几何特征,无法适应复杂多样的情况,而本发明基于几何特征的方法可以应用于各种类型的零件,并且可以识别出更多种类的几何特征;1. Wide applicability: The rule-based method in the prior art needs to set rules first, and these rules are usually only applicable to specific types of parts or specific geometric features, and cannot adapt to complex and diverse situations, while the method based on geometric features of the present invention can be applied to various types of parts, and can identify more types of geometric features;

2、精度高:基于几何特征的方法可以更准确地计算零件的几何特征,避免了基于规则方法中可能出现的误差累积问题;2. High precision: The method based on geometric features can calculate the geometric features of parts more accurately, avoiding the error accumulation problem that may occur in rule-based methods;

3、可自动化程度高:基于几何特征的方法可以自动化识别零件的几何特征,不需要手动设置规则,从而提高了识别的效率;3. High degree of automation: The method based on geometric features can automatically identify the geometric features of parts without manual setting of rules, thus improving the efficiency of recognition;

4、可扩展性好:基于几何特征的方法可以很容易地添加新的几何特征识别方法,从而扩展算法的功能和适用范围。4. Good scalability: The method based on geometric features can easily add new geometric feature recognition methods, thereby expanding the function and scope of application of the algorithm.

附图说明Description of drawings

图1为本发明工序模型自动生成流程示意图;Fig. 1 is a schematic diagram of the automatic generation flow chart of the process model of the present invention;

图2为本发明环的分类流程示意图;Fig. 2 is a schematic diagram of the classification process of the rings of the present invention;

图3为本发明设计特征与加工特征间的内在映射联系示意图;Fig. 3 is a schematic diagram of the internal mapping relationship between the design feature and the processing feature of the present invention;

图4为本发明的特征映射流程图;Fig. 4 is a feature mapping flowchart of the present invention;

图5为本发明加工特征映射库添加构建流程图;Fig. 5 is a flow chart of adding and constructing the processing feature map library of the present invention;

图6为本发明工序模型生成流程图;Fig. 6 is the flow chart of process model generation of the present invention;

图7为本发明顶盖体参数化设计示意图。Fig. 7 is a schematic diagram of the parametric design of the roof body of the present invention.

具体实施方式Detailed ways

以下结合附图,对本发明上述的和另外的技术特征和优点作更详细的说明。The above and other technical features and advantages of the present invention will be described in more detail below in conjunction with the accompanying drawings.

现有技术中公开了基于规则的方法进行特征识别,识别研究的特征种类不够广泛,特征参数和特征间关系的输出方式比较原始,仅仅局限于与简单变形有关的特征,对于可能出现的复杂特征无法适应。本发明是基于几何特征进行特征识别,即将零件特征之间的拓扑关系抽象成节点和边的形式,构成属性邻接图。每个节点代表一个零件特征,每条边代表零件特征之间的拓扑关系。相比基于规则的方法,基于几何特征的方法具有可适用性更广、精度更高、可自动化程度更高、可扩展性更好的优点,并且本发明提出了工序模型逆向生成方法是基于特征映射实现的,即从零件表面提取的特征信息进行识别,与特征映射库存储的子特征联接的属性邻接图进行比对,将识别的设计特征转化为加工特征,并提供了加工特征映射库的构建方法,进而通过特征映射,获得加工特征,然后通过加工特征抑制将零件设计模型反向恢复为零件毛坯模型并生成各个三维工序模型,从而获取完整的三维工序模型。In the prior art, a rule-based method is disclosed for feature recognition, but the types of features for recognition research are not wide enough, and the output mode of feature parameters and the relationship between features is relatively primitive, limited to features related to simple deformation, and cannot adapt to complex features that may appear. The present invention performs feature recognition based on geometric features, that is, abstracts the topological relationship between part features into the form of nodes and edges to form an attribute adjacency graph. Each node represents a part feature, and each edge represents the topological relationship between part features. Compared with the rule-based method, the geometric feature-based method has the advantages of wider applicability, higher precision, higher degree of automation, and better scalability, and the invention proposes that the process model reverse generation method is realized based on feature mapping, that is, the feature information extracted from the part surface is identified, compared with the attribute adjacency graph of the sub-feature connection stored in the feature map library, the identified design features are converted into processing features, and a construction method of the processing feature map library is provided, and then the processing features are obtained through feature mapping, and then the part design model is reversely restored through processing feature suppression Model the blank of the part and generate each 3D process model to obtain a complete 3D process model.

实施例1Example 1

本实施例中,一种基于特征映射的工序模型逆向生成方法,包括以下步骤:In this embodiment, a process model reverse generation method based on feature mapping includes the following steps:

S1:构建加工特征映射库S1: Build a machining feature mapping library

本方法在UGNX软件用户自定义特征模块的基础上搭建映射特征库,用户自定义特征可按照用户要求定制特征,本方法系统是在UGNX平台上二次开发的插件。用户自定义特征模块的设计原理是依据操作用户的需求,将多个基本特征整合为一个特征体,这样就可以自定义出很多形式的特征,并且以属性邻接图的方式存入映射特征库。可以针对待处理的零件类型常见的特征定义特征体。This method builds a mapping feature library on the basis of the user-defined feature module of UGNX software. User-defined features can be customized according to user requirements. This method system is a plug-in for secondary development on the UGNX platform. The design principle of the user-defined feature module is to integrate multiple basic features into a feature body according to the needs of operating users, so that many forms of features can be customized and stored in the mapping feature library in the form of an attribute adjacency graph. Feature bodies can be defined for features common to the type of part being processed.

如图5所示,输入加工特征,利用自定义模块建模构建特征体,通过加工特征管理库工具生成属性邻接图,存入映射特征库。As shown in Figure 5, the processing feature is input, the feature body is constructed by using the custom module, and the attribute adjacency graph is generated through the tool of the processing feature management library, and stored in the mapping feature library.

S2:提取零件表面拓扑特征并构建属性邻接图S2: Extract topological features of part surface and construct attribute adjacency graph

三维工序模型的自动生成是以三维设计模型为唯一的信息依据,需要获取设计模型表面信息,本方法基于UGNX平台,所以只需遍历设计模型特征树及其属性邻接关系可获取零件表面信息,进而生成该零件的属性邻接图。The automatic generation of the 3D process model is based on the 3D design model as the only information basis, and the surface information of the design model needs to be obtained. This method is based on the UGNX platform, so it is only necessary to traverse the design model feature tree and its attribute adjacency relationship to obtain the part surface information, and then generate the attribute adjacency graph of the part.

面、环、边是零件几何形状的基本元素,它们之间的关系和特征直接影响零件的属性和设计过程。通过对这些元素进行分类和分析,可以更好地了解零件的几何特征、约束条件以及它们与其他属性之间的相互关系。这有助于构建更准确、更具针对性的属性邻接图。面、环和边等拓扑信息的重新分类是构建更准确、更有针对性的属性邻接图的关键,其原因是在模型经修剪和变形等操作形成设计特征的过程中,会产生不同性质的面、环和边,与特征紧密联系。Surfaces, rings, and edges are the basic elements of part geometry, and the relationship and features between them directly affect the properties and design process of parts. By classifying and analyzing these elements, it is possible to better understand the geometry of the part, its constraints, and their interrelationships with other attributes. This helps to build more accurate and targeted attribute adjacency graphs. The reclassification of topological information such as faces, rings, and edges is the key to constructing more accurate and targeted attribute adjacency graphs. The reason is that in the process of forming design features through operations such as pruning and deformation of the model, faces, rings, and edges with different properties will be generated, which are closely related to the features.

下面是面、环和边的分类规则:The following are the classification rules for faces, rings and edges:

1、面分类1. Noodle classification

从表面积最大的面开始搜索,对面进行分类。对于相邻面,根据其共有边上的连续性和邻接特点,采用广度优先算法进行搜索,按以下顺序和规则进行面的分类,为后续的特征识别提供信息。Classify the faces starting from the face with the largest surface area. For adjacent faces, according to the continuity and adjacency characteristics of their common edges, the breadth-first algorithm is used to search, and the faces are classified according to the following order and rules to provide information for subsequent feature recognition.

(1)薄板面和修剪面的划分(1) Division of thin plate surface and trimmed surface

未经修剪的模型的正反面均为薄板面(sheet_face,记为fsheet);修剪面(trim_face,记为ftrim)则是通过修剪操作生成的表面。相邻薄板面之间是G1连续的,而薄板面与修剪面之间不是G1连续的。The front and back of the untrimmed model are thin sheet surfaces (sheet_face, denoted as fsheet); the trimmed surface (trim_face, denoted as f trim ) is the surface generated by the trimming operation. Adjacent sheet faces are G1 continuous, but not G1 continuous between sheet faces and trimmed faces.

(2)薄板面细分(2) Thin plate subdivision

在此步骤中,需要将薄板面按照面周围的邻接特点详细划为以下几种类型:In this step, the surface of the thin plate needs to be divided into the following types in detail according to the adjacency characteristics around the surface:

腹板面:表面积最大的薄板面;Web face: the thin plate face with the largest surface area;

折弯面:与腹板面外环相邻的薄板面;Bending face: the sheet face adjacent to the outer ring of the web face;

内环面:与腹板面非外环相邻的薄板面,与内环面相邻且非修剪面的薄板面也为内环面;Inner ring surface: the thin plate surface adjacent to the web surface but not the outer ring, and the thin plate surface adjacent to the inner ring surface and not trimmed is also the inner ring surface;

内、外侧面:根据已经分类的腹板面、周围的折弯面和内环里包含的内环面,求其正反面的面积之和,面积小所在的一侧所有面均为内侧面,大的为外侧面。内、外侧面的划分有利于面的分类操作效率的提高,本研究基于内侧面进行面的分类和特征识别。Inner and outer sides: According to the classified web surfaces, surrounding bending surfaces and inner ring surfaces included in the inner ring, find the sum of the areas of the front and back sides. The side with the smaller area is the inner side, and the larger one is the outer side. The division of inner and outer surfaces is conducive to improving the efficiency of surface classification operations. This study conducts surface classification and feature recognition based on the inner surface.

墙面和滞留面:对于尚未分类的薄板面,若只与1个折弯面相邻称为墙面;多于1个则称为滞留面。滞留面是一种过渡面,后续会转化为连接面、折弯面或墙面。Wall surface and stagnant surface: For the thin plate surface that has not been classified, if it is only adjacent to one bending surface, it is called a wall surface; if more than one, it is called a stagnant surface. A stagnant surface is a transitional surface that is subsequently transformed into a connection surface, bend surface or wall surface.

与腹板面类似,与墙面外环相邻的薄板面称为折弯面;而与墙面非外环相邻的薄板面称为内环面,与内环面相邻且非修剪面也为内环面。如此将所有薄板面分类为腹板面、墙面、滞留面、折弯面和内环面。Similar to the web face, the sheet face adjacent to the outer ring of the wall is called the bent face; while the sheet face adjacent to the non-outer ring of the wall is called the inner ring face, and the non-trimmed face adjacent to the inner ring face is also the inner ring face. All thin plate faces are thus classified as web faces, wall faces, stagnation faces, bend faces and inner ring faces.

2、环和边的分类2. Classification of rings and edges

(1)环的分类(1) Classification of rings

零件模型中的环表示面的内外部边界,原有类型分为外环、内环和其它三类,不能符合识别特征要求,为此根据识别的特征对环进行重新分类,符合特征识别的规则,环的分类流程如图2所示。The rings in the part model represent the inner and outer boundaries of the surface. The original types are divided into outer rings, inner rings and other three types, which cannot meet the requirements of the recognition features. Therefore, the rings are reclassified according to the recognized features, which conforms to the rules of feature recognition. The classification process of the rings is shown in Figure 2.

各环的定义如下:The rings are defined as follows:

外环:模型提取的环的子类型,可确定面的外部边界;Outer ring: a subtype of ring extracted by the model, which determines the outer boundary of the face;

筋状环:是筋特征外部边界有关的内环,包围的内环面不与修剪面相邻,若不含有平面,或深度为4时仅包含一个平面;Rib ring: It is the inner ring related to the outer boundary of the rib feature. The surrounding inner ring surface is not adjacent to the trimming surface. If it does not contain a plane, or only contains one plane when the depth is 4;

浅成型环:是在浅成特征外部边界有关的内环,包围的内环面不和修剪面相邻,且不是筋状环;Shallow forming ring: It is an inner ring related to the outer boundary of the shallow forming feature, and the surrounding inner ring surface is not adjacent to the trimming surface, and it is not a rib ring;

内环:是与开口和冲压开口有关的内环,由与可分辨曲线相关联的边组成,包含的有向边不止一条;Inner ring: is the inner ring related to openings and punched openings, composed of edges associated with distinguishable curves, and contains more than one directed edge;

孔状环:是与孔或冲压开口特征有关,由与不可分辨曲线相关联的边组成,包含的有向边数目为一条,是特殊的一种内环。Hole ring: It is related to the hole or stamping opening feature, it is composed of edges associated with indistinguishable curves, and the number of directed edges is one, which is a special inner ring.

(2)边的分类(2) Classification of edges

为了表示特征间的关系、识别一些特征以及作为特征的几何结构,需要将边重新分类。边依据共有该条边的两个面的类型和其本身的几何类型,重新划分为以下四种类型:In order to represent the relationship between features, identify some features and geometric structures as features, the edges need to be reclassified. Edges are reclassified into the following four types according to the types of the two faces sharing the edge and their own geometry type:

1)修剪直线边:为薄板面和修剪面共有,其几何类型为直线;1) Trimming straight line edge: it is shared by the thin plate surface and the trimming surface, and its geometric type is straight line;

2)修剪非直线边:为薄板面和修剪面共有,几何类型为曲线;2) Trim non-straight edge: it is shared by the thin plate surface and the trimmed surface, and the geometry type is curve;

3)非修剪直线边:为两个薄板面共有,且几何类型为直线;3) Non-trimmed straight line edge: it is shared by two thin plate faces, and the geometry type is straight line;

4)非修剪非直线边:为两个薄板面共有,几何类型为曲线。4) Non-trimmed non-straight line edge: it is shared by two thin plate surfaces, and the geometry type is curve.

S3:基于特征映射库的设计特征向加工特征转换S3: Conversion of design features to processing features based on feature mapping library

将上一步得到的零件属性邻接图与特征映射库的属性邻接图进行比对,通过特征映射找出设计特征和加工特征的内在关联,将设计特征转化为加工特征,并关联工艺参数信息。Compare the part attribute adjacency graph obtained in the previous step with the attribute adjacency graph of the feature mapping library, find out the internal relationship between design features and processing features through feature mapping, convert design features into processing features, and associate process parameter information.

1、加工特征定义与分类1. Definition and classification of processing features

加工特征是通过一系列成型加工形成,拥有某种实际意义的几何拓扑形状。零件表面特征在不同的场合所代表的实际意义也会有所区别,表现的功能也会有所分别。在设计制造领域分为设计特征与加工特征。The processing feature is formed through a series of forming processes and has a certain geometric topological shape of practical significance. The actual meanings represented by the surface features of parts on different occasions will also be different, and the functions expressed will also be different. In the field of design and manufacturing, it is divided into design features and processing features.

加工特征是从制造角度反映一定的工程语言,主要面向零件表面以及加工过程的几何拓扑信息,并且加工特征是关联加工方法、加工机床和刀具等加工参数的。Machining features reflect a certain engineering language from the perspective of manufacturing, and are mainly oriented to the geometric topology information of the surface of the part and the machining process, and the machining features are associated with machining methods, machine tools, tools and other processing parameters.

本实施例针对航天顶盖体零件的特点,加工特征分类如表1所示。This embodiment is aimed at the characteristics of aerospace roof parts, and the classification of processing features is shown in Table 1.

表1:加工特征的分类Table 1: Classification of machining features

2、设计特征到加工特征的映射2. Mapping from design features to processing features

设计模型表达得形态特征是不便于工艺人员解读的,设计模型与工艺系统之间几何信息的转换需要通过设计特征到加工特征的映射,特征映射下将设计特征转化为基于制造与工艺的加工特征,即建立两者的关联,从而获取到该设计特征对应的加工特征,然后从特征映射库中获取该加工特征的工艺模型。工艺模型包含了各个工序的加工特征,加工方式和加工参数,加工的过程就是材料去除的过程。因此对设计模型添加该加工过程去除的材料,即可生成该工序的工序模型。因此进行设计特征到加工特征的映射是进一步实现工序模型的生成的基础。The morphological features expressed by the design model are not easy for craftsmen to interpret. The transformation of geometric information between the design model and the process system requires the mapping of design features to processing features. Under feature mapping, the design features are transformed into processing features based on manufacturing and technology, that is, the relationship between the two is established, so as to obtain the processing features corresponding to the design features, and then obtain the process model of the processing features from the feature mapping library. The process model includes the processing characteristics, processing methods and processing parameters of each process, and the process of processing is the process of material removal. Therefore, the process model of the process can be generated by adding the material removed in the process to the design model. Therefore, the mapping from design features to processing features is the basis for further realization of process model generation.

通过特征映射找出设计特征和加工特征的内在关联,设计特征有很多相交特征的情况,设计特征是对这个特征的描述,加工特征则是更多的关心怎么加工出来这个特征,很多时候是简化问题,有时也要兼顾周围的特征信息。Find out the internal relationship between design features and processing features through feature mapping. There are many intersecting features in design features. Design features are the description of this feature, while processing features are more concerned about how to process this feature. In many cases, it is to simplify the problem. Sometimes it is also necessary to take into account the surrounding feature information.

分析设计特征和加工特征的内在关联,包括以下两种情况:Analysis of the internal relationship between design features and processing features, including the following two situations:

(1)对于单独存在没有和其他特征交互的设计特征,基本与加工特征保持一致。(1) For the design features that exist alone and do not interact with other features, they are basically consistent with the processing features.

(2)对于两个或者两个以上的设计特征信息,如果他们之间存在某种联系,制造过程互相牵连,则可以将这几个设计特征整合为一种加工特征。(2) For two or more design feature information, if there is some connection between them and the manufacturing process is involved with each other, these design features can be integrated into a processing feature.

具体的,如图3所示,零件在加工过程中就是去除材料的过程,比如凸台特征,要加工出凸台特征,需要切除凸台周围凹下去的材料,也即加工一个凹特征。由此将凸台映射为凹信息,即型腔特征。Specifically, as shown in Figure 3, the process of machining a part is the process of removing material, such as a boss feature. To process a boss feature, it is necessary to remove the concave material around the boss, that is, to process a concave feature. Thus, the boss is mapped to the concave information, that is, the cavity feature.

设计特征转换为加工特征的特征映射算法的基本流程为:设计者使用三维造型软件创建模型时,在设计特征树中体现某个特征的种类,比如表面形状的凸凹性,是成型特征(建立在已有的三维特征之上的特征,主要用在三维特征上的增加或切除特殊形状的三维特征体)还是关联特征(与某个特征或者基准有关联,前者发生变化时,该特征也会发生变化),预先定义建模中特征创建的顺序,即父特征与子特征的依托关系,还有特征表面的拓扑形状信息,通过对表面信息的组织和定义便可以循环访问设计特征,并判断出特征的种类和特征间的关联信息,进一步生成零件区域特征的属性邻接图,利用映射特征库通过匹配特征的方法构建获取加工特征,进而从输出结果中提取到该加工特征的工艺模型。The basic process of the feature mapping algorithm for converting design features into processing features is: when the designer uses 3D modeling software to create a model, the type of a certain feature is reflected in the design feature tree, such as the convexity and concaveness of the surface shape. The topological shape information of the feature surface, through the organization and definition of the surface information, can cyclically visit the design features, and judge the type of features and the correlation information between the features, and further generate the attribute adjacency graph of the part area features, use the mapping feature library to construct and obtain the processing features by matching features, and then extract the process model of the processing features from the output results.

如图4所示,特征映射的具体流程如下:As shown in Figure 4, the specific process of feature mapping is as follows:

循环访问设计模型特征树,获取设计特征并对设计特征的种类进行判断;Recursively access the design model feature tree, obtain design features and judge the type of design features;

处理设计模型特征表面的几何信息,生成零件区域特征的属性邻接图;Process the geometric information of the feature surface of the design model, and generate the attribute adjacency graph of the feature of the part area;

将属性邻接图与映射特征库中的子特征进行比对;Compare the attribute adjacency graph with the sub-features in the mapped feature library;

若比对成功则将对应的属性邻接图中的设计特征识别转化为加工特征;If the comparison is successful, the design feature recognition in the corresponding attribute adjacency graph is converted into a processing feature;

判断特征遍历是否完成,完成则输出结果,输出结果为工艺模型。Judging whether the feature traversal is completed, the result is output when it is completed, and the output result is the process model.

S4:生成三维工序模型S4: Generate 3D process model

从零件材料毛坯到零件成品,机械加工每一道工序完成后,都会得到一个三维产品,这个三维产品表面形状和性质的变化就是生成加工特征的过程,反之也就是加工特征抑制的过程,还原到未加工之前的模型状态。本文在上一步得到的工艺模型的导向下,通过特征抑制将零件设计模型该工序切除的材料添加到模型上。逐步反向恢复为零件毛坯模型并生成各个三维工序模型,从而获取完整的三维工序模型,原理如图6所示。From the blank of the part material to the finished part, after the completion of each machining process, a three-dimensional product will be obtained. The change in the surface shape and properties of this three-dimensional product is the process of generating processing features, and vice versa is the process of suppressing processing features, returning to the state of the model before processing. In this paper, under the guidance of the process model obtained in the previous step, the material cut off in this process of the part design model is added to the model through feature suppression. Step by step reverse recovery to the part blank model and generate each 3D process model, so as to obtain a complete 3D process model, the principle is shown in Figure 6.

零部件三维工序模型反向生成的流程中,当前的三维工序模型的创建是通过抑制后一道三维工序相关特征来实现的。用DesignModel表示零件设计模型,WorkBlank表示零件毛坯,Fij表示零件的第i道加工工艺工序去除的第j个设计特征,n为工序总数,mi为第i道加工工序需要去除的总的特征数。则零件建模过程可表达为:In the reverse generation process of the 3D process model of parts, the creation of the current 3D process model is realized by suppressing the related features of the next 3D process. Use DesignModel to represent the part design model, WorkBlank to represent the blank of the part, F ij to represent the jth design feature removed in the i-th processing process of the part, n to be the total number of processes, and m i to be the total number of features to be removed in the i-th processing process. Then the part modeling process can be expressed as:

用Mi表示零件中间的三维工序模型,Mn是对零件设计模型上相关特征进行抑制后获得的,毛坯模型则是三维工序模型M1特征抑制处理后获得的。三维工序模型Mi加上第i-1道工序加工去除的特征就为Mi-1,对Mi这部分特征进行抑制即可获得第i-1道工序对应的模型Mi-1。相邻两个工序之间的关系为:Use M i to represent the 3D process model in the middle of the part, M n is obtained after suppressing the relevant features on the part design model, and the blank model is obtained after the feature suppression of the 3D process model M1 . The three-dimensional process model M i plus the features removed by the i-1th process is M i-1 , and the model M i- 1 corresponding to the i-1th process can be obtained by suppressing the features of M i . The relationship between two adjacent processes is:

基本原理:本发明基于各类知识先建立特征映射库,特征映射库以属性邻接图的形式存储,然后从零件设计模型特征树上获取拓扑信息并生成零件的属性邻接图,然后将零件的属性邻接图与特征映射库的属性邻接图进行子图匹配,将设计特征映射到加工特征,加工特征包含工艺模型信息,即该工序的加工参数,因此可得知该工序去除哪些材料,工序模型逆向生成的过程为将该工序去除的材料添加到零件上,每个工序添加一步,最终形成毛坯模型,并生成各个三维工序模型。Basic principle: the present invention first establishes a feature mapping library based on various knowledge, which is stored in the form of an attribute adjacency graph, then obtains topological information from the feature tree of the part design model and generates an attribute adjacency graph of the part, then performs subgraph matching between the attribute adjacency graph of the part and the attribute adjacency graph of the feature mapping library, and maps the design features to the processing features. , and finally form the rough model, and generate each three-dimensional process model.

实施例2Example 2

本实施例以航天典型零件顶盖体为例,验证系统功能的有效性,顶盖体在设备研制中大量存在,品种很多,并且批量较小,因此采用基于特征映射的工序模型逆向生成方法进行三维工序模型生成能很大程度提高生产效率。以下是程序运行实例过程:This embodiment takes the top cover of a typical aerospace part as an example to verify the effectiveness of the system function. There are a large number of top covers in equipment development, with many varieties and small batches. Therefore, using the process model reverse generation method based on feature mapping for 3D process model generation can greatly improve production efficiency. The following is an example process of running the program:

Step1:启动UGNX6.0,新建模型文件;Step1: Start UGNX6.0 and create a new model file;

Step2:点击三维顶盖体参数化设计按钮,弹出顶盖体参数化设计窗口,如图7所示;Step2: Click the 3D top cover parametric design button, and the top cover parametric design window will pop up, as shown in Figure 7;

Step3:输入顶盖体关键尺寸参数,点击确定按钮,得到顶盖体三维模型;Step3: Input the key dimension parameters of the roof body, click the OK button to get the 3D model of the roof body;

Step4:点击工艺信息,将其导入生成工序模型按钮,则弹出工艺路线及工艺信息窗口,工艺信息包括当前工序名称、工序编号、工序说明、工艺人员、创建时间等,工艺信息既可以后台导入,也可以通过交互的方式人工输入。Step4: Click the process information, import it to generate process model button, and the process route and process information window will pop up. The process information includes the current process name, process number, process description, process personnel, creation time, etc. The process information can be imported in the background or manually input in an interactive way.

工序模型生成过程就是以工艺信息为导向,实现相应加工特征的抑制,进而得到对应的工序模型。点击工序模型生成则会弹出特征抑制的窗口,该窗口包含了该工序需要加工的特征,加工特征对应设计参数和相关属性。利用特征抑制对三维顶盖体零件进行处理生成工艺路线上各个工序环节的三维工序模型。The process model generation process is guided by the process information to realize the suppression of the corresponding processing characteristics, and then obtain the corresponding process model. Clicking the process model generation will pop up the feature suppression window, which contains the features that need to be processed in this process, and the processing features correspond to the design parameters and related attributes. The 3D process model of each process link in the process route is generated by processing the 3D roof body parts with feature suppression.

实施例3Example 3

本实施例中,提供了一种基于特征映射的工序模型逆向生成方法的系统,包括:In this embodiment, a system of a process model reverse generation method based on feature mapping is provided, including:

特征映射库构建模块:用于根据需求将多个基本特征组合形成自定义特征体,将自定义特征体以属性邻接图的形式存入映射特征库;Feature mapping library building block: used to combine multiple basic features to form a custom feature body according to requirements, and store the custom feature body in the mapping feature library in the form of an attribute adjacency graph;

零件表面拓扑特征提取模块:用于遍历设计模型特征树及其属性邻接关系获取零件表面信息并生成属性邻接图;Part surface topological feature extraction module: used to traverse the design model feature tree and its attribute adjacency relationship to obtain part surface information and generate attribute adjacency graph;

加工特征获取模块:用于将零件表面提取得到的特征信息属性邻接图与特征映射库的属性邻接图进行比对,通过特征映射找出设计特征和加工特征的内在关联,从而获取到加工特征,并关联工艺参数信息;Processing feature acquisition module: it is used to compare the feature information attribute adjacency graph extracted from the surface of the part with the attribute adjacency graph of the feature mapping library, and find out the internal relationship between design features and processing features through feature mapping, so as to obtain processing features and correlate process parameter information;

三维工序模型生成模块:用于在工艺参数信息的导向下,通过特征抑制将零件设计模型反向恢复为零件毛坯模型并生成各个三维工序模型,通过抑制后一道三维工序相关特征实现当前的三维工序模型的创建,从而获取完整的三维工序模型。3D process model generation module: under the guidance of process parameter information, the part design model is reversely restored to the part blank model through feature suppression and each 3D process model is generated, and the current 3D process model is created by suppressing the relevant features of the next 3D process, so as to obtain a complete 3D process model.

综上所述,本发明通过加工特征的定义和映射,将设计模型中的设计特征与加工工艺方法生成的特定的几何形状建立联系,产生关联信息。通过特征抑制将产品三维模型反向恢复为产品毛坯模型并生成各个三维工序模型,从而获取完整的三维工序模型。To sum up, the present invention establishes a relationship between the design features in the design model and the specific geometric shape generated by the machining process method through the definition and mapping of the machining features, and generates associated information. Through feature suppression, the product 3D model is reversely restored to the product blank model and each 3D process model is generated to obtain a complete 3D process model.

本发明具有以下优点:The present invention has the following advantages:

可适用性更广:基于规则的方法需要先设定规则,而这些规则通常只适用于特定类型的零件或特定几何特征,无法适应复杂多样的情况。而基于几何特征的方法可以应用于各种类型的零件,并且可以识别出更多种类的几何特征。Wider applicability: Rule-based methods need to set rules first, and these rules are usually only applicable to specific types of parts or specific geometric features, and cannot adapt to complex and diverse situations. However, the method based on geometric features can be applied to various types of parts, and more kinds of geometric features can be recognized.

精度更高:基于几何特征的方法可以更准确地计算零件的几何特征,避免了基于规则方法中可能出现的误差累积问题。Higher precision: The geometric feature-based method can calculate the geometric features of the part more accurately, avoiding the error accumulation problem that may occur in the rule-based method.

可自动化程度更高:基于几何特征的方法可以自动化识别零件的几何特征,不需要手动设置规则,从而提高了识别的效率。Higher degree of automation: The method based on geometric features can automatically identify the geometric features of parts without manual setting of rules, thus improving the efficiency of recognition.

可扩展性更好:基于几何特征的方法可以很容易地添加新的几何特征识别方法,从而扩展算法的功能和适用范围。Better scalability: The geometric feature-based method can easily add new geometric feature recognition methods, thereby expanding the function and scope of the algorithm.

以上所述仅为本发明的较佳实施例,对本发明而言仅仅是说明性的,而非限制性的。本专业技术人员理解,在本发明权利要求所限定的精神和范围内可对其进行许多改变,修改,甚至等效,但都将落入本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are only illustrative rather than restrictive to the present invention. Those skilled in the art understand that many changes, modifications, and even equivalents can be made within the spirit and scope defined by the claims of the present invention, but all will fall within the protection scope of the present invention.

Claims (10)

1. The reverse process model generation method based on the feature mapping is characterized by comprising the following steps of:
s1: construction of feature mapping library
Combining a plurality of basic features according to requirements to form a custom feature body, and storing the custom feature body into a mapping feature library in the form of an attribute adjacency graph;
s2: extracting part surface topology features
Traversing the feature tree of the design model and the attribute adjacency relation thereof to acquire part surface information and generate an attribute adjacency graph;
s3: conversion from design features to process features based on feature mapping library
Comparing the feature information attribute adjacency graph extracted from the surface of the part with the attribute adjacency graph of the feature mapping library, finding out the internal association of the design feature and the processing feature through feature mapping, thereby obtaining the processing feature and associating the technological parameter information;
s4: generating a three-dimensional process model
Under the guidance of technological parameter information, reverse restoring the part design model into a part blank model through feature suppression, generating each three-dimensional process model, and realizing the creation of the current three-dimensional process model through suppressing the related features of the latter three-dimensional process, thereby obtaining a complete three-dimensional process model.
2. The feature mapping-based process model reverse generation method according to claim 1, wherein the step S1 specifically includes the following steps:
inputting processing and manufacturing characteristics, integrating a plurality of basic characteristics according to the requirements of users to obtain a plurality of types of custom characteristic bodies, and storing the custom characteristics into a characteristic mapping library in a mode of attribute adjacency graphs.
3. The feature map-based process model reverse generation method according to claim 1, wherein the part surface information in step S2 includes topology information of faces, rings, and edges, and the topology information of the faces, rings, and edges is classified according to classification rules.
4. The feature mapping-based process model reverse generation method according to claim 3, wherein the classification rules of the topology information of the faces, rings and edges are as follows:
surface classification: searching from the surface with the largest surface area, searching by adopting a breadth-first algorithm aiming at the continuity and adjacent characteristics of the common edges of the adjacent surfaces, firstly dividing the surface into Bao Banmian and a trimming surface, and then further dividing the sheet surface into a web surface, a bending surface, an inner ring surface, a wall surface, a retention surface, an inner side surface and an outer side surface according to the adjacent characteristics around the surface;
ring classification: dividing the ring into an outer ring, a ribbed ring, a shallow ring, an inner ring and Kong Zhuanghuan according to the surface type and the edge type related to the ring and in combination with a breadth-first search algorithm;
edge classification: the sides are divided into a trimmed straight side, a trimmed non-straight side, a non-trimmed straight side and a non-trimmed non-straight side according to the types of the two sides sharing the side and the geometrical type of the side.
5. The feature map-based process model reverse generation method of claim 1, wherein determining the intrinsic correlation of design features and process features in step S3 comprises:
for a design feature that exists alone, i.e., without interaction with other features, the tooling feature remains consistent with the design feature;
for two or more design features, if there is some relationship between them, i.e., the manufacturing process is tied to each other, then the design features are integrated into a single tooling feature.
6. The feature mapping-based process model reverse generation method according to claim 1, wherein the step S3 of converting design features into processing features specifically comprises the following steps:
firstly, reflecting the type of a certain design feature in a design model feature tree, and predefining the sequence of design model feature creation and the topological shape information of the design model feature surface in modeling;
then organizing and defining according to the topological shape information of the feature surface, then circularly accessing the design features, judging the types of the design features and the associated information among the design features, and further generating an attribute adjacency graph of the part region features;
and finally, acquiring the processing characteristics from the characteristic mapping library by a characteristic matching method, and extracting the processing characteristics from the output result.
7. The feature map-based process model reverse generation method according to claim 1, wherein the feature map in step S3 specifically includes the following:
circularly accessing a design model feature tree, obtaining design features and judging the types of the design features;
processing geometric information of the feature surface of the design model to generate an attribute adjacency graph of the feature of the part area;
comparing the attribute adjacency graph with the sub-features in the mapping feature library;
if the comparison is successful, the design feature identification in the corresponding attribute adjacency graph is converted into a processing feature;
judging whether the feature traversal is completed, outputting a result if the feature traversal is completed, extracting processing features according to the output result, and if the feature traversal is not completed, continuing to access the design model feature tree.
8. The feature map-based process model reverse generation method according to claim 1, wherein the modeling process of the three-dimensional process model in step S4 has the expression:
wherein, design model represents a part design model, workBlank represents a part blank, F ij The j design features of the parts, which represent the i-th machining process step removal, n is the total number of steps, m i The total number of features to be removed for the ith process step.
9. The method for generating a process model in reverse direction based on feature mapping according to claim 1, wherein the relationship between two adjacent three-dimensional process models at the time of feature suppression in step S4 is:
wherein M is i Three-dimensional process model representing part middle, three-dimensional process model M i The characteristic of the i-1 th procedure is M i-1 For M i The characteristic is restrained to obtain the i-1 process pairModel M of stress i-1
10. A system employing the feature map-based process model reverse generation method according to any one of claims 1 to 9, comprising:
the feature mapping library construction module: the method comprises the steps of combining a plurality of basic features according to requirements to form a custom feature, and storing the custom feature into a mapping feature library in the form of an attribute adjacency graph;
part surface topological feature extraction module: the method comprises the steps of traversing a design model feature tree and an attribute adjacency relationship thereof to obtain part surface information and generate an attribute adjacency graph;
the processing characteristic acquisition module is used for: the feature information attribute adjacency graph is used for comparing the feature information attribute adjacency graph extracted from the surface of the part with the attribute adjacency graph of the feature mapping library, and the inherent association between the design feature and the processing feature is found out through feature mapping, so that the processing feature is obtained, and the technological parameter information is associated;
the three-dimensional process model generation module: the method is used for reversely recovering the part design model into a part blank model through feature suppression under the guidance of process parameter information, generating each three-dimensional process model, and realizing the creation of the current three-dimensional process model through suppressing the related features of the latter three-dimensional process, thereby obtaining the complete three-dimensional process model.
CN202310415288.8A 2023-04-18 2023-04-18 Feature mapping-based reverse generation method and system for process model Pending CN116484525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310415288.8A CN116484525A (en) 2023-04-18 2023-04-18 Feature mapping-based reverse generation method and system for process model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310415288.8A CN116484525A (en) 2023-04-18 2023-04-18 Feature mapping-based reverse generation method and system for process model

Publications (1)

Publication Number Publication Date
CN116484525A true CN116484525A (en) 2023-07-25

Family

ID=87214962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310415288.8A Pending CN116484525A (en) 2023-04-18 2023-04-18 Feature mapping-based reverse generation method and system for process model

Country Status (1)

Country Link
CN (1) CN116484525A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119126671A (en) * 2024-11-14 2024-12-13 南通双耀冲压有限公司 Dynamic control method and system for stamping machine tools
CN119416279A (en) * 2024-07-18 2025-02-11 武汉天喻软件有限公司 A method and system for identifying processing features of planar sheet metal parts

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119416279A (en) * 2024-07-18 2025-02-11 武汉天喻软件有限公司 A method and system for identifying processing features of planar sheet metal parts
CN119416279B (en) * 2024-07-18 2025-05-23 武汉天喻软件有限公司 A method and system for identifying processing features of planar sheet metal parts
CN119126671A (en) * 2024-11-14 2024-12-13 南通双耀冲压有限公司 Dynamic control method and system for stamping machine tools

Similar Documents

Publication Publication Date Title
WO2020034632A1 (en) Mbd-based three-dimensional process designing method and platform for typical automobile machined part
CN117235929B (en) 3D CAD generative design method based on knowledge graph and machine learning
CN110795797A (en) MBD model processing feature recognition and information extraction method
CN105354353A (en) MBD model based processing feature identification and modeling method
WO2024108580A1 (en) Multi-dimensional parameterized city information model construction method and system, and computer device
CN106599515A (en) Automobile covering part sheet metal forming technology optimizing method based on STL grid feature recognition
CN116484525A (en) Feature mapping-based reverse generation method and system for process model
CN117669046A (en) A data integration method and system for intelligent decision-making in automobile assembly processes
Liu et al. A new method of reusing the manufacturing information for the slightly changed 3D CAD model
Feng et al. A hybrid and automated approach to adapt geometry model for CAD/CAE integration
CN110795835A (en) Three-dimensional process model reverse generation method based on automatic synchronous modeling
CN117237580A (en) A CAD model matching method and system based on multi-view and processing feature recognition
CN116798028A (en) Automatic dimensioning method for three-dimensional parts
Yan et al. Manufacturing feature recognition method based on graph and minimum non-intersection feature volume suppression
Li et al. An interactive system for 3D spatial relationship query by integrating tree-based element indexing and LLM-based agent
Xu et al. Machining feature recognition from in-process model of NC simulation
Zhang et al. Automatic generation method of 3D process models for shaft parts based on volume decomposition
Lai et al. Recognition and decomposition of rib features in thin-shell plastic parts for finite element analysis
CN101527053B (en) Multi-resolution Representation Method of 3D Solid Model
CN115935446A (en) Three-dimensional process automatic modeling method
CN110990907B (en) Three-level optimization method for manufacturability of heavy marine diesel engine parts based on feature-resource knowledge
CN115121965B (en) Method for generating laser cutting optimized lead
CN115169122B (en) A multi-stage manufacturing feature recognition method based on graph and minimum disjoint feature volume suppression
Lai et al. Automatic recognition and decomposition of rib features in thin-shell parts for mold flow analysis
Lai et al. Recognition and classification of protrusion features on thin-wall parts for mold flow analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination