CN100349163C - Similarity estimating method for three-dimensional CAD model based on shape - Google Patents

Similarity estimating method for three-dimensional CAD model based on shape Download PDF

Info

Publication number
CN100349163C
CN100349163C CNB200410067152XA CN200410067152A CN100349163C CN 100349163 C CN100349163 C CN 100349163C CN B200410067152X A CNB200410067152X A CN B200410067152XA CN 200410067152 A CN200410067152 A CN 200410067152A CN 100349163 C CN100349163 C CN 100349163C
Authority
CN
China
Prior art keywords
cad model
vector
similarity
limit
dimensional cad
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.)
Expired - Fee Related
Application number
CNB200410067152XA
Other languages
Chinese (zh)
Other versions
CN1614593A (en
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.)
Shanghai Mould Technology Research Institute Co., Ltd.
Original Assignee
Shanghai Jiaotong University
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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CNB200410067152XA priority Critical patent/CN100349163C/en
Publication of CN1614593A publication Critical patent/CN1614593A/en
Application granted granted Critical
Publication of CN100349163C publication Critical patent/CN100349163C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a similarity estimating method for a three-dimensional CAD model based on a shape, which belongs to the technical field of the data management technique. The method comprises the following steps that: STEP AP 203 Part 21 data of a three-dimensional CAD model is converted to attributed graph data; a characteristic invariant of the three-dimensional CAD model is extracted from the attributed graph data so as to construct a characteristic invariant vector; the semblance evaluation is carried out to the CAD model by applying the characteristic invariant vector based on construction to a self-organizing neural network. Clustering of the three-dimensional CAD model and the CAD model index based on similarity is directly carried out by the method. The method of the present invention has the important characteristics of easy and agile algorithm, less resource consumption, high computational efficiency, self-learning performance, robustness and flexibility. The contained content of the characteristic invariant vector can be flexibly defined by a subscriber according to the actual demand of semblance evaluation, the vector can be long or short, and thus, the semblance evaluation requirements of different layers are satisfied.

Description

