【正文】
安徽工程大學(xué)機(jī)電學(xué)院 畢業(yè)設(shè)計(jì)(論文) I 基于 UG 齒輪 的三維 參數(shù)化、可視化設(shè)計(jì) 摘 要 漸開線齒輪是機(jī)械傳動(dòng)中的常用零件 , 由于齒形輪廓復(fù)雜 , 其參數(shù)化設(shè)計(jì)困難。本課題主要是基于 Unigraphics 二次開發(fā)平臺(tái),應(yīng)用其 UG/Open API、 Grip 開發(fā)工具和VC++ 開發(fā)環(huán)境對(duì)漸開線齒輪三維參數(shù)化造型系統(tǒng)進(jìn)行了研究。 首先 在研究了Unigraphics 與應(yīng)用程序的接口 UG/Open API 的基礎(chǔ)上,通過 UG 本身自帶的二次開發(fā)工具進(jìn)行菜單文件的編寫、對(duì)話框的設(shè)計(jì)等,并應(yīng)用 GRIP 開發(fā)語言編寫漸開線齒輪的程序 ;其次 研究了 UG 二次開發(fā)工具 UG/Open API 應(yīng)用程序 框架的創(chuàng)建 及其 程序代碼的添加 。 參數(shù)化設(shè)計(jì)改變了傳統(tǒng)的產(chǎn)品設(shè)計(jì)方法和過程 , 使原有的二維工程圖設(shè)計(jì)的工作量大部分由軟件自動(dòng)控制完成 , 把設(shè)計(jì)重點(diǎn)放到結(jié)構(gòu)的優(yōu)化和創(chuàng)新上 , 大大提高了產(chǎn)品設(shè)計(jì)的效率 , 便于實(shí)現(xiàn)產(chǎn)品的系列化 , 有利于產(chǎn)品的更新?lián)Q代。用大型的三維軟件實(shí)現(xiàn)齒輪的參數(shù)化造型已成為設(shè)計(jì)者的迫切需求 關(guān)鍵詞 :齒輪 ; 參數(shù)化 ; 二次開發(fā) ; Unigraphics 基于 UG 齒輪 的 三維 參數(shù)化、可視化設(shè)計(jì) II Based on the UG gear method of 3D parametric and visual design Abstract Involute gear is a mon part of mechanical drives. It is difficult to conduct parametric design due to the plicacy of tooth profile. My paper mainly studies 3D parametric model system of involute gear by the UG/Open API、 Grip and VC++ based on Unigraphics secondary development tool. First of all, It is available to carry out the writing of the mnx microsoft foxpro , the design of dialog box and so on through the development tools carried by UG itself on the basis of the study on Unigraphics and UG/Open API. Besides, the development of language and the programing of involute gear are conducted by the application of GRIP which leads in the idea of parameteric model of involute gear. Secondly, Studied Unigraphics secondary development tool which the UG/Open API for adding application framework and program code . Parametric design has changed the traditional design methods and procedures for products and make the most workload of twodimensional engineering drawing acplished by automatic control. The design focusing on the optimization and creativity of structure largely improve the efficency of design, which is good for the achievement of serialization and renewal of products. Nowadays, the designers are in crying need of achieving parameteric model of gear with large 3D software. Keywords: Gear。 Parametric 。 Development。 Unigraphics 安徽工程大學(xué)機(jī)電學(xué)院 畢業(yè)設(shè)計(jì)(論文) III 目 錄 第 1 章 緒 論 .......................................................................................................................... 1 發(fā)展趨勢(shì) ...................................................................................................................... 1 主要內(nèi)容及意義 .......................................................................................................... 2 第 2 章 Unigraphics 與 VC++ 軟件的簡(jiǎn)介 ..................................................................... 3 Unigraphics 簡(jiǎn)介與應(yīng)用 ............................................................................................ 3 UG 功能 ..................................................................................................................... 4 UG 二次開發(fā)相關(guān)工具概述 ...................................................................................... 5 UG/OPEN GRIP .................................................................................................. 5 UG/OPEN API .................................................................................................. 5 UG/OPEN Menu Script ....................................................................................... 6 UG/OPEN UI Styler ............................................................................................ 6 User Tools 工具 ................................................................................................... 7 VC++ 的簡(jiǎn)介 ........................................................................................................... 7 第 3 章 齒輪的設(shè)計(jì) ................................................................................................................ 9 齒輪簡(jiǎn)介 ...................................................................................................................... 9 漸開線齒輪的幾何要素 .............................................................................................. 9 漸開線齒輪輪廓 .............................................................................................. 9 漸開線齒輪的主要參數(shù) .................................................................................. 10 圓柱齒輪的設(shè)計(jì) ........................................................................................................ 12 主要參數(shù)的選擇 .............................................................................................. 12 齒輪的設(shè)計(jì) .................................................................................................... 12 齒輪的加工 ......................................................................................................... 14 第 4 章 漸開線齒輪參數(shù)化設(shè)計(jì) ........................................................................................ 16 漸開線直齒輪對(duì)話框設(shè)計(jì) ...................................................................................... 16 UG 應(yīng)用開發(fā)環(huán)境設(shè)置 ..................................................................................... 16 菜單設(shè)計(jì) ...................................................................................................... 16 UIStyler 對(duì)話框設(shè)計(jì) ...................................................................................... 17 使用 Visual C++建立應(yīng)用程序框架 ....................................................................... 19 用 UG/OPEN Grip 編寫齒輪參數(shù)化設(shè)計(jì)程序 ................................................ 22 編譯、連接 ...................................................................................................... 24 漸開線直齒輪參數(shù)運(yùn)行過程 .................................................................................... 24 漸開線斜齒圓柱齒輪參數(shù)化模型的構(gòu)建 .............................................................. 26 結(jié)論與展望 .............................................................................................................................. 29 結(jié)論 ...........................................................................................