【正文】
to the blind flange. 2. Establish the ACCESS parameters database. Use VC + + to link the database with SolidWorks, and implement data sharing, ensure that the data between the modules is Continuous and reliable. 3. Use VC + + to set up SolidWorks interface, make it is easy to implement a call of a standard part. Through the study of this topic, made some results as follows: 1. pleted the blind flange standard ponent library。 —— 尺寸參數(shù)驅(qū)動(dòng)的技術(shù)可行性。 了 二次開發(fā)可行性論證。 通過本課題的研究,得到如下的成果與結(jié)論: 。 利用 VC++進(jìn)行數(shù)據(jù)庫鏈接,實(shí)現(xiàn)了數(shù)據(jù)共享,保證各模塊之間數(shù)據(jù)一致性、可靠性。并建立 EXCEL數(shù)據(jù)表格,對各系列法蘭蓋進(jìn)行參數(shù)系列化。本文對其應(yīng)用進(jìn)行了舉例說明。在工業(yè)管道中,法蘭連接的使用十分廣泛。 SolidWorks 是一套三維機(jī)械 CAD 軟件,它的應(yīng)用編程接口,提供了程序員直接訪問 SolidWorks的能力,可以很方便地對 Solidworks進(jìn)行二次開發(fā),本文中利用 VC++作為開發(fā)工具 ,研究在 SolidWorks 環(huán)境下標(biāo)準(zhǔn)件庫的開發(fā) 。 摘 要 I 法蘭蓋 SOLIDWORKS參數(shù)化標(biāo)準(zhǔn)件庫系統(tǒng)設(shè)計(jì)開發(fā) 摘 要 機(jī)械常用零件的設(shè)計(jì)與制圖是一項(xiàng)繁瑣且重復(fù)性大的工作 ,人工設(shè)計(jì)費(fèi)時(shí)費(fèi)力容易出錯(cuò) ,花在創(chuàng)造性設(shè)計(jì)的時(shí)間大大減少 ,導(dǎo)致產(chǎn)品開發(fā)周期長 ,產(chǎn)品質(zhì)量差 ,市場競爭力弱。本文以法蘭蓋為例,旨在討論、研究如何利用三維設(shè)計(jì)軟件 Solidworks 實(shí)現(xiàn)在機(jī)械設(shè)計(jì)中快捷地設(shè)計(jì)、使用標(biāo)準(zhǔn)件,使設(shè)計(jì)人員把更多的時(shí)間投身到創(chuàng)造性的工作中去 ,以達(dá)到縮短產(chǎn)品開發(fā)周期的目的。 法蘭連接是管道施工的重要連接方式。 故對法蘭蓋的系列化設(shè)計(jì),對于管道設(shè)計(jì)來說具有十分重要的意義。 本課題開發(fā)過程有: SolidWorks對各個(gè)系列的法蘭蓋進(jìn)行建模。 ACCESS 建立參數(shù)數(shù)據(jù)庫。 VC++對 SolidWorks 進(jìn)行了界面設(shè)置,方便了標(biāo)準(zhǔn)件庫的調(diào)用。為其他標(biāo)準(zhǔn)件的推廣和普及打下了基礎(chǔ),提高了 SolidWorks 的適用程度。利用 SolidWorks API 提供的二次開發(fā)工具可以實(shí)現(xiàn)由程序動(dòng)態(tài)的、自動(dòng)的加載用戶程序,為 CAD/ CAM 系統(tǒng)的集成打下了良好的基礎(chǔ)。 關(guān)鍵詞: 法蘭蓋; SolidWorks;標(biāo)準(zhǔn)件庫; Visual C++ Abstract II Design and development of blind flange standard ponent library by SolidWorks Abstract The design and mapping of mon parts of the mechanical is a tedious and repetitive work, it is timeconsuming to manual design and easily prone to error, and the time spent on creative design significantly reduced, resulting in long product development cycles, the products of poor quality, weak petition in the market. This paper give blind flange as a example, aims to discuss on how to use 3D design software Solidworks in mechanical design to achieve quickly design, the use of standard parts, allowing designers to devote more time to participate in creative work, and to achieve shorten the product development cycle purposes. SolidWorks is a set of 3D mechanical CAD software, its application programming interface, providing direct access to the SolidWorks。 it made easily to promote and popularize other standard ponent and improved the degree of application of SolidWorks. 2. Have a feasibility study of the secondary development. The feasibility of the secondary development was realized. The user39。 SolidWorks。 Visual C + + 目 錄 I 目 錄 摘 要 .............................................. 1 Abstract ........................................... II 主要符號表 ......................................... VI 1 緒 論 ............................................ 1 前言 ........................................................ 1 CAD 技術(shù)概述 ................................................. 2 曲面造型系統(tǒng) ........................................... 2 實(shí)體造型技術(shù) ........................................... 2 參數(shù)化技術(shù) ............................................. 2 變量化技術(shù) ............................................. 2 課題背景及發(fā)展現(xiàn)狀 ........................................... 3 課題研究概述 ................................................ 4 課題研究內(nèi)容及依據(jù) ..................................... 4 課題研究安排及意義 ..................................... 5 2 SolidWorks 簡介及標(biāo)準(zhǔn)件庫開發(fā)理論基礎(chǔ) ................ 7 SolidWorks 簡介 .............................................. 7 方案設(shè)計(jì) ............................................... 8 界面風(fēng)格 ............................................... 9 零件建模功能 .......................................... 10 組件裝配功能 .......................................... 11 二次開發(fā)功能 .......................................... 11 Visual C++簡介 ............................................. 12 Visual C++開發(fā) SolidWorks 的原理 ............................ 13 Visual C++開發(fā) SolidWorks 的關(guān)鍵技術(shù) ........................ 14 三維特征建模 .......................................... 14 參數(shù)系列化 ............................................ 16 西安工業(yè)大學(xué)學(xué)士學(xué)位論文 II 數(shù)據(jù)庫技術(shù) ............................................ 16 組件對象模型 .......................................... 18 對象鏈接與嵌入 ........................................ 19 動(dòng)態(tài)鏈接庫 ............................................ 20 API函數(shù)理論 ................................................ 21 設(shè)計(jì)構(gòu)想及方案選擇 ......................................... 22 3 法蘭蓋三維建模及參數(shù)系列化 ......................... 23 法蘭蓋三維實(shí)體建模 ......................................... 23 平面鋼制法蘭蓋 ........................................ 23 凸面鋼制法蘭蓋 ........................................ 24 凸凹面鋼制法蘭蓋 ...................................... 24 榫槽面鋼制法蘭蓋 ...................................... 25 環(huán)聯(lián)接面鋼制法蘭蓋 .................................... 25 Access 及 EXCEL 數(shù)據(jù)庫系統(tǒng)建立 ............................... 26 法蘭蓋參數(shù)系列化 ........................................... 27 4 Visual C++二次開發(fā) SolidWorks...................... 29 Visual C++配置環(huán)境 ......................................... 29 用 生成 DDL 文件 ................................. 30 編制菜單欄 ................................................. 33 建立交互式對話框 ........................................... 35 數(shù)據(jù)庫鏈接 ................................................. 39 檢索界面設(shè)計(jì) ............................................... 43 程序編譯運(yùn)行 ............................................... 45 5 法蘭蓋應(yīng)用實(shí)例設(shè)計(jì) ................................ 47 法蘭蓋應(yīng)用 ................................................. 47 泵站系統(tǒng)設(shè)計(jì) ............................................... 47 泵站系統(tǒng)計(jì)算 ............................................... 48 泵站動(dòng)力系統(tǒng)計(jì)算 ...................................... 48 西安工業(yè)大學(xué)學(xué)士學(xué)位論文