焊接接头坡口参数化建模及矢量图形绘制
Parametric modeling and vector graphics plotting for welding joint groove
-
摘要: 焊接接头坡口的参数化描述及图形绘制对焊接工艺设计软件开发非常重要.提出基于双面双边U形坡口的接头类型及坡口图形参数化模型,分析了接头坡口图形参数化驱动原理,实现接头坡口图形几何参数动态标注,阐述面向对象的图元绘制类设计及使用方法,给出了接头参数化模块绘制过程中图元数据的存储结构,运用图元对象的鼠标拾取方法解决了图元属性修改问题,论述了接头图形中性矢量WMF文件的生成及数据库序列化过程.结果表明,焊接接头坡口参数化模型及图形矢量化绘制能够有效解决接头参数标注及嵌入式图形失真问题.Abstract: Parametric description and graphics plotting of welding joint groove play an important role for software development of welding process design.Parametric model of joint type and groove graphics is presented based on double U-groove.Principle for joint groove graphics parameter-driven is analyzed and the function of geometry parameter dynamic labeling for groove graphics is realized.The classes for primitives plotting object-oriented are presented.The primitives-data storage structure of parameter plotting process is showed.The use of picking primitive object with mouse resolves the question of modifying the primitive properties.The generation of neutral vector WMF file and serialization process for joint graphics are discussed.The results show that parametric model and vector plotting for joint groove graphics can handle labeling for joint parameter and embed graphics distortion in report form.