Three-dimensional CAD model is based on the similarity estimating method of shape
Technical field
The present invention relates to the similarity estimating method of a kind of three-dimensional CAD model based on shape, specifically is the similarity estimating method of a kind of three-dimensional CAD model of STEP form based on shape.Be used for the data management technique field.
Background technology
Along with popularizing of using of three-dimensional CAD and deeply, a large amount of product designs exists with the form of three-dimensional CAD model, simultaneously because the needs of exchanges data, this neutral file presentation format of STEP is widely adopted, and how effectively to manage and even reuse the extensive interest that these existing cad datas have caused Chinese scholars.Because it is traditional based on attribute, as the search method of file name, Part No. etc. not only exist result for retrieval wide or narrow usually, require the user to know many defectives such as Property Name, attribute also might change in time in advance, this method of what is more important can not be carried out the similarity assessment of cad model, thereby be difficult to realize to effective management of CAD design resource and reuse, so proposed somely, be one of them based on the method for figure based on shape similarity or content-based retrieval method.
Find by prior art documents, people such as Regli W C are at " Computer-Aided Design " 32 (2000), " the Managing digital libraries for computer-aideddesign " that delivers on the 119-132, (" computer-aided design (CAD) ", the management in digitized computer-aided design (CAD) storehouse) this article has been introduced the method based on figure, its basic step is at first cad model to be converted into figure to represent, utilizes the attribute of figure and isomorphism to calculate the similarity assessment that carries out model.Because the accurate coupling of figure is a very complex mathematical problem, counting yield is very low, and computational resource expends huge, has the scholar also to propose the approximate match algorithm.However, the defective that this class methods exist is: the computing method complexity, resource cost is big, travelling speed is slow, do not have self-learning function, is difficult to therefore satisfy that the Large-scale CAD data of database is managed and the needs of Knowledge Discovery.
Summary of the invention
The objective of the invention is to overcome deficiency of the prior art, the similarity estimating method of a kind of three-dimensional CAD model based on shape proposed, after the cad model to the STEP form carries out the attributed graph conversion, extract its feature invariant vector, adopt the self organizing neural network model that three-dimensional CAD model is carried out similarity assessment again, thereby make this method have that algorithm is easy flexibly, resource cost is few, operational efficiency is high and can dynamically upgrade distinguishing feature such as study, therefore can finely satisfy the needs of management of Large-scale CAD data of database and Knowledge Discovery.
The present invention is achieved by the following technical solutions, and the inventive method comprises three basic steps:
1. the STEP AP203 Part21 data with three-dimensional CAD model are converted to the attributed graph data
Use the string matching technology, method based on search key from STEP AP203 Part21 physical file is set up attributed graph G={N, E, Φ, Ω }, wherein, N is the set of the node of figure, E is the set on the limit of figure, and Φ is about the set of node set with the limit set relation of linking to each other, and Ω is the node of figure and the association attributes set on limit.Concrete grammar is: the type formation aggregated(particle) structure that utilizes the STEP file, find key word OPEN_SHELL or CLOSED_SHELL earlier, then search its following structure ADVANCED_FACE, and then search SURFACE below the ADVANCED_FACE etc., search corresponding EDGE by SURFACE again, so the whole STEP file of searching loop progressively successively finds every limit of each face correspondence, and writes down its mutual relationship and association attributes.Nodal community comprises face type, area of face etc., and the attribute on limit comprises the line style on limit, length etc.Last with specific file layout record attribute diagram data.
2. the dependency diagram data extracts the feature invariant of three-dimensional CAD model and constructs its feature invariant vector with this
The association attributes of computation attribute figure, as number of vertex, limit number, the maximum dimension in summit, summit smallest dimension, the average dimension in summit, diameter etc., extract the association attributes on summit and the limit of figure simultaneously, face type and area as the summit, the line style on limit and length etc., the aforementioned feature invariant that calculates is connected in series the feature invariant vector that forms the cad model that comprises a large amount of topological sum geological informations, and its dimension or content can be determined flexibly according to the actual needs of cad model similarity assessment.
3. use self organizing neural network based on the feature invariant vector of structure cad model is carried out similarity assessment
With the input of the feature invariant vector of cad model as self organizing neural network, neural network is carried out training study, the relative distance when utilizing convergence between the neural network output layer manifold neuron is measured the similarity of cad model.Distance is near more, and representation model is similar more; Otherwise the expression difference is big more.Concrete grammar is: the feature invariant that all cad models in the database are correlated with one by one extracts and structure feature invariant vector separately according to actual needs, and all feature invariant vectors finally constitute the network training sample set.Employing increases one-dimension method with vector input vector is carried out normalized.Selected network topology and correlation parameter are trained until convergence the input sample set, the relative distance in the record neural network output layer manifold between each feature invariant vector, thus the similarity between the cad model is made assessment.
Can directly carry out the cluster of three-dimensional CAD model and based on the retrieval of the cad model of similarity according to this method.The inventive method can be used for fields such as content-based three-dimensional CAD model search engine, CAD database Knowledge Discovery, the product design based on example, process planning and assessment of cost.The important feature of the inventive method is that it learns by oneself habit, robustness and dirigibility, the content that the user can comprise according to the flexible defined feature invariant vector of the actual needs of similarity assessment, and vector is changeable, thereby satisfies the similarity assessment needs of different levels.
Description of drawings
Fig. 1 the inventive method theory diagram
Fig. 2 network training cad model synoptic diagram
Embodiment
Specific implementation method of the present invention is followed following steps:
1. develop based on the search key method and read and change the attributed graph switching software module that STEP AP203 Part21 file is the attributed graph file.Utilize this module that the STEP file of all cad models that need train in the database is changed into the attributed graph data file.
2. develop the association attributes of figure to be calculated with the feature invariant of extraction figure and with this and construct the software module of cad model feature invariant vector based on the attributed graph data file.Invariant is except the number of vertex that comprises figure, limit number, the maximum dimension in summit, summit smallest dimension, the average dimension in summit, diameter etc., the association attributes that also comprises summit and the limit of figure simultaneously, contain 22 kinds of face types as the summit, the limit contains 28 kinds of line styles, adds two above-mentioned types of ancillary statistic statistics and line style face, line style quantity in addition at last again.So the aforementioned correlated characteristic invariant that calculates is connected in series and forms a feature invariant vector that comprises a large amount of topological sum geological informations of cad model, its dimension can be according to actual needs determines flexibly, and its length is generally between 1-60 when the type attribute on the summit of only considering figure and limit.Utilizing feature invariant vector extraction module that all cad models in the database are carried out the feature invariant one by one extracts to form feature invariant vector separately, the final input sample set that constitutes network training is the matrix of " (feature invariant vector dimension+1) * sample number " after the normalization.
3. develop the self organizing neural network training module.To network configuration parameters, comprise that output layer topology (rectangle or hexagon) and node number, input layer number, initial learn rate, field function parameter, field time parameter, learning rate time parameter, frequency of training etc. are provided with by this module.With one 9 * 1 dimension matrix stores all-network configuration parameter.Utilizing a random function initialization weight matrix, is the matrix of " output layer node number * (feature invariant vector dimension+1) ".Training module fan-in network training sample set Network Based begins training until convergence, the relative distance in the record neural network output layer manifold between each feature invariant vector, thus the similarity between the cad model is made assessment.
Embodiment
Develop attributed graph conversion and feature invariant vector extraction procedure and utilize the three-dimensional CAD model similarity Evaluation Platform of MFC exploitation with VC++6.0 based on self organizing neural network.The STEP AP203 Part21 file of collecting 32 practical cad model (see figure 2)s of industry carries out attributed graph data-switching and the extraction of feature invariant vector.Feature invariant vector dimension is defined as 17, is respectively 5 basic statistics amounts (number of vertex, limit number, the maximum dimension in summit, summit smallest dimension, the average dimension in summit) of attributed graph, 5 vertex attributes, the attribute on 5 limits, and 2 ancillary statistics.Forming one 17 * 32 training sample set like this, is 18 * 32 after the normalization.Be 31 seconds working time on the machine of Pentium 1.6G.Network configuration is: output layer topology is 12 regular hexagon for the length of side, and the initial learn rate is 0.1, and the field function parameter is 12, and the field time parameter is 621, and the learning rate time parameter is 1000, and frequency of training is 3800.Initial weight matrix (397 * 18) is produced by random function.Be 39 seconds working time on the machine of Pentium 1.6G.Table 1 is that cad model feature invariant vector extracts example, and table 2 has provided the similarity assessment result of two parts.This embodiment shows that the inventive method is feasible and effective.
Table 1 cad model feature invariant vector extracts example
Table 2 cad model similarity assessment example
Figure C20041006715200072

