摘要
针对UG自带工程图模板不符合国标且标题栏和明细栏内容需手动填写、出图效率低等问题,提出了一种自动更新标题栏和明细栏的方法。此方法基于UG平台,利用模板技术创建符合国标的工程图模板,在模板文件中添加标题栏和明细栏中各栏目的对应空属性,将栏目值做成与零部件属性相关联的属性映射;利用UG二次开发技术设计属性填写工具,可对声振系统零部件的名称、图号、材料等属性进行快速填写;并从三维信息模型中提取标题栏和明细栏信息,将属性映射实例化,实现了工程图栏目的自动更新,提高了设计效率。
The drawing templates in UG do not meet the national standard,industry standard,and the title block and the item list need to be filled manually,thus causing the low work ratio in the process of producing engineering drawings. Aimed at this problem,this paper proposes a method of automatically updating title block and item list and based on UG platform,uses the template technology to create the engineering drawing template which conforms to the national standard. In the template file,the corresponding blank attributes add to columns of title block and item list. The column value is made into an attribute map associated with the component property. The attribute filling tool is designed based on UG secondary development to quickly fill in the attributes such as part name,drawing number,material of parts,and then the information about title block and item list is extracted from the 3D information model,which is used to instantiate the property mapping,automatically ally update the columns in engineering drawings and improve the design efficiency.
引文
[1]朱学敏,王宗彦,杨芬,等.基于免疫遗传算法的工程图自动调优技术[J].图学学报,2013,34(2):83-88.
[2]龚洁晖,张慧.基于工程图的三维重建研究[J].软件学报,2008,19(7):1794-1805.
[3]卢伟.基于UG的电极二维工程图纸自动生成技术的研究[D].武汉:华中科技大学,2007.
[4]张乐林,祝锡晶,成全.UG环境下功率超声珩磨装置的参数化设计方法研究[J].制造技术与机床,2016(3):45-49.
[5]陈友东,李建友,游玮.基于模板的工程图生成[J].北京航空航天大学学报,2016,42(5):927-933.
[6]闫崇京,宋燕.基于产品信息模型的图框标题栏快速生成[J].机械制造与自动化,2005,34(2):85-87.
[7]程可.机械制图[M].北京:化学工业出版社,2015.
[8]史丽媛,祝锡晶,马继召.基于UG参数化设计系统的研究[J].图学学报,2013,34(2):108-112.
[9]Li N,Zhao Y P.Achieve of Torpedo Shell Parameter Model Based on Secondary Development of UG[J].Advanced Materials Research,2012,542/543:532-536.
[10]Liu X,Li Q,Liu Y,et al.Development of a Rapid Design System for Aerial Work Truck Subframe with UG Secondary Development Framework[J].Procedia Engineering,2011,15:2961-2965.