###
DOI:
计算机系统应用英文版:2016,25(1):146-149
本文二维码信息
码上扫一扫!
基于UG二次开发的参数化建模方法
(中北大学机械与动力工程学院, 太原 030051)
Method of Parametric Modeling Based on UG Secondary Development
(School of Mechanical and Power Engineering, North University of China, Taiyuan 030051, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1868次   下载 5120
Received:April 19, 2015    Revised:May 12, 2015
中文摘要: 对于目前有关UG二次开发中零件的常用参数化建模方法,论文提出了两种更为简单快速的建模方法.第一种方法是以内齿圈参数化设计为例,通过先建立零件的模板模型,然后在其对话框的回叫函数中,编写代码更改参数,最后更新,实现零件的参数化.第二种方法是以超声变幅杆为例,利用UG建模环境中的JA文件录制功能,将零件的建模过程进行录制,用得到的代码在对话框的回叫程序中替代原本用API或grip开发的零件建模程序,然后将对话框的输入值与代码中模型的参数进行关联,实现零件的参数化.这两种方法的应用能有效减少设计人员的重复劳动,提高设计效率.
中文关键词: UG  二次开发  参数化建模
Abstract:In view of the present parametric modeling method of parts based on UG secondary development, the paper presents two more simple and rapid modeling. The first one takes the parametric modeling of inner gear as an instance, by first establishing a template model part, then in its dialog callback function, code change parameters, last updated parameterized parts. The second one takes ultrasonic transformer as an example, using JA file recording function in UG modeling environment to record the modeling process. In the callback procedure of the dialog box, the recorded code is used to replace the part's modeling program code which originally developed by API or grip. It can realize parametric part after the input values of the dialog box are associated with the parameters of the model in the code. The application of the two methods can effectively reduce duplication designers to improve design efficiency.
文章编号:     中图分类号:    文献标志码:
基金项目:国家自然科学基金(61303163,91218302,61432001)
引用文本:
张乐林,祝锡晶,叶林征.基于UG二次开发的参数化建模方法.计算机系统应用,2016,25(1):146-149
ZHANG Le-Lin,ZHU Xi-Jing,YE Lin-Zheng.Method of Parametric Modeling Based on UG Secondary Development.COMPUTER SYSTEMS APPLICATIONS,2016,25(1):146-149