Claims (4)

1, a kind of three-dimensional CAD model is characterized in that based on the similarity estimating method of shape, comprises three basic steps:
1. the STEP AP203 Part21 data with three-dimensional CAD model are converted to the attributed graph data;
2. the dependency diagram data extracts the feature invariant of three-dimensional CAD model and constructs its feature invariant vector with this;
3. use self organizing neural network based on the feature invariant vector of structure cad model is carried out similarity assessment.
2, three-dimensional CAD model according to claim 1 is characterized in that based on the similarity estimating method of shape, and 1. described step is implemented as follows:
Use the string matching technology, method based on search key from STEP AP203 Part21 physical file is set up attributed graph G={N, E, Φ, Ω }, wherein, N is the set of the node of figure, E is the set on the limit of figure, and Φ is about the set of node set with the limit set relation of linking to each other, and Ω is the node of figure and the association attributes set on limit, concrete grammar is: the type formation aggregated(particle) structure that utilizes the STEP file, find key word OPEN_SHELL or CLOSED_SHELL earlier, then search its following structure ADVANCED_FACE, and then search the SURFACE below the ADVANCED_FACE, search corresponding EDGE by SURFACE again, so the whole STEP file of searching loop progressively successively finds every limit of each face correspondence, and writes down its mutual relationship and association attributes, described association attributes is exactly the attribute on dactylus point and limit, wherein nodal community comprises the face type of face, area, the attribute on limit comprises the line style on limit, length is at last with file layout record attribute diagram data.
3, three-dimensional CAD model according to claim 1 is characterized in that based on the similarity estimating method of shape, and 2. described step is implemented as follows:
The number of vertex of computation attribute figure, limit number, the maximum dimension in summit, summit smallest dimension, the average dimension in summit, diameter attribute, extract the face type and the area on the summit of figure simultaneously, the line style on limit and length attribute are connected in series the aforementioned feature invariant that calculates the feature invariant vector that forms the cad model that comprises a large amount of topological sum geological informations.
4, three-dimensional CAD model according to claim 1 is characterized in that based on the similarity estimating method of shape, and 3. described step is implemented as follows:
With the input of the feature invariant vector of cad model as self organizing neural network, neural network is carried out training study, relative distance when utilizing convergence between the neural network output layer manifold neuron is measured the similarity of cad model, and distance is near more, and representation model is similar more; Otherwise, the expression difference is big more, concrete grammar is: the feature invariant that all cad models in the database are correlated with one by one extracts and structure feature invariant vector separately, all feature invariant vectors finally constitute the network training sample set, employing increases one-dimension method with vector input vector is carried out normalized, selected network topology and correlation parameter, described correlation parameter comprises output layer topology and node number, the input layer number, the initial learn rate, the field function parameter, the field time parameter, the learning rate time parameter, frequency of training, the input sample set is trained until convergence, relative distance in the record neural network output layer manifold between each feature invariant vector, thus the similarity between the cad model is made assessment.
CNB200410067152XA 2004-10-14 2004-10-14 Similarity estimating method for three-dimensional CAD model based on shape Expired - Fee Related CN100349163C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410067152XA CN100349163C (en) 2004-10-14 2004-10-14 Similarity estimating method for three-dimensional CAD model based on shape

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410067152XA CN100349163C (en) 2004-10-14 2004-10-14 Similarity estimating method for three-dimensional CAD model based on shape

