为了重用装配体模型中包含的设计、制造和装配工艺等信息,需要在装配体模型数据库中搜索相似的装配体模型作为参考.为此提出一种基于属性邻接图匹配的装配体模型搜索方法.首先提取装配体模型中零件的接触面信息,将装配体模型及其零件模型分别转化为零件属性邻接图和接触面属性邻接图;然后计算用于零件模型匹配的成功匹配接触面数量、接触面关系编码数量以及用于装配体模型搜索的零件相似度矩阵,将其作为零件模型和装配体模型相似度度量;最后由最优匹配Kuhn~Munkres算法得到零件相似度矩阵最优匹配加权和,作为装配体模型相似度.实验结果表明,该方法能有效地搜索到相似的装配体模型,并且对模型的相似度进行了排序.
In this paper, an assembly model retrieval method based on attributed relational graph matching is presented in order to find the similar assembly model for design reuse and generation of manufacturing and assembly plans. First, the contact faces' attributes are extracted from the assembly model, meanwhile the assembly model and its parts models are respectively described as part attributed relational graph and contact face attributed relational graph. Then, the matching number of the faces and their relation and the parts' compatibility matrix are calculated, which serves as the respective measure of the similarity between two parts and between two assemblies. Finally, the optimal matching with the measures is calculated using Kuhn-Munkres algorithm. Experimental results show that the method is able to support the assembly model retrieval.