为便于用户在工程设计时使用草图进行三维模型设计,提出一种从单幅草图生成正交多面体模型的方法.根据正交多面体模型的结构特点定义了建模过程中的特征层次体系及其转换规则,通过规则推理实现各层次特征的转换,以支持用户使用简图方式快速地生成多面体模型;同时,使用决策树管理转换规则集合实现对规则的训练和更新,以保证规则集的可拓展性和鲁棒性.实验结果表明:该方法能生成多种复杂的正交多面体模型,且决策树方法能有效地支持对规则集合的训练和更新.
This paper presents a method of rectangular polyhedron reconstruction from single sketchy drawing, allowing users to create 3D shapes by sketching in engineering design. According to the structural characteristics of the rectangular polyhedron model, we define the hierarchy of features and the transformation rules in the polyhedron reconstruction process, and realize the feature transformation among different levels by rule deduction. This enables users to create the polyhedron model rapidly by means of lineal sketch. Furthermore, decision tree is adopted to manage the transformation rule set in order to implement the training and updating of the rule. It guarantees expansibility and robustness of the rule set. The experiment results prove that the proposed method generates a variety of complex rectangular polyhedron models and the decision tree method supports the training and updating of the rule set effectively.