Publications (2)

Publication Number Publication Date
CN1614593A CN1614593A (en) 2005-05-11
CN100349163C true CN100349163C (en) 2007-11-14

Family

ID=34765012

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410067152XA Expired - Fee Related CN100349163C (en) 2004-10-14 2004-10-14 Similarity estimating method for three-dimensional CAD model based on shape

Country Status (1)

Country Link
CN (1) CN100349163C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100545840C (en) * 2006-04-07 2009-09-30 同济大学 A kind of punching part sample researching method
US20080086324A1 (en) * 2006-09-14 2008-04-10 Junichi Yamagata Parts managing system, parts managing method, and computer program product
CN101413348B (en) * 2008-11-28 2010-06-23 中冶京唐建设有限公司 Steel structure three-dimensional scanning observe and control method
CN101447094B (en) * 2008-12-24 2012-04-25 南京大学 Three-dimensional CAD model shape comparison method based on body space topological constraint
CN102495926B (en) * 2011-12-01 2014-06-25 北京数码大方科技股份有限公司 Test method and device of three-dimensional original model
CN104408161A (en) * 2014-12-08 2015-03-11 周理 Mould CAD drawing query based on similarity query and management method
CN106096669A (en) * 2016-08-24 2016-11-09 上海柏楚电子科技有限公司 A kind of method quickly selecting similar fitgures for CAD
CN110390387B (en) * 2018-04-20 2023-07-18 伊姆西Ip控股有限责任公司 Assessment of resources used by deep learning applications
CN110555219B (en) * 2018-05-31 2022-12-27 首都航天机械公司 Three-dimensional CAD model similarity retrieval system and method based on image recognition
CN110334108A (en) * 2019-06-18 2019-10-15 浙江工业大学 A kind of three-dimensional CAD model similarity calculation method based on discrete bat algorithm
CN110599598B (en) * 2019-11-15 2021-03-26 广联达科技股份有限公司 Method and device for unifying heterogeneous data
WO2021106154A1 (en) 2019-11-28 2021-06-03 三菱電機株式会社 Workpiece image searching device, workpiece image searching method, and machine learning device
CN114119930B (en) * 2022-01-27 2022-10-28 广州中望龙腾软件股份有限公司 Three-dimensional model correction method and device based on deep learning and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Survey of Shape Similarity Assessment Algorithms forProduct Design and Manufacturing Applications. Antonio Cardone,Satyandra K. Gupta,Mukul Karnik.Journal of Computing and Infomation Science in Engineering,Vol.3. 2003 *
Design Classification and Hybrid Variant-Generative ProcessPlanning. D.,S. Na,Nau,J. W,J. W. Her,J. W. Herrman,W. Herrmann,W.,Herrmann,W. C. Regli,W. C. Regli,W. C. Regli,C. Regli,Regli.2000 NSF Design and Manufacturing Research Conference. 2000 *
Managing Digital Libraries for Computer-Aided Design. William C. Regli,Vincent A. Cicirello.Computer.Aided Design,Vol.32 No.2. 2000 *

