为了解决异构CAD协同设计中的一维拓扑元素匹配问题,在对其进行分类讨论的基础上,提出了一种新方法.首先在源CAD系统中,获取建模操作所引用的一维拓扑元素,并利用合并算法将这些拓扑元素进行合并,合并条件为:同类型、相邻接且合并所得的拓扑元素类型与原类型相同或相近.然后在目标CAD系统中,通过匹配算法为合并后的每个一维拓扑元素寻找相匹配的目标拓扑元素,匹配条件为:类型相匹配、属性相同且目标拓扑元素的2个端点与源拓扑元素的2个端点重合或在其内部.实验结果表明,该方法有效地解决了异构CAD协同设计中的多种一维拓扑元素匹配问题,从而弥补了现有方法的不足.
To solve the one-dimensional topological entity matching problem in collaborative design among heterogeneous CAD systems,a new approach based on classification is proposed.First,in source CAD system,the one-dimensional topological entities used by modeling operation are acquired and combined by the combining algorithm.The combining conditions include: the topological entities to be combined must have the same type and be adjacent;the type of the combined topological entity is the same or similar to the primary.Then,in target CAD system,the target topological entities with matching type and same properties are found by the matching algorithm.The matching target entities also must meet the condition that the two vertexes of them are both in or on the source ones.The result shows that the approach can efficiently solve many kinds of the matching problem.Hence,it improves the current methods.