【正文】
。利用Pro/Program進(jìn)行二次開發(fā)的關(guān)鍵在于設(shè)計變量的確定,通過參數(shù)化尺寸驅(qū)動實(shí)現(xiàn)對設(shè)計結(jié)果的修改,應(yīng)用編程的方法進(jìn)行參數(shù)的輸入控制,以便達(dá)到快速設(shè)計新產(chǎn)品的目的。針對本文中直齒圓錐齒輪的二次開發(fā),只需要在程序編輯器的INPUT和END INPUT語句之間輸入以下內(nèi)容。M NUMBER 請輸入大端模數(shù);enter the number of m: Z NUMBER 請輸入齒數(shù);enter the number of z: Z_ASM NUMBER 請輸入配合齒數(shù);enter the number of z_asm: B NUMBER 請輸入齒長;enter the number of b: X NUMBER 請輸入變位系數(shù);enter the number of x: CX NUMBER 請輸入徑向間隙系數(shù);enter the number of cx: HAX NUMBER 請輸入齒高系數(shù);enter the number of hax: ALPHA NUMBER 請輸入壓力角;enter the number of alpha: 確認(rèn)修改并保存退出,關(guān)閉文字編輯器,確認(rèn)信息欄列出現(xiàn)的提示信息:Do you want to incorporate your changes into the model?,系統(tǒng)會出現(xiàn)“GET INPUT”菜單,點(diǎn)擊“Enter”,就會出現(xiàn)“INPUT SEL”菜單,系統(tǒng)就會提示輸入設(shè)計變量具體數(shù)值,確定后模型將會自動重建。五、結(jié)論P(yáng)ro/ENGINEER軟件是一個功能強(qiáng)大的參數(shù)化設(shè)計工具,采用本文的方法可以精確地生成參數(shù)化控制的直齒圓錐齒輪模型及其模型庫。通過使用Pro/ENGINEER關(guān)聯(lián)性功能、族表以及Program二次開發(fā)工具,可以方便地實(shí)現(xiàn)直齒圓錐齒輪的參數(shù)化設(shè)計和自動特征建模,及其參數(shù)化模型庫的建立,這不僅提高了設(shè)計效率和質(zhì)量,也為直齒圓錐齒輪進(jìn)一步開發(fā)有限元分析、運(yùn)動仿真、數(shù)控加工等其他功能模塊奠定了基礎(chǔ)。