Also Published As

Publication number Publication date
CN1614593A (en) 2005-05-11

Similar Documents

Publication Publication Date Title
CN108710663B (en) Data matching method and system based on ontology model
CN100349163C (en) Similarity estimating method for three-dimensional CAD model based on shape
CN110674407B (en) Hybrid recommendation method based on graph convolution neural network
CN106294593B (en) In conjunction with the Relation extraction method of subordinate clause grade remote supervisory and semi-supervised integrated study
CN109710701A (en) A kind of automated construction method for public safety field big data knowledge mapping
CN106156272A (en) A kind of information retrieval method based on multi-source semantic analysis
CN106156286A (en) Type extraction system and method towards technical literature knowledge entity
CN107193858A (en) Towards the intelligent Service application platform and method of multi-source heterogeneous data fusion
CN104462163B (en) A kind of threedimensional model characterizing method, search method and searching system
CN101770520A (en) User interest modeling method based on user browsing behavior
CN103207856A (en) Ontology concept and hierarchical relation generation method
CN103646032A (en) Database query method based on body and restricted natural language processing
CN104699786A (en) Semantic intelligent search communication network complaint system
CN110377751A (en) Courseware intelligent generation method, device, computer equipment and storage medium
CN113034665B (en) Simulation modeling method and system based on scene tree
CN102231151A (en) Method for modelling adaptive learning of agricultural ontology
CN109522416A (en) A kind of construction method of Financial Risk Control knowledge mapping
CN104462063A (en) Structural extraction method and system of positional information based on semantic position model
CN104036051A (en) Database mode abstract generation method based on label propagation
CN111078916A (en) Cross-domain three-dimensional model retrieval method based on multi-level feature alignment network
CN108170823A (en) A kind of Freehandhand-drawing interactive three-dimensional model retrieval method understood based on high-level semantic attribute
CN107016566A (en) User model construction method based on body
CN103020283A (en) Semantic search method based on dynamic reconfiguration of background knowledge
CN103294791A (en) Extensible markup language pattern matching method
CN104317853B (en) A kind of service cluster construction method based on Semantic Web

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SHANGHAI MOULD TECHNOLOGY INSTITUTE CO., LTD.

Free format text: FORMER OWNER: SHANGHAI JIAOTONG UNIV.

Effective date: 20090807

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090807

Address after: No. 55 West Guangyuan Road, Shanghai

Patentee after: Shanghai Mould Technology Research Institute Co., Ltd.

Address before: No. 800, Dongchuan Road, Shanghai, Minhang District

Patentee before: Shanghai Jiao Tong University

C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: No. 471, Guiping Road, Shanghai

Patentee after: Shanghai Mould Technology Research Institute Co., Ltd.

Address before: No. 55 West Guangyuan Road, Shanghai

Patentee before: Shanghai Mould Technology Research Institute Co., Ltd.

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071114

Termination date: 20121014