斜管沉淀池參數化繪圖系統(tǒng)的設計與研究
本文選題:AutoCAD + VBA ; 參考:《沈陽建筑大學》2014年碩士論文
【摘要】:隨著經濟的飛速發(fā)展,水質處理已成為了城市關注的焦點,所以市政工程設計大量的涌現,對水廠斜管沉淀池的設計質量、設計效率要求越來越高。而現階段的設計人員還處在人工計算,利用CAD軟件人工繪圖的階段。所以對AutoCAD進行二次開發(fā),將參數化繪圖的方法應用在給水排水設計領域是未來的發(fā)展趨勢。利用CAD軟件進行設計繪圖已經成為給水排水設計人員用于圖紙設計的核心組成部分。面對設計人員的需求,現有的設計軟件存在以下幾點不足:(1)采用傳統(tǒng)的方法設計水廠斜管沉淀池時,設計人員需要花費大量的時間翻閱資料與書籍、查詢圖表、設計計算,得出數據后再用CAD軟件繪圖,過程繁瑣、效率較低,已經不能滿足新形勢下市政工程發(fā)展的需要。(2)不能自動進行基本圖形的繪制。(3)沒有自動繪制剖面圖的功能。(4)沒有針對某個單一污水處理斜管沉淀池的設計系統(tǒng)。面對以上問題,本文針對給水排水設計人員的需求,對AutoCAD進行二次開發(fā)。本系統(tǒng)以AutoCAD2007為二次開發(fā)平臺,采用可視化接口和ActiveAutomation技術,利用其內嵌的VBA語言進行編程,運用參數化繪圖的方法,開發(fā)出一套基于AutoCAD的污水處理的斜管沉淀池斜管沉淀池的參數化繪圖設計系統(tǒng)。該系統(tǒng)根據我國現有的設計規(guī)范編寫了自動化計算程序,可根據參數準確計算出斜管沉淀池尺寸,并進行精確參數化繪圖。解決了以上問題,達到計算機自動進行計算與繪圖,實現計算與繪圖一體化和任意位置剖面圖自動繪制的功能。本文研究內容以及工作主要集中在以下幾個方面:(1)對VB、VBA語言的研究。(2)對可視化接口和ActiveAutomation技術的研究。(3)對斜管沉淀池系統(tǒng)的計算和繪圖的研究。(4)對實現參數化繪圖的方法的研究。(5)對實現任意位置剖面圖自動繪制方法的研究。本系統(tǒng)主要包括兩方面內容:一是對斜管沉淀池進行設計計算,二是實現斜管沉淀池的參數化繪圖。該參數化設計系統(tǒng)主要包括:斜管沉淀池參數及構造尺寸輸入接口、斜管沉淀池工藝計算程序模塊、繪圖及計算結果顯示程序模塊,以及相關的輔助模塊。通過統(tǒng)一接口,各程序模塊間可實現數據的傳輸及與用戶的交互,降低了用戶操作難度,使用戶用起來簡便快捷。本參數化繪圖系統(tǒng)采用框架式結構設計,系統(tǒng)由四大功能模塊組成:界面設計模塊、斜管沉淀池設計模塊、參數化繪圖模塊、輔助功能模塊。VBA語言作為二次開發(fā)工具,功能強大,可以完成斜管沉淀池工藝計算、調用CAD所有的繪圖命令。以工藝尺寸和結構尺寸作為變量,通過程序求出圖形中各個點的坐標值,將點坐標賦予CAD命令,可完成圖形的布置,當輸入不同的尺寸變量,便可繪出不同尺寸大小的斜管沉淀池圖形,并通過在繪圖尺寸上乘以比例變量,便可以繪制出不同比例的圖形。以用戶輸入的角度、標高、管徑等參數作為變量,根據管線定位點相對于基準點的位置求出其坐標值,就可根據用戶的輸入繪出各種管徑的管線圖形;本程序是利用VBA語言編程計算出斜管沉淀池的各部分尺寸,然后將工藝尺寸、結構尺寸、用戶輸入的相關信息傳至相關的繪圖程序,繪圖程序對其進行組織完成點坐標計算和圖形生成,這樣可以在CAD環(huán)境中對圖形進行保存、打印、輸出,并以菜單的形式進行程序發(fā)布。軟件的各個組成部分均以窗體和模塊方式來實現,可以通過菜單、命令按鈕、鼠標點擊等操作單獨調用事件或調用不同事件的組合,實現各個功能模塊的功能,完成軟件的參數化繪圖。在實際工程試應用中,用戶只需輸入參數,該系統(tǒng)即可繪制出設計圖,大大簡化了斜管沉淀池的設計過程,降低了設計難度,提高自動化程度、提高計算的精度與速度,提高了設計效率,具有操作簡單、繪圖快速等特點,該系統(tǒng)取得了良好的應用效果,是一個實用性很強的輔助設計軟件,對于給水排水設計而言是具有極為重要的現實意義的。
[Abstract]:With the rapid development of the economy, the water quality treatment has become the focus of the city's attention, so the design of the municipal engineering has springing up, the design quality and the design efficiency of the water plant inclined tube sedimentation tank are more and more demanding. At the present stage, the designers are still in the artificial calculation, using the CAD software artificial drawing stage. So the two times for the AutoCAD are carried out. Developing, applying the method of parameterized drawing in the field of water and drainage design is the future development trend. Using CAD software to design and drawing has become the core component of the design of water and drainage design personnel. In the face of the needs of designers, the existing design software has the following shortcomings: (1) the use of traditional methods When the method is designed to design the inclined pipe sedimentation tank in water works, designers need to spend a lot of time reading materials and books, querying charts, designing and calculating, drawing data with CAD software, the process is tedious, and the efficiency is low. (2) the drawing of basic graphics can not be automatically made. (3) there is no self. The function of dynamic drawing section. (4) there is no design system for a single sewage treatment inclined tube sedimentation tank. Facing the above problems, this paper develops the AutoCAD two times for the needs of water and drainage designers. This system takes AutoCAD2007 as the two development platform, and uses the visual interface and ActiveAutomation Technology to make use of its embedded system. The VBA language is programmed, and a parameterized drawing design system for inclined tube sedimentation tank of inclined tube sedimentation tank based on AutoCAD is developed by using the method of parameterized drawing. The system has written the automatic calculation program according to the existing design specifications of our country, and can accurately calculate the size of the inclined tube sedimentation tank according to the parameters and carry out the calculation. The above problems are solved, and the above problems are solved. The functions of computer automatic calculation and drawing, the integration of calculation and drawing and the automatic drawing of any position profile are realized. The contents and work of this paper are mainly focused on the following aspects: (1) the study of VB, VBA speech. (2) visual interface and ActiveAutomation Research on technology. (3) study on the calculation and drawing of inclined tube sedimentation tank system. (4) study on the method of realizing parametric drawing. (5) study on automatic drawing method of arbitrary position section drawing. This system mainly includes two aspects: one is to design and calculate the inclined tube sedimentation tank, and two to realize the parameterization of the inclined tube sedimentation tank The parameterized design system mainly includes the parameters of the inclined tube sedimentation tank and the input interface of the structure size, the calculation program module of the inclined tube sedimentation tank, the drawing and calculation result display module, and the related auxiliary modules. Through the unified interface, the data transmission and the interaction with the users can be realized between the program modules and the use is reduced. The system uses frame structure design. The system consists of four functional modules: interface design module, inclined tube sedimentation tank design module, parameterized drawing module, auxiliary functional module.VBA language as the two development tool, which has powerful function and can complete the inclined tube sedimentation tank. In the process calculation, all the drawing commands of CAD are called. The coordinate values of each point in the graphics are calculated with the process size and the structure size. The point coordinates are given to the CAD command to complete the layout of the graphics. When the different size variables are input, the graph of the inclined tube sedimentation tank with different size size can be drawn and the drawing size can be drawn. Multiplied by proportional variables, we can draw a different proportion of graphics. According to the user input angle, elevation, diameter and other parameters as variables, according to the position of the pipeline location point relative to the position of the reference point, the coordinates can be calculated, and the pipe lines of various pipe diameters can be drawn according to the input of the user. This program uses the VBA language programming to calculate the skew. The size of each part of the sedimentation tank is tube, and the related information of the process size, structure size and user input is transmitted to the relevant drawing program. The drawing program organizes the coordinates of the coordinates and generates the graphics, so that the graphics can be saved, printed and output in the CAD environment, and the program is published in the form of a menu. All the components of the system are realized by form and module. It can call events by menu, command button, mouse click and so on. The function of each function module can be realized and the parametric drawing of the software can be completed. In practical engineering application, the user only needs to input parameters and the system can be drawn. The design diagram greatly simplifies the design process of the inclined tube sedimentation tank, reduces the design difficulty, improves the degree of automation, improves the accuracy and speed of the calculation, improves the design efficiency, has the advantages of simple operation and fast drawing, and the system has achieved good application effect. It is a very practical auxiliary design software for water supply. Water design is of great practical significance.
【學位授予單位】:沈陽建筑大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TU991.2
【相似文獻】
相關期刊論文 前10條
1 謝水威;建立參數化繪圖數學模型的幾種方法[J];廣西機械;1998年03期
2 李強,夏德麟;參數化繪圖及其應用[J];工程設計CAD與智能建筑;1999年05期
3 隋玉堂,蔡湘芬;火箭發(fā)動機參數化繪圖系統(tǒng)的研究與開發(fā)[J];飛航導彈;2000年12期
4 張芳,邵長青,李廣安;參數化繪圖中的數據庫聯結技術[J];江蘇機械制造與自動化;2000年05期
5 周芝梅,李明山,王杰德;參數化繪圖中修改后圖形的參數保存[J];武漢理工大學學報(交通科學與工程版);2001年02期
6 郭穎鋒;楊兆建;;礦井水泵選型系統(tǒng)參數化繪圖方法研究[J];機械管理開發(fā);2008年05期
7 田仙云;;機械CAD軟件參數化繪圖程序編制的關鍵技術[J];機械工程與自動化;2009年03期
8 陳華;王幼苓;;菜單管理下的參數化繪圖方法[J];機械與電子;1996年01期
9 劉青,趙奇平;計算機輔助參數化繪圖的一種實現途徑[J];建材高教理論與實踐;1996年04期
10 邊學工,劉新;面向對象的參數化繪圖工具[J];機電工程;1997年03期
相關會議論文 前4條
1 李志強;;變壓器計算機輔助設計系統(tǒng)的研制[A];全國第16屆計算機科學與技術應用(CACIS)學術會議論文集[C];2004年
2 謝泳;;AutoCAD中實現參數化繪圖的幾種途徑[A];面向21世紀的圖學教育——第十二屆全國圖學教育研討會暨第三屆制圖CAI課件演示交流會論文集[C];2000年
3 楊聯合;;對ACAM4.0的一點改進[A];96'線切割技術研討會論文集[C];1996年
4 楊聯合;;對ACAM 4.0的一點改進[A];陜西省電加工學會第六屆學術年會論文集[C];1996年
相關重要報紙文章 前1條
1 陳棟棟;歐特克新版設計軟件在京問世[N];中國工業(yè)報;2009年
相關碩士學位論文 前8條
1 李濱羽;斜管沉淀池參數化繪圖系統(tǒng)的設計與研究[D];沈陽建筑大學;2014年
2 張偉杰;機械傳動零件CAD系統(tǒng)[D];太原理工大學;2003年
3 黃忠敏;CHC型少齒差減速器參數化繪圖系統(tǒng)開發(fā)[D];武漢理工大學;2012年
4 孫申;110kV油浸式電力變壓器計算機輔助設計的研究[D];山東科技大學;2011年
5 劉盼;鐵道車輛車軸參數化繪圖系統(tǒng)研究[D];西南交通大學;2014年
6 陳華榮;快開式超臨界萃取釜CAD系統(tǒng)的開發(fā)[D];南京工業(yè)大學;2005年
7 江景濤;液壓零部件參數化繪圖系統(tǒng)的研究[D];中國農業(yè)大學;2001年
8 李玉峰;基于特征與數據庫的軸CAD系統(tǒng)(SHAFTCAD)研究與開發(fā)[D];西安建筑科技大學;2003年
,本文編號:1820299
本文鏈接:http://www.sikaile.net/guanlilunwen/chengjian/1820299.html